Searched refs:__must_be_array (Results 1 – 7 of 7) sorted by relevance
230 (count) * sizeof(*(p)->member) + __must_be_array((p)->member), \231 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
232 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
55 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
24 #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))
553 size_t __elem_len = sizeof((msg)[0]) + __must_be_array(msg); \