Searched refs:__must_be_array (Results 1 – 10 of 10) sorted by relevance
63 #define __must_be_array(a) 0 macro66 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
36 #define __must_be_array(a) 0 macro
279 (count) * sizeof(*(p)->member) + __must_be_array((p)->member), \280 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
231 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
57 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
26 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
141 sizeof(*(p)->member) + __must_be_array((p)->member),\
103 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
596 size_t __elem_len = sizeof((msg)[0]) + __must_be_array(msg); \
106 +# define __must_be_array(a) \114 +# define __must_be_array(a) 0166 +# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))