Home
last modified time | relevance | path

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

12

/tools/testing/selftests/cgroup/
Dcgroup_util.h7 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/selftests/filesystems/incfs/
Dutils.h10 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) macro
/tools/testing/selftests/bpf/progs/
Dtest_sysctl_prog.c19 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
Dtest_sysctl_loop1.c13 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
Dtest_sysctl_loop2.c13 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
Dnetif_receive_skb.c27 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/tools/testing/selftests/bpf/
Dbpf_util.h31 # define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/tools/gpio/
Dgpio-utils.h19 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/selftests/net/
Dsocket.c34 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
Dtcp_fastopen_backup_key.c38 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/selftests/timens/
Dprocfs.c27 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
Dtimens.c25 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/selftests/core/
Dclose_range_test.c33 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
/tools/iio/
Diio_utils.h18 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) macro
/tools/usb/usbip/libsrc/
Dusbip_device_driver.c30 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/testing/selftests/vm/
Dva_128TBswitch.c12 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
Dpkey-helpers.h178 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) macro
/tools/testing/selftests/ir/
Dir_loopback.c29 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/lib/traceevent/plugins/
Dplugin_futex.c15 #define ARRAY_SIZE(_a) (sizeof(_a) / sizeof((_a)[0])) macro
Dplugin_xen.c103 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
/tools/power/cpupower/utils/
Dcpupower.c23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c21 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[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.c26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
/tools/virtio/linux/
Dkernel.h52 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro

12