/dflybsd-src/sys/vfs/hammer/ |
H A D | hammer_disk.h | 88 #define HAMMER_BUFSIZE_DOALIGN(offset) \ argument 89 (((offset) + HAMMER_BUFMASK) & ~HAMMER_BUFMASK) 90 #define HAMMER_BUFSIZE64_DOALIGN(offset) \ argument 91 (((offset) + HAMMER_BUFMASK64) & ~HAMMER_BUFMASK64) 93 #define HAMMER_XBUFSIZE_DOALIGN(offset) \ argument 94 (((offset) + HAMMER_XBUFMASK) & ~HAMMER_XBUFMASK) 95 #define HAMMER_XBUFSIZE64_DOALIGN(offset) \ argument 96 (((offset) + HAMMER_XBUFMASK64) & ~HAMMER_XBUFMASK64) 248 #define HAMMER_ZONE(offset) ((offset) & HAMMER_OFF_ZONE_MASK) argument 250 #define hammer_is_zone_raw_volume(offset) \ argument [all …]
|
/dflybsd-src/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, }, 305 [4] = { .offset = 0x1a, .value = 0x00, }, /* PLL?, ignored */ 307 [5] = { .offset = 0x1e, .value = 0x02, }, 308 [6] = { .offset = 0x1f, .value = 0x40, }, 309 [7] = { .offset = 0x20, .value = 0x00, }, 310 [8] = { .offset = 0x21, .value = 0x00, }, [all …]
|
/dflybsd-src/test/stress/fsx/ |
H A D | fsx.c | 81 static void check_buffers(unsigned offset, unsigned size); 84 static void doread(unsigned offset, unsigned size); 85 static void check_eofpage(const char *s, unsigned offset, char *p, int size); 86 static void domapread(unsigned offset, unsigned size); 88 unsigned offset, unsigned size); 89 static void dowrite(unsigned offset, unsigned size); 90 static void domapwrite(unsigned offset, unsigned size); 369 check_buffers(unsigned offset, unsigned size) in check_buffers() argument 377 if (memcmp(good_buf + offset, temp_buf, size) != 0) { in check_buffers() 379 offset, size); in check_buffers() [all …]
|
/dflybsd-src/sys/cpu/x86_64/include/ |
H A D | bus_dma.h | 74 bus_size_t offset, bus_size_t size, 79 bus_size_t offset, bus_size_t size __unused, in bus_space_subregion() argument 83 *nbshp = bsh + offset; in bus_space_subregion() 88 bus_space_kva(bus_space_tag_t tag, bus_space_handle_t handle, bus_size_t offset) in bus_space_kva() argument 92 return ((void *)(handle + offset)); in bus_space_kva() 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 140 return (inb(handle + offset)); in bus_space_read_1() [all …]
|
/dflybsd-src/crypto/libressl/crypto/cms/ |
H A D | cms_asn1.c | 66 .offset = offsetof(CMS_IssuerAndSerialNumber, issuer), 73 .offset = offsetof(CMS_IssuerAndSerialNumber, serialNumber), 93 .offset = offsetof(CMS_OtherCertificateFormat, otherCertFormat), 100 .offset = offsetof(CMS_OtherCertificateFormat, otherCert), 120 .offset = offsetof(CMS_CertificateChoices, d.certificate), 127 .offset = offsetof(CMS_CertificateChoices, d.extendedCertificate), 134 .offset = offsetof(CMS_CertificateChoices, d.v1AttrCert), 141 .offset = offsetof(CMS_CertificateChoices, d.v2AttrCert), 148 .offset = offsetof(CMS_CertificateChoices, d.other), 168 .offset = offsetof(CMS_SignerIdentifier, d.issuerAndSerialNumber), [all …]
|
/dflybsd-src/sys/dev/drm/radeon/ |
H A D | r600_hdmi.c | 177 void r600_hdmi_update_acr(struct drm_encoder *encoder, long offset, 179 void r600_hdmi_update_acr(struct drm_encoder *encoder, long offset, in r600_hdmi_update_acr() argument 188 WREG32_P(acr_ctl + offset, in r600_hdmi_update_acr() 194 WREG32_P(HDMI0_ACR_32_0 + offset, in r600_hdmi_update_acr() 197 WREG32_P(HDMI0_ACR_32_1 + offset, in r600_hdmi_update_acr() 201 WREG32_P(HDMI0_ACR_44_0 + offset, in r600_hdmi_update_acr() 204 WREG32_P(HDMI0_ACR_44_1 + offset, in r600_hdmi_update_acr() 208 WREG32_P(HDMI0_ACR_48_0 + offset, in r600_hdmi_update_acr() 211 WREG32_P(HDMI0_ACR_48_1 + offset, in r600_hdmi_update_acr() 219 void r600_set_avi_packet(struct radeon_device *rdev, u32 offset, [all …]
|
H A D | evergreen_hdmi.c | 70 void evergreen_hdmi_update_acr(struct drm_encoder *encoder, long offset, 72 void evergreen_hdmi_update_acr(struct drm_encoder *encoder, long offset, in evergreen_hdmi_update_acr() argument 85 WREG32(HDMI_ACR_PACKET_CONTROL + offset, in evergreen_hdmi_update_acr() 88 WREG32(HDMI_ACR_PACKET_CONTROL + offset, in evergreen_hdmi_update_acr() 92 WREG32(HDMI_ACR_32_0 + offset, HDMI_ACR_CTS_32(acr->cts_32khz)); in evergreen_hdmi_update_acr() 93 WREG32(HDMI_ACR_32_1 + offset, acr->n_32khz); in evergreen_hdmi_update_acr() 95 WREG32(HDMI_ACR_44_0 + offset, HDMI_ACR_CTS_44(acr->cts_44_1khz)); in evergreen_hdmi_update_acr() 96 WREG32(HDMI_ACR_44_1 + offset, acr->n_44_1khz); in evergreen_hdmi_update_acr() 98 WREG32(HDMI_ACR_48_0 + offset, HDMI_ACR_CTS_48(acr->cts_48khz)); in evergreen_hdmi_update_acr() 99 WREG32(HDMI_ACR_48_1 + offset, acr->n_48khz); in evergreen_hdmi_update_acr() [all …]
|
/dflybsd-src/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() 211 info->offset = mmDC_GPIO_DDCVGA_A; in id_to_offset() 214 info->offset = mmDC_GPIO_I2CPAD_A; in id_to_offset() [all …]
|
/dflybsd-src/contrib/tcpdump/ |
H A D | print-lmp.c | 361 int total_subobj_len, int offset) in lmp_print_data_link_subobjs() argument 372 subobj_type = GET_U_1(obj_tptr + offset); in lmp_print_data_link_subobjs() 373 subobj_len = GET_U_1(obj_tptr + offset + 1); in lmp_print_data_link_subobjs() 397 GET_U_1(obj_tptr + offset + 2)), in lmp_print_data_link_subobjs() 398 GET_U_1(obj_tptr + offset + 2)); in lmp_print_data_link_subobjs() 402 GET_U_1(obj_tptr + offset + 3)), in lmp_print_data_link_subobjs() 403 GET_U_1(obj_tptr + offset + 3)); in lmp_print_data_link_subobjs() 404 bw.i = GET_BE_U_4(obj_tptr + offset + 4); in lmp_print_data_link_subobjs() 407 bw.i = GET_BE_U_4(obj_tptr + offset + 8); in lmp_print_data_link_subobjs() 413 GET_BE_U_4(obj_tptr + offset + 4)); in lmp_print_data_link_subobjs() [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() 303 msti = GET_BE_U_2(ptr + offset + MST_BPDU_MSTI_ROOT_PRIO_OFFSET); in stp_print_mstp_bpdu() 308 bittok2str(stp_bpdu_flag_values, "none", GET_U_1(ptr + offset)), in stp_print_mstp_bpdu() 310 RSTP_EXTRACT_PORT_ROLE(GET_U_1(ptr + offset)))); in stp_print_mstp_bpdu() 312 stp_print_bridge_id(ndo, ptr + offset + in stp_print_mstp_bpdu() 314 GET_BE_U_4(ptr + offset + MST_BPDU_MSTI_ROOT_PATH_COST_OFFSET)); in stp_print_mstp_bpdu() 316 GET_U_1(ptr + offset + MST_BPDU_MSTI_BRIDGE_PRIO_OFFSET) >> 4, in stp_print_mstp_bpdu() 317 GET_U_1(ptr + offset + MST_BPDU_MSTI_PORT_PRIO_OFFSET) >> 4, in stp_print_mstp_bpdu() 318 GET_U_1(ptr + offset + MST_BPDU_MSTI_REMAIN_HOPS_OFFSET)); in stp_print_mstp_bpdu() [all …]
|
/dflybsd-src/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() 240 info->offset = mmDC_GPIO_DDCVGA_A; in id_to_offset() 243 info->offset = mmDC_GPIO_I2CPAD_A; in id_to_offset() [all …]
|
/dflybsd-src/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() 117 offset += strlen(imgp->args->fname) + 1; /* add fname */ in exec_shell_imgact() 120 if (offset > imgp->args->space + length) in exec_shell_imgact() 123 bcopy(imgp->args->begin_argv + length, imgp->args->begin_argv + offset, in exec_shell_imgact() 126 offset -= length; /* calculate actual adjustment */ in exec_shell_imgact() [all …]
|
/dflybsd-src/contrib/libpcap/ |
H A D | pcap-common.c | 1449 bpf_u_int32 offset = 0; in swap_linux_usb_header() local 1461 offset += 8; /* skip past id */ in swap_linux_usb_header() 1462 if (hdr->caplen < offset) in swap_linux_usb_header() 1466 offset += 4; /* skip past various 1-byte fields */ in swap_linux_usb_header() 1468 offset += 2; /* skip past bus_id */ in swap_linux_usb_header() 1469 if (hdr->caplen < offset) in swap_linux_usb_header() 1473 offset += 2; /* skip past various 1-byte fields */ in swap_linux_usb_header() 1475 offset += 8; /* skip past ts_sec */ in swap_linux_usb_header() 1476 if (hdr->caplen < offset) in swap_linux_usb_header() 1480 offset += 4; /* skip past ts_usec */ in swap_linux_usb_header() [all …]
|
/dflybsd-src/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() 233 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 236 info->offset = REG(DC_GPIO_I2CPAD_A); in id_to_offset() [all …]
|
/dflybsd-src/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() 233 info->offset = REG(DC_GPIO_DDCVGA_A); in id_to_offset() 236 info->offset = REG(DC_GPIO_I2CPAD_A); in id_to_offset() [all …]
|
/dflybsd-src/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;
|
/dflybsd-src/sbin/hammer/ |
H A D | cmd_strip.c | 37 static int hammer_test_offset(const char *msg, hammer_off_t offset); 38 static void hammer_strip_bigblock(int zone, hammer_off_t offset); 54 hammer_off_t offset; in hammer_cmd_strip() local 87 offset = phys_offset + block_offset; in hammer_cmd_strip() 99 hammer_strip_bigblock(layer2->zone, offset); in hammer_cmd_strip() 128 hammer_test_offset(const char *msg, hammer_off_t offset) in hammer_test_offset() argument 130 if (get_volume(HAMMER_VOL_DECODE(offset)) == NULL) { in hammer_test_offset() 131 printf("Invalid volume# %d\n", HAMMER_VOL_DECODE(offset)); in hammer_test_offset() 134 if (!hammer_is_zone_raw_buffer(offset)) { in hammer_test_offset() 135 printf("Invalid %s offset 0x%jx\n", msg, offset); in hammer_test_offset() [all …]
|
/dflybsd-src/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); 73 s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data); 74 s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data); 76 s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data); 77 s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data); 78 s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data); 81 s32 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data); 82 s32 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data); 83 s32 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data); [all …]
|
/dflybsd-src/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
|
/dflybsd-src/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() 127 while (f != NULL && offset >= f->fr_fix) in get_cie_info() 129 offset -= f->fr_fix; in get_cie_info() 133 || f->fr_fix - offset < 4 in get_cie_info() 134 || f->fr_literal[offset] != CIE_id in get_cie_info() 135 || f->fr_literal[offset + 1] != CIE_id in get_cie_info() 136 || f->fr_literal[offset + 2] != CIE_id in get_cie_info() 137 || f->fr_literal[offset + 3] != CIE_id) in get_cie_info() 142 offset += 4; in get_cie_info() [all …]
|
/dflybsd-src/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() 128 while (f != NULL && offset >= f->fr_fix) in get_cie_info() 130 offset -= f->fr_fix; in get_cie_info() 134 || f->fr_fix - offset < 4 in get_cie_info() 135 || f->fr_literal[offset] != CIE_id in get_cie_info() 136 || f->fr_literal[offset + 1] != CIE_id in get_cie_info() 137 || f->fr_literal[offset + 2] != CIE_id in get_cie_info() 138 || f->fr_literal[offset + 3] != CIE_id) in get_cie_info() 143 offset += 4; in get_cie_info() [all …]
|
/dflybsd-src/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 196 u_int32_t istatus = ATA_INL(ctlr->r_res2, ATA_AHCI_P_IS + offset); in ata_ahci_status() 197 u_int32_t cstatus = ATA_INL(ctlr->r_res2, ATA_AHCI_P_CI + offset); in ata_ahci_status() 200 ATA_OUTL(ctlr->r_res2, ATA_AHCI_P_IS + offset, istatus); in ata_ahci_status() 210 u_int32_t cmd = ATA_INL(ctlr->r_res2, ATA_AHCI_P_CMD + offset); in ata_ahci_status() [all …]
|
/dflybsd-src/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() 62 offset + length > archive_entry_size(entry)) 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 [all …]
|
/dflybsd-src/contrib/gcc-8.0/gcc/ |
H A D | ipa-polymorphic-call.c | 132 HOST_WIDE_INT cur_offset = offset; in restrict_to_inner_class() 156 && tree_to_shwi (TYPE_SIZE (outer_type)) <= offset) in restrict_to_inner_class() 180 if (!type || offset < 0) in restrict_to_inner_class() 320 offset = cur_offset; in restrict_to_inner_class() 362 offset = cur_offset; in restrict_to_inner_class() 380 && !offset in restrict_to_inner_class() 457 contains_type_p (tree outer_type, HOST_WIDE_INT offset, in contains_type_p() argument 465 if (offset < 0) in contains_type_p() 474 context.offset = offset; in contains_type_p() 623 if (outer_type || offset) in dump() [all …]
|
/dflybsd-src/contrib/gdb-7/gdb/ |
H A D | prologue-value.c | 243 pv_t offset = pv_subtract (addr, array_addr); in pv_is_array_ref() local 245 if (offset.kind == pvk_constant) in pv_is_array_ref() 253 if (offset.k <= -size in pv_is_array_ref() 254 && offset.k >= array_len * elt_size) in pv_is_array_ref() 256 else if (offset.k % elt_size != 0 in pv_is_array_ref() 261 *i = offset.k / elt_size; in pv_is_array_ref() 290 CORE_ADDR offset; member 405 find_entry (struct pv_area *area, CORE_ADDR offset) in find_entry() argument 421 while (((e->next->offset - offset) & area->addr_mask) in find_entry() 422 < ((e->offset - offset) & area->addr_mask)) in find_entry() [all …]
|