On Wed, 14 Feb 2018, Matthew Wilcox wrote:

> +#define kvzalloc_struct(p, member, n, gfp)                           \
> +     (typeof(p))kvzalloc_ab_c(n,                                     \
> +             sizeof(*(p)->member) + __must_be_array((p)->member),    \
> +             offsetof(typeof(*(p)), member), gfp)
> +

Uppercase like the similar KMEM_CACHE related macros in
include/linux/slab.h?>


Reply via email to