Searched refs:FAM (Results 1 – 2 of 2) sorted by relevance
| /linux/include/linux/ |
| H A D | overflow.h | 552 * @FAM: Instance of flexible array member within a given struct. 556 #define typeof_flex_counter(FAM) \ argument 557 typeof(_Generic(__flex_counter(FAM), \ 559 default: *__flex_counter(FAM))) 565 * @TYPE: Type of the struct that contains the @FAM. 566 * @FAM: Member name of the FAM within @TYPE. 567 * @COUNT: Value to check against the __counted_by annotated @FAM's counter. 569 * Returns: true if @COUNT can be represented in the @FAM's counter. When 570 * @FAM i 572 overflows_flex_counter_type(TYPE,FAM,COUNT) global() argument 584 __set_flex_counter(FAM,COUNT) global() argument [all...] |
| H A D | slab.h | 1106 #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 …]
|