Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Doverflow.h230 (count) * sizeof(*(p)->member) + __must_be_array((p)->member), \
231 size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
Dcompiler.h232 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
Dkernel.h55 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
/linux-6.1.9/tools/include/linux/
Dcompiler-gcc.h24 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) macro
Doverflow.h141 sizeof(*(p)->member) + __must_be_array((p)->member),\
Dkernel.h102 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
/linux-6.1.9/drivers/net/can/usb/etas_es58x/
Des58x_core.h553 size_t __elem_len = sizeof((msg)[0]) + __must_be_array(msg); \