Home
last modified time | relevance | path

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

/linux/include/linux/usb/
A 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/include/linux/
A Dslab.h164 #define KMEM_CACHE(__struct, __flags) \ argument
165 kmem_cache_create(#__struct, sizeof(struct __struct), \
166 __alignof__(struct __struct), (__flags), NULL)
172 #define KMEM_CACHE_USERCOPY(__struct, __flags, __field) \ argument
173 kmem_cache_create_usercopy(#__struct, \
174 sizeof(struct __struct), \
175 __alignof__(struct __struct), (__flags), \
176 offsetof(struct __struct, __field), \
177 sizeof_field(struct __struct, __field), NULL)
/linux/arch/x86/kernel/fpu/
A Dxstate.c530 #define XCHECK_SZ(sz, nr, nr_macro, __struct) do { \ argument
532 WARN_ONCE(sz != sizeof(__struct), \
534 __stringify(nr_macro), sizeof(__struct), sz)) { \
/linux/mm/
A Dksm.c300 #define KSM_KMEM_CACHE(__struct, __flags) kmem_cache_create("ksm_"#__struct,\ argument
301 sizeof(struct __struct), __alignof__(struct __struct),\

Completed in 13 milliseconds