/dragonfly/sys/vfs/hammer/ |
H A D | hammer_disk.h | 248 #define HAMMER_ZONE(offset) ((offset) & HAMMER_OFF_ZONE_MASK) argument 254 #define hammer_is_zone_undo(offset) \ argument 258 #define hammer_is_zone_btree(offset) \ argument 260 #define hammer_is_zone_meta(offset) \ argument 268 #define hammer_is_zone_data(offset) \ argument 269 (hammer_is_zone_large_data(offset) || hammer_is_zone_small_data(offset)) 304 HAMMER_OFF_SHORT_ENCODE(offset)) 309 #define HAMMER_ENCODE_UNDO(offset) \ argument 573 #define HAMMER_UNDO_DOALIGN(offset) \ argument 935 (((offset) + 15) & ~15) [all …]
|
/dragonfly/sys/dev/drm/i915/ |
H A D | dvo_ns2501.c | 194 uint8_t offset; member 300 [0] = { .offset = 0x0a, .value = 0x81, }, 302 [1] = { .offset = 0x12, .value = 0x02, }, 303 [2] = { .offset = 0x18, .value = 0x07, }, 304 [3] = { .offset = 0x19, .value = 0x00, }, 307 [5] = { .offset = 0x1e, .value = 0x02, }, 308 [6] = { .offset = 0x1f, .value = 0x40, }, 309 [7] = { .offset = 0x20, .value = 0x00, }, 310 [8] = { .offset = 0x21, .value = 0x00, }, 311 [9] = { .offset = 0x22, .value = 0x00, }, [all …]
|
/dragonfly/test/stress/fsx/ |
H A D | fsx.c | 394 offset++; in check_buffers() 454 offset -= offset % readbdy; in doread() 480 offset, offset + size - 1, size); in doread() 534 offset -= offset % readbdy; in domapread() 560 offset, offset + size - 1, size); in domapread() 594 gbuf[offset] += obuf[offset]; in gendata() 595 offset++; in gendata() 606 offset -= offset % writebdy; in dowrite() 637 offset, offset + size - 1, size); in dowrite() 663 offset -= offset % writebdy; in domapwrite() [all …]
|
/dragonfly/sys/cpu/x86_64/include/ |
H A D | bus_dma.h | 83 *nbshp = bsh + offset; in bus_space_subregion() 124 bus_size_t offset); 128 bus_size_t offset); 132 bus_size_t offset); 136 bus_size_t offset) in bus_space_read_1() argument 146 bus_size_t offset) in bus_space_read_2() argument 156 bus_size_t offset) in bus_space_read_4() argument 167 bus_size_t offset) in bus_space_read_8() argument 626 bus_size_t offset, 630 bus_size_t offset, [all …]
|
/dragonfly/crypto/libressl/crypto/cms/ |
H A D | cms_asn1.c | 243 .offset = offsetof(CMS_SignerInfo, version), 250 .offset = offsetof(CMS_SignerInfo, sid), 278 .offset = offsetof(CMS_SignerInfo, signature), 359 .offset = offsetof(CMS_SignedData, version), 387 .offset = offsetof(CMS_SignedData, crls), 421 .offset = offsetof(CMS_OriginatorInfo, crls), 790 .offset = offsetof(CMS_KEKIdentifier, date), 1383 .offset = 0, 1409 .offset = 0, 1432 .offset = 0, [all …]
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | r600_hdmi.c | 188 WREG32_P(acr_ctl + offset, in r600_hdmi_update_acr() 194 WREG32_P(HDMI0_ACR_32_0 + offset, in r600_hdmi_update_acr() 226 WREG32(HDMI0_AVI_INFO0 + offset, in r600_set_avi_packet() 228 WREG32(HDMI0_AVI_INFO1 + offset, in r600_set_avi_packet() 230 WREG32(HDMI0_AVI_INFO2 + offset, in r600_set_avi_packet() 232 WREG32(HDMI0_AVI_INFO3 + offset, in r600_set_avi_packet() 254 uint32_t offset = dig->afmt->offset; in r600_hdmi_update_audio_infoframe() local 272 uint32_t offset = dig->afmt->offset; in r600_hdmi_is_audio_buffer_filled() local 305 uint32_t offset = dig->afmt->offset; in r600_hdmi_audio_workaround() local 429 uint32_t offset; in r600_hdmi_update_audio_settings() local [all …]
|
H A D | evergreen_hdmi.c | 85 WREG32(HDMI_ACR_PACKET_CONTROL + offset, in evergreen_hdmi_update_acr() 88 WREG32(HDMI_ACR_PACKET_CONTROL + offset, in evergreen_hdmi_update_acr() 228 WREG32(AFMT_AVI_INFO0 + offset, in evergreen_set_avi_packet() 230 WREG32(AFMT_AVI_INFO1 + offset, in evergreen_set_avi_packet() 232 WREG32(AFMT_AVI_INFO2 + offset, in evergreen_set_avi_packet() 234 WREG32(AFMT_AVI_INFO3 + offset, in evergreen_set_avi_packet() 345 val = RREG32(HDMI_CONTROL + offset); in dce4_hdmi_set_color_depth() 372 WREG32(HDMI_CONTROL + offset, val); in dce4_hdmi_set_color_depth() 384 WREG32(AFMT_60958_0 + offset, in dce4_set_audio_packet() 387 WREG32(AFMT_60958_1 + offset, in dce4_set_audio_packet() [all …]
|
/dragonfly/sys/dev/drm/amd/display/dc/gpio/dce110/ |
H A D | hw_translate_dce110.c | 40 uint32_t offset, in offset_to_id() argument 45 switch (offset) { in offset_to_id() 193 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset() 196 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset() 199 info->offset = mmDC_GPIO_DDC3_A; in id_to_offset() 202 info->offset = mmDC_GPIO_DDC4_A; in id_to_offset() 205 info->offset = mmDC_GPIO_DDC5_A; in id_to_offset() 208 info->offset = mmDC_GPIO_DDC6_A; in id_to_offset() 225 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset() 228 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset() [all …]
|
/dragonfly/contrib/tcpdump/ |
H A D | print-lmp.c | 854 offset = 0; in lmp_print() 876 offset+=8; in lmp_print() 881 offset = 0; in lmp_print() 903 offset+=20; in lmp_print() 908 offset = 0; in lmp_print() 930 offset+=8; in lmp_print() 942 offset = 0; in lmp_print() 947 offset+=4; in lmp_print() 952 offset = 0; in lmp_print() 962 offset = 0; in lmp_print() [all …]
|
H A D | print-stp.c | 243 u_int offset; in stp_print_mstp_bpdu() local 301 offset = MST_BPDU_MSTI_OFFSET; in stp_print_mstp_bpdu() 312 stp_print_bridge_id(ndo, ptr + offset + in stp_print_mstp_bpdu() 321 offset += MST_BPDU_MSTI_LENGTH; in stp_print_mstp_bpdu() 328 u_int offset) in stp_print_spb_bpdu() argument 341 ND_PRINT("\n\tv4len %u, ", GET_BE_U_2(ptr + offset)); in stp_print_spb_bpdu() 343 nd_printjnp(ndo, ptr + offset + SPB_BPDU_CONFIG_NAME_OFFSET, 32); in stp_print_spb_bpdu() 345 GET_BE_U_2(ptr + offset + SPB_BPDU_CONFIG_REV_OFFSET), in stp_print_spb_bpdu() 346 GET_BE_U_4(ptr + offset + SPB_BPDU_CONFIG_DIGEST_OFFSET), in stp_print_spb_bpdu() 355 GET_U_1(ptr + offset + SPB_BPDU_AGREEMENT_OFFSET)>>6, in stp_print_spb_bpdu() [all …]
|
/dragonfly/sys/dev/drm/amd/display/dc/gpio/dce80/ |
H A D | hw_translate_dce80.c | 64 uint32_t offset, in offset_to_id() argument 69 switch (offset) { in offset_to_id() 222 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset() 225 info->offset = mmDC_GPIO_DDC2_A; in id_to_offset() 228 info->offset = mmDC_GPIO_DDC3_A; in id_to_offset() 231 info->offset = mmDC_GPIO_DDC4_A; in id_to_offset() 234 info->offset = mmDC_GPIO_DDC5_A; in id_to_offset() 237 info->offset = mmDC_GPIO_DDC6_A; in id_to_offset() 254 info->offset = mmDC_GPIO_DDC1_A; in id_to_offset() 312 info->offset = mmDC_GPIO_HPD_A; in id_to_offset() [all …]
|
/dragonfly/sys/kern/ |
H A D | imgact_shell.c | 52 size_t length, offset; in exec_shell_imgact() local 74 offset = 0; in exec_shell_imgact() 88 ++offset; in exec_shell_imgact() 95 ++offset; in exec_shell_imgact() 99 if (offset == 0) in exec_shell_imgact() 103 KKASSERT(offset <= PAGE_SIZE); in exec_shell_imgact() 128 imgp->args->endp += offset; in exec_shell_imgact() 129 imgp->args->space -= offset; in exec_shell_imgact() 137 offset = 0; in exec_shell_imgact() 153 ++offset; in exec_shell_imgact() [all …]
|
/dragonfly/contrib/libpcap/ |
H A D | pcap-common.c | 1449 bpf_u_int32 offset = 0; in swap_linux_usb_header() local 1462 if (hdr->caplen < offset) in swap_linux_usb_header() 1469 if (hdr->caplen < offset) in swap_linux_usb_header() 1476 if (hdr->caplen < offset) in swap_linux_usb_header() 1481 if (hdr->caplen < offset) in swap_linux_usb_header() 1486 if (hdr->caplen < offset) in swap_linux_usb_header() 1491 if (hdr->caplen < offset) in swap_linux_usb_header() 1496 if (hdr->caplen < offset) in swap_linux_usb_header() 1502 if (hdr->caplen < offset) in swap_linux_usb_header() 1507 if (hdr->caplen < offset) in swap_linux_usb_header() [all …]
|
/dragonfly/sys/dev/drm/amd/display/dc/gpio/dce120/ |
H A D | hw_translate_dce120.c | 62 uint32_t offset, in offset_to_id() argument 67 switch (offset) { in offset_to_id() 215 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 218 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 221 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 224 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 227 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 230 info->offset = REG(DC_GPIO_DDC6_A); in id_to_offset() 305 info->offset = REG(DC_GPIO_HPD_A); in id_to_offset() 378 info->offset_y = info->offset + 2; in id_to_offset() [all …]
|
/dragonfly/sys/dev/drm/amd/display/dc/gpio/dcn10/ |
H A D | hw_translate_dcn10.c | 62 uint32_t offset, in offset_to_id() argument 67 switch (offset) { in offset_to_id() 215 info->offset = REG(DC_GPIO_DDC1_A); in id_to_offset() 218 info->offset = REG(DC_GPIO_DDC2_A); in id_to_offset() 221 info->offset = REG(DC_GPIO_DDC3_A); in id_to_offset() 224 info->offset = REG(DC_GPIO_DDC4_A); in id_to_offset() 227 info->offset = REG(DC_GPIO_DDC5_A); in id_to_offset() 230 info->offset = REG(DC_GPIO_DDC6_A); in id_to_offset() 305 info->offset = REG(DC_GPIO_HPD_A); in id_to_offset() 378 info->offset_y = info->offset + 2; in id_to_offset() [all …]
|
/dragonfly/contrib/ncurses/ncurses/base/ |
H A D | MKunctrl.awk | 47 offset=0 63 printf "%4d%s", offset, gap; 66 offset = offset + 3; 69 offset = offset + 3; 72 offset = offset + 3; 75 offset = offset + 3; 78 offset = offset + 4; 82 offset = offset + 2; 114 printf "%4d%s", offset, gap; 117 offset = offset + 2;
|
/dragonfly/sbin/hammer/ |
H A D | cmd_strip.c | 54 hammer_off_t offset; in hammer_cmd_strip() local 87 offset = phys_offset + block_offset; in hammer_cmd_strip() 134 if (!hammer_is_zone_raw_buffer(offset)) { in hammer_test_offset() 151 assert((offset & HAMMER_BUFMASK) == 0); in hammer_strip_bigblock() 152 offset = hammer_xlate_to_zoneX(zone, offset); in hammer_strip_bigblock() 160 offset, in hammer_strip_bigblock() 162 HAMMER_VOL_DECODE(offset), in hammer_strip_bigblock() 163 HAMMER_BLOCKMAP_LAYER1_INDEX(offset), in hammer_strip_bigblock() 164 HAMMER_BLOCKMAP_LAYER2_INDEX(offset), in hammer_strip_bigblock() 165 HAMMER_BLOCKMAP_LAYER1_OFFSET(offset), in hammer_strip_bigblock() [all …]
|
/dragonfly/sys/dev/netif/ig_hal/ |
H A D | e1000_phy.h | 39 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data); 42 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data); 91 s32 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data); 92 s32 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data); 101 s32 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data); 104 s32 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data); 153 #define BM_PHY_REG_PAGE(offset) \ argument 154 ((u16)(((offset) >> PHY_PAGE_SHIFT) & 0xFFFF)) 155 #define BM_PHY_REG_NUM(offset) \ argument 156 ((u16)(((offset) & MAX_PHY_REG_ADDRESS) |\ [all …]
|
/dragonfly/sys/dev/drm/include/drm/ |
H A D | drm_os_linux.h | 30 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset)) argument 32 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset)) argument 34 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset)) argument 36 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset)) argument 38 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset)) argument 40 #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) argument 43 #define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset)) argument 45 #define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset)) argument
|
/dragonfly/contrib/binutils-2.34/gas/ |
H A D | ehopt.c | 106 unsigned int offset; in get_cie_info() local 126 offset = 4; in get_cie_info() 142 offset += 4; in get_cie_info() 156 ++offset; in get_cie_info() 161 offset -= f->fr_fix; in get_cie_info() 167 while (offset < f->fr_fix && f->fr_literal[offset] != '\0') in get_cie_info() 174 ++offset; in get_cie_info() 179 ++offset; in get_cie_info() 201 offset += 4; in get_cie_info() 203 offset += fix->fx_size; in get_cie_info() [all …]
|
/dragonfly/contrib/binutils-2.27/gas/ |
H A D | ehopt.c | 107 int offset; in get_cie_info() local 127 offset = 4; in get_cie_info() 143 offset += 4; in get_cie_info() 157 ++offset; in get_cie_info() 162 offset -= f->fr_fix; in get_cie_info() 168 while (offset < f->fr_fix && f->fr_literal[offset] != '\0') in get_cie_info() 175 ++offset; in get_cie_info() 180 ++offset; in get_cie_info() 202 offset += 4; in get_cie_info() 204 offset += fix->fx_size; in get_cie_info() [all …]
|
/dragonfly/sys/dev/disk/nata/chipsets/ |
H A D | ata-ahci.c | 163 int offset = ch->unit << 7; in ata_ahci_allocate() local 167 ch->r_io[ATA_SSTATUS].offset = ATA_AHCI_P_SSTS + offset; in ata_ahci_allocate() 169 ch->r_io[ATA_SERROR].offset = ATA_AHCI_P_SERR + offset; in ata_ahci_allocate() 171 ch->r_io[ATA_SCONTROL].offset = ATA_AHCI_P_SCTL + offset; in ata_ahci_allocate() 173 ch->r_io[ATA_SACTIVE].offset = ATA_AHCI_P_SACT + offset; in ata_ahci_allocate() 190 int offset = ch->unit << 7; in ata_ahci_status() local 248 int offset = ch->unit << 7; in ata_ahci_begin_transaction() local 342 int offset = ch->unit << 7; in ata_ahci_end_transaction() local 373 int offset = ch->unit << 7; in ata_ahci_restart() local 426 int offset = ch->unit << 7; in ata_ahci_softreset() local [all …]
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_entry_sparse.c | 54 la_int64_t offset, la_int64_t length) in archive_entry_sparse_add_entry() argument 58 if (offset < 0 || length < 0) in archive_entry_sparse_add_entry() 61 if (offset > INT64_MAX - length || in archive_entry_sparse_add_entry() 66 if (sp->offset + sp->length > offset) in archive_entry_sparse_add_entry() 69 if (sp->offset + sp->length == offset) { in archive_entry_sparse_add_entry() 70 if (sp->offset + sp->length + length < 0) in archive_entry_sparse_add_entry() 84 sp->offset = offset; in archive_entry_sparse_add_entry() 118 if (sp->offset == 0 && in archive_entry_sparse_count() 138 la_int64_t *offset, la_int64_t *length) in archive_entry_sparse_next() argument 141 *offset = entry->sparse_p->offset; in archive_entry_sparse_next() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | ipa-polymorphic-call.c | 474 context.offset = offset; in contains_type_p() 1364 context.offset = offset; in record_known_type() 1780 && ((offset == tci.offset in get_dynamic_type() 2130 offset = ctx.offset; in combine_with() 2139 if (offset != ctx.offset in combine_with() 2200 offset = ctx.offset; in combine_with() 2251 offset = ctx.offset; in combine_with() 2277 offset = ctx.offset; in combine_with() 2367 || offset != x.offset in equal_to() 2527 offset = ctx.offset; in meet_with() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | prologue-value.c | 253 if (offset.k <= -size in pv_is_array_ref() 290 CORE_ADDR offset; member 421 while (((e->next->offset - offset) & area->addr_mask) in find_entry() 422 < ((e->offset - offset) & area->addr_mask)) in find_entry() 427 while (((e->prev->offset - offset) & area->addr_mask) in find_entry() 428 < ((e->offset - offset) & area->addr_mask)) in find_entry() 444 CORE_ADDR offset, in overlaps() argument 448 return (((entry->offset - offset) & area->addr_mask) < size in overlaps() 449 || ((offset - entry->offset) & area->addr_mask) < entry->size); in overlaps() 497 e->offset = offset; in pv_area_store() [all …]
|