Home
last modified time | relevance | path

Searched refs:__must_be_array (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/include/linux/
H A Dcompiler-gcc.h63 #define __must_be_array(a) 0 macro
66 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
H A Dcompiler-intel.h36 #define __must_be_array(a) 0 macro
/openbmc/linux/include/linux/
H A Doverflow.h279 (count) * sizeof(*(p)->member) + __must_be_array((p)->member), \
280 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
H A Dcompiler.h231 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
H A Dkernel.h57 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
/openbmc/linux/tools/include/linux/
H A Dcompiler-gcc.h26 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
H A Doverflow.h141 sizeof(*(p)->member) + __must_be_array((p)->member),\
H A Dkernel.h103 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
/openbmc/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h596 size_t __elem_len = sizeof((msg)[0]) + __must_be_array(msg); \
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0001-localedef-Add-hardlink-resolver-from-util-linux.patch106 +# define __must_be_array(a) \
114 +# define __must_be_array(a) 0
166 +# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))