Home
last modified time | relevance | path

Searched refs:FAM (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Doverflow.h556 #define typeof_flex_counter(FAM) \ argument
557 typeof(_Generic(__flex_counter(FAM), \
559 default: *__flex_counter(FAM)))
572 #define overflows_flex_counter_type(TYPE, FAM, COUNT) \ argument
573 (overflows_type(COUNT, typeof_flex_counter(((TYPE *)NULL)->FAM)))
584 #define __set_flex_counter(FAM, COUNT) \ argument
586 *_Generic(__flex_counter(FAM), \
588 default: __flex_counter(FAM)) = (COUNT); \
H A Dslab.h1106 #define __alloc_flex(KMALLOC, GFP, TYPE, FAM, COUNT) \ argument
1109 const size_t __obj_size = struct_size_t(TYPE, FAM, __count); \
1112 __set_flex_counter(__obj_ptr->FAM, __count); \
1151 #define kmalloc_flex(VAR_OR_TYPE, FAM, COUNT, ...) \ argument
1152 __alloc_flex(kmalloc, default_gfp(__VA_ARGS__), typeof(VAR_OR_TYPE), FAM, COUNT)
1159 #define kzalloc_flex(P, FAM, COUNT, ...) \ argument
1160 __alloc_flex(kzalloc, default_gfp(__VA_ARGS__), typeof(P), FAM, COUNT)
1167 #define kvmalloc_flex(P, FAM, COUNT, ...) \ argument
1168 __alloc_flex(kvmalloc, default_gfp(__VA_ARGS__), typeof(P), FAM, COUNT)
1175 #define kvzalloc_flex(P, FAM, COUNT, ...) \ argument
[all …]