Home
last modified time | relevance | path

Searched defs:ARRAY_SIZE (Results 1 – 19 of 19) sorted by relevance

/tools/gpio/
Dgpio-utils.h19 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/radix-tree/linux/
Dkernel.h20 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c17 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/tools/testing/selftests/timers/
Drtctest.c25 # define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/tools/testing/selftests/net/
Dsocket.c34 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
Dreuseport_bpf.c28 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/iio/
Diio_utils.h21 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) macro
/tools/usb/usbip/libsrc/
Dusbip_device_driver.c42 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/power/cpupower/utils/
Dcpupower.c24 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
/tools/lib/traceevent/
Dplugin_xen.c102 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/selftests/bpf/
Dtest_align.c24 # define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
Dtest_verifier.c45 # define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/tools/include/linux/
Dkernel.h105 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) macro
/tools/spi/
Dspidev_test.c28 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/tools/virtio/linux/
Dkernel.h50 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
/tools/testing/selftests/networking/timestamping/
Drxtimestamp.c20 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/selftests/
Dkselftest_harness.h560 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/tools/vm/
Dpage-types.c212 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/tools/testing/selftests/x86/
Dprotection_keys.c54 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) macro