Home
last modified time | relevance | path

Searched defs:i (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/tools/bpf/
Dbpf_exp.y514 int i, max = curr_instr, ret = -ENOENT; in bpf_find_insns_offset() local
538 int i; in bpf_reduce_k_jumps() local
548 static uint8_t bpf_encode_jt_jf_offset(int off, int i) in bpf_encode_jt_jf_offset()
560 int i; in bpf_reduce_jt_jumps() local
572 int i; in bpf_reduce_jf_jumps() local
591 int i; in bpf_pretty_print_c() local
600 int i; in bpf_pretty_print() local
625 int i; in bpf_destroy_labels() local
/tools/testing/radix-tree/
Didr-test.c35 unsigned long i; in idr_alloc_test() local
78 int i; in idr_null_test() local
132 unsigned int i; in idr_nowait_test() local
150 unsigned long i; in idr_get_next_test() local
225 int i, id; in idr_align_test() local
333 unsigned long i; in idr_checks() local
448 unsigned long i; in ida_check_conv_user() local
470 unsigned int i; in ida_check_random() local
476 int i = rand(); in ida_check_random() local
495 unsigned long i; in ida_simple_get_remove_test() local
[all …]
Dmain.c70 int i; in big_gang_check() local
91 int i; in dynamic_height_check() local
128 int i; in check_copied_tags() local
161 int i; in copy_tag_check() local
241 int i; in single_thread_tests() local
/tools/testing/selftests/arm64/mte/
Dcheck_gcr_el1_cswitch.c85 for (int i = 0; i < MAX_THREADS; i++) in execute_test() local
89 for (int i = 0; i < MAX_THREADS; i++) in execute_test() local
92 for (int i = 0; i < MAX_THREADS; i++) in execute_test() local
106 for (int i = 0; i < NUM_ITERATIONS; i++) { in mte_gcr_fork_test() local
121 for (int i = 0; i < NUM_ITERATIONS; i++) { in mte_gcr_fork_test() local
130 for (int i = 0; i < NUM_ITERATIONS; i++) in mte_gcr_fork_test() local
/tools/testing/selftests/powerpc/ptrace/
Dptrace-vsx.h15 int i; in validate_vsx() local
33 int i; in validate_vmx() local
72 int i; in compare_vsx_vmx() local
111 int i; in load_vsx_vmx() local
Dptrace-gpr.h23 int i, found = 1; in validate_gpr() local
41 int i, found = 1; in validate_fpr() local
58 int i, found = 1; in validate_fpr_float() local
/tools/perf/util/
Dintlist.c16 int i = (int)((long)entry); in intlist__node_new() local
44 int i = (int)((long)entry); in intlist__node_cmp() local
50 int intlist__add(struct intlist *ilist, int i) in intlist__add()
61 int i, bool create) in __intlist__findnew()
80 struct int_node *intlist__find(struct intlist *ilist, int i) in intlist__find()
85 struct int_node *intlist__findnew(struct intlist *ilist, int i) in intlist__findnew()
Dthread_map.c39 int i; in thread_map__new_by_pid() local
77 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local
187 int i, j = 0; in thread_map__new_by_pid_str() local
309 int i; in thread_map__fprintf() local
342 static void comm_init(struct perf_thread_map *map, int i) in comm_init()
365 int i; in thread_map__read_comms() local
374 unsigned i; in thread_map__copy_event() local
399 int i; in thread_map__has() local
411 int i; in thread_map__remove() local
Dvalues.c49 int i; in perf_read_values_destroy() local
91 int i; in perf_read_values__findnew_thread() local
120 int i, counters_max = values->counters_max * 2; in perf_read_values__enlarge_counters() local
165 int i; in perf_read_values__findnew_counter() local
204 int i, j; in perf_read_values__display_pretty() local
253 int i, j; in perf_read_values__display_raw() local
Dstream.c19 for (int i = 0; i < nr_evsel; i++) in evsel_streams__delete() local
47 for (int i = 0; i < nr_evsel; i++) { in evlist_streams__new() local
73 int i, idx = 0; in evsel_streams__set_hot_cnode() local
133 int i = 0; in evlist__init_callchain_streams() local
173 for (int i = 0; i < els->nr_evsel; i++) { in evsel_streams__entry() local
184 for (int i = 0; i < es_pair->nr_streams; i++) { in stream__callchain_match() local
211 for (int i = 0; i < es_base->nr_streams; i++) { in evsel_streams__match() local
306 int i, idx = 0; in callchain_streams_report() local
Dcputopo.c38 u32 i = 0; in build_cpu_topology() local
136 u32 i; in cpu_topology__delete() local
178 u32 nr, i, nr_addr; in cpu_topology__new() local
300 u32 nr, i; in numa_topology__new() local
347 u32 i; in numa_topology__delete() local
/tools/power/cpupower/utils/helpers/
Dbitmask.c115 struct bitmask *bitmask_setbit(struct bitmask *bmp, unsigned int i) in bitmask_setbit()
124 unsigned int i; in bitmask_setall() local
133 unsigned int i; in bitmask_clearall() local
142 unsigned int i; in bitmask_isallclear() local
150 int bitmask_isbitset(const struct bitmask *bmp, unsigned int i) in bitmask_isbitset()
164 unsigned int i; in bitmask_last() local
173 unsigned int bitmask_next(const struct bitmask *bmp, unsigned int i) in bitmask_next()
/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c42 #define for_each_reg(i) \ argument
45 #define for_each_reg_filtered(i) \ argument
49 #define for_each_missing_reg(i) \ argument
53 #define for_each_new_reg(i) \ argument
78 int i; in find_reg() local
148 __u64 sve_off, n, i; in sve_id_to_str() local
268 int i; in core_reg_fixup() local
342 int new_regs = 0, missing_regs = 0, i; in main() local
/tools/thermal/tmon/
Dsysfs.c111 int i; in str_to_trip_type() local
151 int i = 0; in get_instance_id() local
285 int i, j, n, k = 0; in scan_tzones() local
343 int i, n, k = 0; in scan_cdevs() local
470 int i; in zone_instance_to_index() local
481 int i; in update_thermal_data() local
535 int i; in set_ctrl_state() local
565 int i; in get_ctrl_state() local
/tools/testing/selftests/cgroup/
Dtest_kmem.c32 unsigned long i; in alloc_dcache() local
100 unsigned long i; in alloc_kmem_smp() local
130 int i; in cg_run_in_subcgroups() local
246 unsigned long i; in spawn_1000_threads() local
307 int i; in test_kmem_dead_cgroups() local
354 int i; in test_percpu_basic() local
418 int i, ret = EXIT_SUCCESS; in main() local
/tools/lib/perf/
Dcpumap.c59 int i; in cpu_map__default_new() local
80 int i, j; in cpu_map__trim_new() local
176 int i, nr_cpus = 0; in perf_cpu_map__new() local
268 int i; in perf_cpu_map__idx() local
280 int i, max = -1; in perf_cpu_map__max() local
303 int i, j, k; in perf_cpu_map__merge() local
/tools/testing/selftests/net/
Dreuseport_dualstack.c36 int opt, i; in build_rcv_fd() local
105 int i, fd; in receive_once() local
131 int epfd, i, test_fd; in test() local
161 int rcv_fds[32], i; in main() local
/tools/testing/selftests/powerpc/tm/
Dtm-tmspr.c42 int i; in tfiar_tfhar() local
68 unsigned long i; in texasr() local
96 unsigned long i; in test_tmspr() local
/tools/lib/
Dvsprintf.c8 int i = vsnprintf(buf, size, fmt, args); in vscnprintf() local
18 int i; in scnprintf() local
31 int i; in scnprintf_pad() local
/tools/testing/selftests/vm/
Dhmm-tests.c225 unsigned long i; in TEST_F() local
289 unsigned long i; in TEST_F() local
348 unsigned long i; in TEST_F() local
396 unsigned long i; in TEST_F() local
462 unsigned long i; in TEST_F() local
540 unsigned long i; in TEST_F() local
617 unsigned long i; in TEST_F() local
673 unsigned long i; in TEST_F() local
732 unsigned long i; in TEST_F() local
787 unsigned long i; in TEST_F() local
[all …]
/tools/testing/selftests/powerpc/stringloops/
Dstrlen.c21 unsigned long i; in test_one() local
39 int i; in bench_test() local
54 unsigned long i; in testcase() local
/tools/testing/selftests/arm64/pauth/
Dpac.c83 for (int i = 0; i < nkeys - 1; i++) { in n_same_single_set() local
97 int i; in exec_sign_all() local
227 for (int i = 0; i < PAC_COLLISION_ATTEMPTS; i++) { in TEST() local
246 for (int i = 0; i < PAC_COLLISION_ATTEMPTS; i++) in TEST() local
276 for (int i = 0; i < PAC_COLLISION_ATTEMPTS; i++) { in TEST() local
310 for (int i = 0; i < PAC_COLLISION_ATTEMPTS; i++) { in TEST() local
/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c11 int err, map_fd, prog_fd, main_fd, i, j; in test_tailcall_1() local
149 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_2() local
227 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_3() local
305 int err, map_fd, prog_fd, main_fd, data_fd, i; in test_tailcall_4() local
393 int err, map_fd, prog_fd, main_fd, data_fd, i, key[] = { 1111, 1234, 5678 }; in test_tailcall_5() local
481 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_bpf2bpf_1() local
565 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_2() local
643 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_bpf2bpf_3() local
733 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_4() local
/tools/testing/selftests/bpf/
Dtest_maps.c129 int fd, i, j; in test_hashmap_sizes() local
153 int fd, i; in test_hashmap_percpu() local
254 int i, fd, ret; in helper_fill_hashmap() local
276 int fd, i, max_entries = 1000; in test_hashmap_walk() local
314 int i, first, second, old_flags; in test_hashmap_zero_seed() local
404 int key, next_key, fd, i; in test_arraymap_percpu() local
467 int key, fd, i; in test_arraymap_percpu_many_keys() local
530 int fd, i; in test_queuemap() local
588 int fd, i; in test_stackmap() local
654 int err, i, fd, udp, sfd[6] = {0xdeadbeef}; in test_sockmap() local
[all …]
/tools/testing/selftests/powerpc/math/
Dvsx_preempt.c50 int i; in vsx_memcmp() local
74 int i, j; in preempt_vsx_c() local
92 int i, rc, threads; in test_preempt_vsx() local

12345678910>>...28