Searched refs:offsetof (Results 251 - 275 of 680) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/dev/powermac_nvram/
H A Dpowermac_nvram.c234 NVRAM_SIZE - offsetof(struct core99_header, generation));
315 NVRAM_SIZE - offsetof(struct core99_header, generation)))
/freebsd-11-stable/sys/dev/hptiop/
H A Dhptiop.h49 #ifndef offsetof
50 #define offsetof(TYPE, MEM) ((size_t)&((TYPE*)0)->MEM) macro
/freebsd-11-stable/sys/dev/virtio/balloon/
H A Dvirtio_balloon.c462 offsetof(struct virtio_balloon_config, num_pages));
472 offsetof(struct virtio_balloon_config, actual),
/freebsd-11-stable/bin/ps/
H A Dkeyword.c58 #define KOFF(x) offsetof(struct kinfo_proc, x)
59 #define ROFF(x) offsetof(struct rusage, x)
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_attr.c168 offsetof(struct pthread_attr, pthread_attr_end_copy) -
169 offsetof(struct pthread_attr, pthread_attr_start_copy));
/freebsd-11-stable/lib/libpmc/
H A Dpmclog.c314 (P) = (E) - offsetof(struct TYPE, pl_pathname); \
320 (SZ) = ((E) - offsetof(struct pmclog_callchain, pl_pc)) \
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h373 #if defined(_KERNEL) && !defined(_KMEMUSER) && !defined(offsetof)
377 #define offsetof(s, m) ((size_t)(&(((s *)0)->m))) macro
/freebsd-11-stable/sys/compat/ndis/
H A Dpe_var.h217 (offsetof(image_nt_header, inh_optionalhdr) + \
289 offsetof(image_nt_header, inh_optionalhdr) + \
/freebsd-11-stable/libexec/tftpd/
H A Dtftp-io.c195 size = offsetof(struct tftphdr, th_stuff);
243 size = offsetof(struct tftphdr, th_stuff);
/freebsd-11-stable/usr.bin/mkimg/
H A Dgpt.c222 crc = crc32(hdr, offsetof(struct gpt_hdr, padding));
263 le32enc(&hdr->hdr_size, offsetof(struct gpt_hdr, padding));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp176 [reg] "i"(offsetof(zx_thread_state_general_regs_t, reg) - CFAOffset),
178 [x##num] "i"(offsetof(zx_thread_state_general_regs_t, r[num]) - CFAOffset),
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.cpp326 COMPILER_CHECK(offsetof(__sanitizer_ifaddrs, ifa_dstaddr) ==
327 offsetof(ifaddrs, ifa_ifu)); variable
/freebsd-11-stable/sys/kern/
H A Dvfs_export.c188 off = offsetof(struct sockaddr_in, sin_addr) << 3;
196 off = offsetof(struct sockaddr_in6, sin6_addr) << 3;
/freebsd-11-stable/sys/netgraph/
H A Dng_tag.c134 (buf - offsetof(struct ng_tag_hookin, tag_data));
145 (buf - offsetof(struct ng_tag_hookout, tag_data));
/freebsd-11-stable/contrib/netbsd-tests/net/net/
H A Dt_unix.c76 #define OF offsetof(struct sockaddr_un, sun_path)
/freebsd-11-stable/contrib/gdb/gdb/
H A Dbcache.c196 #define BSTRING_SIZE(n) (offsetof (struct bstring, d.data) + (n))
H A Di386gnu-nat.c47 #define REG_OFFSET(reg) offsetof (struct i386_thread_state, reg)
/freebsd-11-stable/contrib/jemalloc/src/
H A Dquarantine.c28 size = offsetof(quarantine_t, objs) + ((ZU(1) << lg_maxobjs) *
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/
H A Dlist.h52 (type *)((char *)_p - offsetof(type, member)); \
/freebsd-11-stable/sys/dev/cas/
H A Dif_casvar.h95 #define CAS_CDOFF(x) offsetof(struct cas_control_data, x)
/freebsd-11-stable/sys/dev/cesa/
H A Dcesa.h128 (sizeof(struct cesa_sa_hdesc) + offsetof(struct cesa_sa_data, member))
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_provider.h43 #define container_of(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field)))
/freebsd-11-stable/sys/cddl/dev/dtrace/riscv/
H A Ddtrace_isa.c152 offsetof(struct riscv_frame, f_retaddr)));
/freebsd-11-stable/sys/arm/arm/
H A Ddb_interface.c77 #define DB_OFFSET(x) (db_expr_t *)offsetof(struct trapframe, x)
/freebsd-11-stable/sys/netinet6/
H A Din6_rmx.c218 rh = rt_table_init(offsetof(struct sockaddr_in6, sin6_addr) << 3);

Completed in 214 milliseconds

<<11121314151617181920>>