Home
last modified time | relevance | path

Searched refs:MEMBER (Results 1 – 17 of 17) sorted by relevance

/linux/include/linux/
A Dstddef.h17 #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) argument
19 #define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER) argument
28 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
36 #define offsetofend(TYPE, MEMBER) \ argument
37 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
A Dfilter.h517 #define bpf_ctx_range(TYPE, MEMBER) \ argument
518 offsetof(TYPE, MEMBER) ... offsetofend(TYPE, MEMBER) - 1
522 # define bpf_ctx_range_ptr(TYPE, MEMBER) \ argument
523 offsetof(TYPE, MEMBER) ... offsetofend(TYPE, MEMBER) - 1
525 # define bpf_ctx_range_ptr(TYPE, MEMBER) \ argument
526 offsetof(TYPE, MEMBER) ... offsetof(TYPE, MEMBER) + 8 - 1
529 #define bpf_target_off(TYPE, MEMBER, SIZE, PTR_SIZE) \ argument
531 BUILD_BUG_ON(sizeof_field(TYPE, MEMBER) != (SIZE)); \
533 offsetof(TYPE, MEMBER); \
/linux/tools/testing/selftests/bpf/
A Dbpf_util.h35 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
39 #define offsetofend(TYPE, MEMBER) \ argument
40 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
/linux/drivers/gpu/drm/i915/
A Di915_params.h87 #define MEMBER(T, member, ...) T member; macro
89 I915_PARAMS_FOR_EACH(MEMBER);
91 #undef MEMBER
A Di915_params.c38 #define MEMBER(T, member, value, ...) .member = (value), macro
39 I915_PARAMS_FOR_EACH(MEMBER)
40 #undef MEMBER
/linux/arch/sparc/kernel/
A Dsysfs.c172 #define SHOW_CPUDATA_ULONG_NAME(NAME, MEMBER) \ argument
177 return sprintf(buf, "%lu\n", c->MEMBER); \
180 #define SHOW_CPUDATA_UINT_NAME(NAME, MEMBER) \ argument
185 return sprintf(buf, "%u\n", c->MEMBER); \
/linux/tools/usb/usbip/libsrc/
A Dlist.h124 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/linux/scripts/kconfig/
A Dlist.h10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/linux/tools/include/linux/
A Dkernel.h22 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/linux/arch/x86/kernel/fpu/
A Dinit.c145 #define CHECK_MEMBER_AT_END_OF(TYPE, MEMBER) \ argument
146 BUILD_BUG_ON(sizeof(TYPE) != ALIGN(offsetofend(TYPE, MEMBER), \
/linux/tools/testing/selftests/bpf/progs/
A Dtest_select_reuseport_kern.c19 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
A Dtest_tcp_hdr_options.c19 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
A Dtest_cls_redirect.c31 #define offsetofend(TYPE, MEMBER) \ argument
32 (offsetof(TYPE, MEMBER) + sizeof((((TYPE *)0)->MEMBER)))
/linux/tools/lib/bpf/
A Dbpf_helpers.h68 #define offsetof(TYPE, MEMBER) ((unsigned long)&((TYPE *)0)->MEMBER) argument
/linux/drivers/gpu/drm/radeon/
A Dmkregtable.c20 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/linux/samples/bpf/
A Dtest_lru_dist.c26 # define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER) argument
/linux/Documentation/RCU/
A Drcu_dereference.rst367 WHICH MEMBER OF THE rcu_dereference() FAMILY SHOULD YOU USE?

Completed in 33 milliseconds