Searched refs:__struct (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/include/linux/usb/ |
D | gadget_configfs.h | 10 #define GS_STRINGS_W(__struct, __name) \ argument 11 static ssize_t __struct##_##__name##_store(struct config_item *item, \ 14 struct __struct *gs = to_##__struct(item); \ 23 #define GS_STRINGS_R(__struct, __name) \ argument 24 static ssize_t __struct##_##__name##_show(struct config_item *item, char *page) \ 26 struct __struct *gs = to_##__struct(item); \
|
/Linux-v5.4/include/linux/ |
D | slab.h | 169 #define KMEM_CACHE(__struct, __flags) \ argument 170 kmem_cache_create(#__struct, sizeof(struct __struct), \ 171 __alignof__(struct __struct), (__flags), NULL) 177 #define KMEM_CACHE_USERCOPY(__struct, __flags, __field) \ argument 178 kmem_cache_create_usercopy(#__struct, \ 179 sizeof(struct __struct), \ 180 __alignof__(struct __struct), (__flags), \ 181 offsetof(struct __struct, __field), \ 182 sizeof_field(struct __struct, __field), NULL)
|
/Linux-v5.4/arch/x86/kernel/fpu/ |
D | xstate.c | 524 #define XCHECK_SZ(sz, nr, nr_macro, __struct) do { \ argument 526 WARN_ONCE(sz != sizeof(__struct), \ 528 __stringify(nr_macro), sizeof(__struct), sz)) { \
|
/Linux-v5.4/mm/ |
D | ksm.c | 302 #define KSM_KMEM_CACHE(__struct, __flags) kmem_cache_create("ksm_"#__struct,\ argument 303 sizeof(struct __struct), __alignof__(struct __struct),\
|