Home
last modified time | relevance | path

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

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Doverflow.h330 static __always_inline size_t __must_check size_mul(size_t factor1, size_t factor2) in size_mul() function
391 #define array_size(a, b) size_mul(a, b)
404 #define array3_size(a, b, c) size_mul(size_mul(a, b), c)
421 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
H A Dslab.h57 kzalloc(size_mul((_n), sizeof(typeof(_p))), default_gfp(__VA_ARGS__))
173 kmalloc(size_mul((_n) * sizeof(typeof(_p))), default_gfp(__VA_ARGS__))
H A Dstring.h116 return (kmemdup(src, size_mul(count, element_size), gfp)); in kmemdup_array()
H A Ddevice.h732 return (devm_kmemdup(dev, src, size_mul(n, len), gfp)); in devm_kmemdup_array()