Searched refs:__must_be_array (Results 1 – 7 of 7) sorted by relevance
277 (count) * sizeof(*(p)->member) + __must_be_array((p)->member), \278 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),\
102 #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); \