Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/include/linux/
Dslab.h177 #define KMEM_CACHE(__struct, __flags) \ argument
178 kmem_cache_create(#__struct, sizeof(struct __struct), \
179 __alignof__(struct __struct), (__flags), NULL)
185 #define KMEM_CACHE_USERCOPY(__struct, __flags, __field) \ argument
186 kmem_cache_create_usercopy(#__struct, \
187 sizeof(struct __struct), \
188 __alignof__(struct __struct), (__flags), \
189 offsetof(struct __struct, __field), \
190 sizeof_field(struct __struct, __field), NULL)
/linux-6.1.9/arch/x86/kernel/fpu/
Dxstate.c449 #define XCHECK_SZ(sz, nr, nr_macro, __struct) do { \ argument
451 WARN_ONCE(sz != sizeof(__struct), \
453 __stringify(nr_macro), sizeof(__struct), sz)) { \
/linux-6.1.9/mm/
Dksm.c298 #define KSM_KMEM_CACHE(__struct, __flags) kmem_cache_create(#__struct,\ argument
299 sizeof(struct __struct), __alignof__(struct __struct),\