Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
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))
Dfilter.h502 #define bpf_ctx_range(TYPE, MEMBER) \ argument
503 offsetof(TYPE, MEMBER) ... offsetofend(TYPE, MEMBER) - 1
507 # define bpf_ctx_range_ptr(TYPE, MEMBER) \ argument
508 offsetof(TYPE, MEMBER) ... offsetofend(TYPE, MEMBER) - 1
510 # define bpf_ctx_range_ptr(TYPE, MEMBER) \ argument
511 offsetof(TYPE, MEMBER) ... offsetof(TYPE, MEMBER) + 8 - 1
514 #define bpf_target_off(TYPE, MEMBER, SIZE, PTR_SIZE) \ argument
516 BUILD_BUG_ON(sizeof_field(TYPE, MEMBER) != (SIZE)); \
518 offsetof(TYPE, MEMBER); \
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
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))
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_params.h85 #define MEMBER(T, member, ...) T member; macro
87 I915_PARAMS_FOR_EACH(MEMBER);
89 #undef MEMBER
Di915_params.c38 #define MEMBER(T, member, value, ...) .member = (value), macro
39 I915_PARAMS_FOR_EACH(MEMBER)
40 #undef MEMBER
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf_helpers.h46 #define offsetof(TYPE, MEMBER) ((unsigned long)&((TYPE *)0)->MEMBER) argument
/kernel/linux/linux-5.10/arch/sparc/kernel/
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); \
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
Dlist.h124 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/kernel/linux/linux-5.10/scripts/kconfig/
Dlist.h10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
Dinit.c147 #define CHECK_MEMBER_AT_END_OF(TYPE, MEMBER) \ argument
149 ALIGN(offsetofend(TYPE, MEMBER), _Alignof(TYPE)))
/kernel/linux/linux-5.10/tools/include/linux/
Dkernel.h23 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_select_reuseport_kern.c21 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
Dtest_tcp_hdr_options.c19 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
Dtest_cls_redirect.c31 #define offsetofend(TYPE, MEMBER) \ argument
32 (offsetof(TYPE, MEMBER) + sizeof((((TYPE *)0)->MEMBER)))
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dmkregtable.c20 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
/kernel/linux/linux-5.10/samples/bpf/
Dtest_lru_dist.c26 # define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER) argument
/kernel/linux/linux-5.10/Documentation/RCU/
Drcu_dereference.rst361 WHICH MEMBER OF THE rcu_dereference() FAMILY SHOULD YOU USE?