| H A D | slab.h | 1060 * @COUNT: how many @TYPE objects to allocate. 1062 * Returns: Newly allocated pointer to (first) @TYPE of @COUNT-many 1065 #define __alloc_objs(KMALLOC, GFP, TYPE, COUNT) \ 1067 const size_t __obj_size = size_mul(sizeof(TYPE), COUNT); \ 1077 * @COUNT: how many @FAM elements to allocate space for. in kmalloc_node_noprof() 1079 * Returns: Newly allocated pointer to @TYPE with @COUNT-many trailing in kmalloc_node_noprof() 1080 * @FAM elements, or NULL on failure or if @COUNT cannot be represented in kmalloc_node_noprof() 1084 #define __alloc_flex(KMALLOC, GFP, TYPE, FAM, COUNT) \ 1086 const size_t __count = (COUNT); \ 1108 * @COUNT 971 __alloc_objs(KMALLOC,GFP,TYPE,COUNT) global() argument 990 __alloc_flex(KMALLOC,GFP,TYPE,FAM,COUNT) global() argument 1020 kmalloc_objs(VAR_OR_TYPE,COUNT,...) global() argument 1035 kmalloc_flex(VAR_OR_TYPE,FAM,COUNT,...) global() argument 1041 kzalloc_objs(P,COUNT,...) global() argument 1043 kzalloc_flex(P,FAM,COUNT,...) global() argument 1049 kvmalloc_objs(P,COUNT,...) global() argument 1051 kvmalloc_flex(P,FAM,COUNT,...) global() argument 1057 kvzalloc_objs(P,COUNT,...) global() argument 1059 kvzalloc_flex(P,FAM,COUNT,...) global() argument [all...] |