/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-bootmem.c | 105 offsetof(cvmx_bootmem_desc_t, field), \ 118 offsetof(cvmx_bootmem_desc_t, field), \ 134 offsetof(cvmx_bootmem_named_block_desc_t, field), \ 149 offsetof(cvmx_bootmem_named_block_desc_t, field), \ 221 addr += offsetof(cvmx_bootmem_named_block_desc_t, name); 227 addr += offsetof(cvmx_bootmem_named_block_desc_t, name); 248 addr += offsetof(cvmx_bootmem_named_block_desc_t, name); 259 addr += offsetof(cvmx_bootmem_named_block_desc_t, name); 335 uint64_t lock_addr = (1ull << 63) | (cvmx_bootmem_desc_addr + offsetof(cvmx_bootmem_desc_t, lock)); 370 uint64_t lock_addr = (1ull << 63) | (cvmx_bootmem_desc_addr + offsetof(cvmx_bootmem_desc_ [all...] |
/freebsd-11-stable/sys/dev/ncr/ |
H A D | ncr.c | 272 #define INB(r) bus_read_1(np->reg_res, offsetof(struct ncr_reg, r)) 273 #define INW(r) bus_read_2(np->reg_res, offsetof(struct ncr_reg, r)) 274 #define INL(r) bus_read_4(np->reg_res, offsetof(struct ncr_reg, r)) 276 #define OUTB(r, val) bus_write_1(np->reg_res, offsetof(struct ncr_reg, r), val) 277 #define OUTW(r, val) bus_write_2(np->reg_res, offsetof(struct ncr_reg, r), val) 278 #define OUTL(r, val) bus_write_4(np->reg_res, offsetof(struct ncr_reg, r), val) 299 READSCRIPT_OFF(np->script, offsetof(struct script, r)) 302 WRITESCRIPT_OFF(np->script, offsetof(struct script, r), val) 951 #define CCB_PHYS(cp,lbl) (cp->p_nccb + offsetof(struct nccb, lbl)) 1129 #define NCB_SCRIPT_PHYS(np,lbl) (np->p_script + offsetof (struc [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | trim_map.c | 151 offsetof(trim_seg_t, ts_next)); 153 offsetof(zio_t, io_trim_link)); 155 sizeof (trim_seg_t), offsetof(trim_seg_t, ts_node)); 157 sizeof (trim_seg_t), offsetof(trim_seg_t, ts_node)); 159 sizeof (zio_t), offsetof(zio_t, io_trim_node)); 508 list_create(&pending_writes, sizeof (zio_t), offsetof(zio_t,
|
H A D | space_reftree.c | 71 sizeof (space_ref_t), offsetof(space_ref_t, sr_node));
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | infptrace.c | 345 #if !defined (offsetof) 346 #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) 353 (PTRACE_ARG3_TYPE) (offsetof (struct user, u_ar0)), 0) \ 343 #define offsetof macro
|
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | db_trace.c | 55 #define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x) 125 if (copyin((void *)(rsp + offsetof(struct frame, fr_fp)), 127 copyin((void *)(rsp + offsetof(struct frame, fr_pc)),
|
/freebsd-11-stable/sys/fs/nandfs/ |
H A D | nandfs_fs.h | 223 #define NANDFS_FSDATA_CRC_BYTES offsetof(struct nandfs_fsdata, f_pad) 225 #define NANDFS_SB_BYTES offsetof(struct nandfs_super_block, s_reserved) 253 #define NANDFS_DIR_NAME_OFFSET (offsetof(struct nandfs_dir_entry, name))
|
/freebsd-11-stable/contrib/elftoolchain/common/ |
H A D | _elftc.h | 40 #ifndef offsetof 41 #define offsetof(T, M) ((int) &((T*) 0) -> M) macro 180 ((char *)((head)->stqh_last) - offsetof(struct type, field))))
|
/freebsd-11-stable/contrib/gcc/config/ia64/ |
H A D | fde-glibc.c | 64 if (size < offsetof (struct dl_phdr_info, dlpi_phnum)
|
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_shim.c | 366 vchiq_static_assert(offsetof(VCHI_MSG_VECTOR_T, vec_base) == 367 offsetof(VCHIQ_ELEMENT_T, data)); variable 368 vchiq_static_assert(offsetof(VCHI_MSG_VECTOR_T, vec_len) == 369 offsetof(VCHIQ_ELEMENT_T, size)); variable
|
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb.h | 116 #define container_of(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field)))
|
/freebsd-11-stable/lib/libc/net/ |
H A D | getnameinfo.c | 94 offsetof(struct sockaddr_in6, sin6_addr), 98 offsetof(struct sockaddr_in, sin_addr), 103 offsetof(struct sockaddr_un, sun_path), 107 offsetof(struct sockaddr_dl, sdl_data),
|
/freebsd-11-stable/sys/mips/broadcom/ |
H A D | bcm_mipscore.c | 107 bus_write_4(res, offsetof(struct mipscore_regs, intmask[5]),
|
/freebsd-11-stable/sys/geom/sched/ |
H A D | gs_scheduler.h | 159 offsetof(struct g_sched_class, gsc_priv)));
|
/freebsd-11-stable/usr.sbin/rtsold/ |
H A D | rtsock.c | 100 offsetof(struct rt_msghdr, rtm_msglen) + sizeof(rtm->rtm_msglen);
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | compat-1_0.c | 418 ((offsetof(struct ibv_send_wr, f1) - offsetof(struct ibv_send_wr, f2)) \ 419 == offsetof(struct ibv_send_wr_1_0, f1) - offsetof(struct ibv_send_wr_1_0, f2)) 421 ((sizeof(struct ibv_send_wr) - offsetof(struct ibv_send_wr, f1)) == \ 422 (sizeof(struct ibv_send_wr_1_0) - offsetof(struct ibv_send_wr_1_0, f1))) 426 - offsetof(struct ibv_send_wr, sg_list)); 433 offsetof(struct ibv_send_wr, imm_data) - 434 offsetof(struct ibv_send_wr, sg_list) +
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_context.c | 47 #define UC_COPY_SIZE offsetof(ucontext_t, uc_link)
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | mandoc_xr.c | 58 offsetof(struct mandoc_xr, hashkey));
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_control.h | 28 #define CTL_HEADER_LEN (offsetof(struct ntp_control, u))
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextFreeBSD_x86_64.cpp | 62 #define DR_OFFSET(reg_index) (LLVM_EXTENSION offsetof(DBG, dr[reg_index]))
|
H A D | RegisterContextLinux_i386.cpp | 95 (LLVM_EXTENSION offsetof(GPR, orig_eax)),
|
H A D | RegisterContextWindows_i386.cpp | 37 #define GPR_OFFSET(regname) (LLVM_EXTENSION offsetof(GPR, regname))
|
/freebsd-11-stable/sys/dev/hptiop/ |
H A D | hptiop.c | 170 hba->bar0h, offsetof(struct hpt_iopmu_itl, offset), (value)) 172 hba->bar0h, offsetof(struct hpt_iopmu_itl, offset)) 175 hba->bar0h, offsetof(struct hpt_iopmv_regs, offset), value) 177 hba->bar0h, offsetof(struct hpt_iopmv_regs, offset)) 179 hba->bar2h, offsetof(struct hpt_iopmu_mv, offset), value) 181 hba->bar2h, offsetof(struct hpt_iopmu_mv, offset)) 184 hba->bar2h, offsetof(struct hpt_iopmu_mvfrey, offset), value) 186 hba->bar2h, offsetof(struct hpt_iopmu_mvfrey, offset)) 240 offsetof(struct hpt_iopmu_mv, 264 offsetof(struc [all...] |
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe_stats.c | 76 res = (offsetof(struct host_port_stats, not_used) + 4); 80 res += (offsetof(struct host_port_stats, pfc_frames_rx_lo) - 81 offsetof(struct host_port_stats, pfc_frames_tx_hi) + 4); 389 offsetof(struct emac_stats, 392 offsetof(struct emac_stats, 405 offsetof(struct emac_stats, 408 offsetof(struct emac_stats, 497 offsetof(struct nig_stats, 500 offsetof(struct nig_stats, 514 offsetof(struc [all...] |
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | aic79xx_osm.h | 97 #ifndef offsetof 98 #define offsetof(type, member) ((size_t)(&((type *)0)->member)) macro
|