Searched refs:offsetof (Results 151 - 175 of 680) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-bootmem.c105 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 Dncr.c272 #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 Dtrim_map.c151 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 Dspace_reftree.c71 sizeof (space_ref_t), offsetof(space_ref_t, sr_node));
/freebsd-11-stable/contrib/gdb/gdb/
H A Dinfptrace.c345 #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 Ddb_trace.c55 #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 Dnandfs_fs.h223 #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.h40 #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 Dfde-glibc.c64 if (size < offsetof (struct dl_phdr_info, dlpi_phnum)
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_shim.c366 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 Diw_cxgb.h116 #define container_of(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field)))
/freebsd-11-stable/lib/libc/net/
H A Dgetnameinfo.c94 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 Dbcm_mipscore.c107 bus_write_4(res, offsetof(struct mipscore_regs, intmask[5]),
/freebsd-11-stable/sys/geom/sched/
H A Dgs_scheduler.h159 offsetof(struct g_sched_class, gsc_priv)));
/freebsd-11-stable/usr.sbin/rtsold/
H A Drtsock.c100 offsetof(struct rt_msghdr, rtm_msglen) + sizeof(rtm->rtm_msglen);
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dcompat-1_0.c418 ((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 Dkern_context.c47 #define UC_COPY_SIZE offsetof(ucontext_t, uc_link)
/freebsd-11-stable/contrib/mdocml/
H A Dmandoc_xr.c58 offsetof(struct mandoc_xr, hashkey));
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_control.h28 #define CTL_HEADER_LEN (offsetof(struct ntp_control, u))
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextFreeBSD_x86_64.cpp62 #define DR_OFFSET(reg_index) (LLVM_EXTENSION offsetof(DBG, dr[reg_index]))
H A DRegisterContextLinux_i386.cpp95 (LLVM_EXTENSION offsetof(GPR, orig_eax)),
H A DRegisterContextWindows_i386.cpp37 #define GPR_OFFSET(regname) (LLVM_EXTENSION offsetof(GPR, regname))
/freebsd-11-stable/sys/dev/hptiop/
H A Dhptiop.c170 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 Dbxe_stats.c76 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 Daic79xx_osm.h97 #ifndef offsetof
98 #define offsetof(type, member) ((size_t)(&((type *)0)->member)) macro

Completed in 600 milliseconds

1234567891011>>