Home
last modified time | relevance | path

Searched refs:__struct (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/include/linux/usb/
Dgadget_configfs.h10 #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-6.6.21/include/linux/
Dslab.h208 #define KMEM_CACHE(__struct, __flags) \ argument
209 kmem_cache_create(#__struct, sizeof(struct __struct), \
210 __alignof__(struct __struct), (__flags), NULL)
216 #define KMEM_CACHE_USERCOPY(__struct, __flags, __field) \ argument
217 kmem_cache_create_usercopy(#__struct, \
218 sizeof(struct __struct), \
219 __alignof__(struct __struct), (__flags), \
220 offsetof(struct __struct, __field), \
221 sizeof_field(struct __struct, __field), NULL)
/linux-6.6.21/arch/x86/kernel/fpu/
Dxstate.c452 #define XCHECK_SZ(sz, nr, __struct) ({ \ argument
453 if (WARN_ONCE(sz != sizeof(__struct), \
455 xfeature_names[nr], sizeof(__struct), sz)) { \
/linux-6.6.21/mm/
Dksm.c308 #define KSM_KMEM_CACHE(__struct, __flags) kmem_cache_create(#__struct,\ argument
309 sizeof(struct __struct), __alignof__(struct __struct),\