Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 23 of 23) sorted by relevance

/tools/gpio/
Dgpio-utils.h17 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/tools/testing/selftests/filesystems/incfs/
Dutils.h10 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) argument
/tools/iio/
Diio_utils.h18 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) argument
/tools/testing/selftests/cgroup/
Dcgroup_util.h6 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/tools/testing/selftests/net/
Dsocket.c34 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
Dtcp_fastopen_backup_key.c38 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
Dreuseport_bpf.c28 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/tools/include/linux/
Dkernel.h107 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) argument
/tools/lib/traceevent/plugins/
Dplugin_xen.c103 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/tools/usb/usbip/libsrc/
Dusbip_device_driver.c30 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/tools/testing/selftests/ir/
Dir_loopback.c29 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/tools/testing/selftests/vm/
Dva_128TBswitch.c12 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/tools/perf/
Dperf-completion.sh168 local arr s tmp result cpu_evts
178 arr=($raw_evts)
181 for s in ${arr[@]}
/tools/bpf/bpftool/
Dbtf.c133 const struct btf_array *arr = (const void *)(t + 1); in dump_btf_type() local
136 jsonw_uint_field(w, "type_id", arr->type); in dump_btf_type()
137 jsonw_uint_field(w, "index_type_id", arr->index_type); in dump_btf_type()
138 jsonw_uint_field(w, "nr_elems", arr->nelems); in dump_btf_type()
141 arr->type, arr->index_type, arr->nelems); in dump_btf_type()
Dbtf_dumper.c55 struct btf_array *arr = (struct btf_array *)(t + 1); in btf_dumper_array() local
60 elem_size = btf__resolve_size(d->btf, arr->type); in btf_dumper_array()
65 for (i = 0; i < arr->nelems; i++) { in btf_dumper_array()
66 ret = btf_dumper_do_type(d, arr->type, 0, in btf_dumper_array()
/tools/testing/ktest/
Dconfig-bisect.pl277 my $arr = $dependency{$config};
278 if (!defined($arr)) {
282 my @deps = @{$arr};
284 foreach my $dep (@{$arr}) {
Dktest.pl802 my $arr;
805 $arr = $evals{$lvalue};
807 $arr = [];
808 $evals{$lvalue} = $arr;
811 push @{$arr}, $rvalue;
3150 my $arr = $dependency{$config};
3151 if (!defined($arr)) {
3155 my @deps = @{$arr};
3157 foreach my $dep (@{$arr}) {
/tools/perf/util/
Darm-spe.c183 static void arm_spe_print_info(__u64 *arr) in arm_spe_print_info() argument
188 fprintf(stdout, arm_spe_info_fmts[ARM_SPE_PMU_TYPE], arr[ARM_SPE_PMU_TYPE]); in arm_spe_print_info()
Dintel-bts.c837 static void intel_bts_print_info(__u64 *arr, int start, int finish) in intel_bts_print_info() argument
845 fprintf(stdout, intel_bts_info_fmts[i], arr[i]); in intel_bts_print_info()
Dintel-pt.c3049 static void intel_pt_print_info(__u64 *arr, int start, int finish) in intel_pt_print_info() argument
3060 fprintf(stdout, fmt, arr[i]); in intel_pt_print_info()
/tools/testing/selftests/networking/timestamping/
Drxtimestamp.c21 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) argument
/tools/arch/x86/tools/
Dgen-insn-attr-x86.awk115 function array_size(arr, i,c) {
117 for (i in arr)
/tools/power/pm-graph/
Dsleepgraph.py1108 arr = msg.split()
1109 for j in range(len(arr)):
1110 if re.match('^[0-9,\-\.]*$', arr[j]):
1111 arr[j] = '[0-9,\-\.]*'
1113 arr[j] = arr[j]\
1117 mstr = ' '.join(arr)