| /tools/testing/radix-tree/ |
| D | benchmark.c | 53 unsigned long size, unsigned long step) in benchmark_insert() argument 61 for (index = 0 ; index < size ; index += step) in benchmark_insert() 70 size, step, nsec); in benchmark_insert() 74 unsigned long size, unsigned long step) in benchmark_tagging() argument 82 for (index = 0 ; index < size ; index += step) in benchmark_tagging() 91 size, step, nsec); in benchmark_tagging() 95 unsigned long size, unsigned long step) in benchmark_delete() argument 103 for (index = 0 ; index < size ; index += step) in benchmark_delete() 112 size, step, nsec); in benchmark_delete() 115 static void benchmark_size(unsigned long size, unsigned long step) in benchmark_size() argument [all …]
|
| /tools/testing/selftests/bpf/progs/ |
| D | htab_mem_bench.c | 14 unsigned int step; member 32 ctx->from += ctx->step; in write_htab() 50 ctx->from += ctx->step; in del_htab() 61 update.step = nr_thread; in overwrite() 73 update.step = nr_thread; in batch_add_batch_del() 89 update.step = nr_thread / 2; in add_only() 101 update.step = nr_thread / 2; in del_only()
|
| D | bpf_iter_bpf_percpu_array_map.c | 26 __u32 step; in dump_bpf_percpu_array_map() local 34 step = 8; in dump_bpf_percpu_array_map() 37 pptr += step; in dump_bpf_percpu_array_map()
|
| D | bpf_iter_bpf_percpu_hash_map.c | 34 __u32 step; in dump_bpf_percpu_hash_map() local 44 step = 8; in dump_bpf_percpu_hash_map() 47 pptr += step; in dump_bpf_percpu_hash_map()
|
| D | verifier_arena_large.c | 80 int max_idx, int step) in alloc_pages() argument 89 return step; in alloc_pages() 94 return step + 100; in alloc_pages() 98 return step + 200; in alloc_pages()
|
| /tools/testing/selftests/bpf/map_tests/ |
| D | lpm_trie_map_batch_ops.c | 71 __u32 step, count, total, total_success; in test_lpm_trie_map_batch_ops() local 93 for (step = 1; step < max_entries; step++) { in test_lpm_trie_map_batch_ops() 103 count = step; in test_lpm_trie_map_batch_ops() 123 count = step; in test_lpm_trie_map_batch_ops() 125 if (max_entries - total < step) in test_lpm_trie_map_batch_ops()
|
| D | htab_map_batch_ops.c | 84 int err, step, value_size; in __test_map_lookup_and_delete_batch() local 141 for (step = 1; step < max_entries; step++) { in __test_map_lookup_and_delete_batch() 149 count = step; in __test_map_lookup_and_delete_batch() 184 count = step; in __test_map_lookup_and_delete_batch() 186 if (max_entries - total < step) in __test_map_lookup_and_delete_batch() 212 count = step; in __test_map_lookup_and_delete_batch()
|
| D | array_map_batch_ops.c | 76 int err, step, value_size; in __test_map_lookup_and_update_batch() local 100 for (step = 1; step < max_entries; step++) { in __test_map_lookup_and_update_batch() 110 count = step; in __test_map_lookup_and_update_batch()
|
| /tools/testing/selftests/drivers/net/hw/ |
| D | ethtool_rmon.sh | 74 local step= 79 step="$set-pkts${bucket[0]}to${bucket[1]} on $iface" 83 log_test_xfail "$if does not support the required MTU for $step" 89 check_err 1 "$step failed" 92 log_test "$step"
|
| /tools/perf/ui/ |
| D | progress.c | 23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update() 25 p->next += nr * p->step; in ui_progress__update() 34 p->next = p->step = total / 16 ?: 1; in __ui_progress__init()
|
| D | progress.h | 11 u64 curr, next, step, total; member
|
| /tools/testing/selftests/tc-testing/ |
| D | TdcResults.py | 54 self.steps.append(step) 103 for step in t.steps: 104 ftap += '\n\t\t{}'.format(step) 121 for step in t.steps: 122 xunit += '\t{}\n'.format(escape(step))
|
| /tools/perf/arch/x86/util/ |
| D | header.c | 29 int family = -1, model = -1, step = -1; in __get_cpuid() local 40 step = a & 0xf; in __get_cpuid() 50 nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); in __get_cpuid()
|
| /tools/testing/selftests/timers/ |
| D | .gitignore | 22 freq-step
|
| D | Makefile | 11 skew_consistency clocksource-switch freq-step leap-a-day \
|
| /tools/testing/selftests/alsa/ |
| D | mixer-test.c | 769 long j, step; in test_ctl_write_valid_integer() local 776 step = snd_ctl_elem_info_get_step(ctl->info); in test_ctl_write_valid_integer() 777 if (!step) in test_ctl_write_valid_integer() 778 step = 1; in test_ctl_write_valid_integer() 782 j <= snd_ctl_elem_info_get_max(ctl->info); j += step) { in test_ctl_write_valid_integer() 798 long long j, step; in test_ctl_write_valid_integer64() local 805 step = snd_ctl_elem_info_get_step64(ctl->info); in test_ctl_write_valid_integer64() 806 if (!step) in test_ctl_write_valid_integer64() 807 step = 1; in test_ctl_write_valid_integer64() 811 j <= snd_ctl_elem_info_get_max64(ctl->info); j += step) { in test_ctl_write_valid_integer64()
|
| /tools/bpf/bpftool/ |
| D | map.c | 96 unsigned int i, n, step; in do_dump_btf() local 101 step = round_up(map_info->value_size, 8); in do_dump_btf() 106 ret = btf_dumper_type(d, value_id, value + i * step); in do_dump_btf() 156 unsigned int i, n, step; in print_entry_json() local 159 step = round_up(info->value_size, 8); in print_entry_json() 172 print_hex_data_json(value + i * step, in print_entry_json() 276 unsigned int i, n, step; in print_entry_plain() local 279 step = round_up(info->value_size, 8); in print_entry_plain() 290 fprint_hex(stdout, value + i * step, in print_entry_plain() 329 unsigned int i, n, step; in fill_per_cpu_value() local [all …]
|
| /tools/testing/selftests/seccomp/ |
| D | seccomp_benchmark.c | 54 unsigned long long i, samples, step = 9973; in calibrate() local 64 for (i = 0; i < step; i++) { in calibrate() 70 samples += step; in calibrate()
|
| /tools/testing/selftests/filesystems/statmount/ |
| D | statmount_test.c | 613 const unsigned int step = 3; in test_listmount_tree() local 614 const unsigned int size = (1 << log2_num) + step + 1; in test_listmount_tree() 636 for (i = 0; i < size - step;) { in test_listmount_tree() 637 res = listmount(LSMT_ROOT, 0, i ? list2[i - 1] : 0, list2 + i, step, 0); in test_listmount_tree() 642 if (res < step) in test_listmount_tree()
|
| /tools/perf/bench/ |
| D | numa.c | 559 int step; in parse_setup_cpu_list() local 578 step = 1; in parse_setup_cpu_list() 581 step = atol(tok_step + 1); in parse_setup_cpu_list() 582 BUG_ON(step <= 0 || step >= g->p.nr_cpus); in parse_setup_cpu_list() 605 dprintf("CPUs: %d_%d-%d#%dx%d\n", bind_cpu_0, bind_len, bind_cpu_1, step, mul); in parse_setup_cpu_list() 620 for (bind_cpu = bind_cpu_0; bind_cpu <= bind_cpu_1; bind_cpu += step) { in parse_setup_cpu_list() 706 int step; in parse_setup_node_list() local 725 step = 1; in parse_setup_node_list() 728 step = atol(tok_step + 1); in parse_setup_node_list() 729 BUG_ON(step <= 0 || step >= g->p.nr_nodes); in parse_setup_node_list() [all …]
|
| /tools/perf/ui/tui/ |
| D | progress.c | 12 p->next = p->step = p->total / (SLtt_Screen_Cols - 2) ?: 1; in __tui_progress__init()
|
| /tools/power/cpupower/bench/ |
| D | README-BENCH | 111 -x, --load-step=<long int> time to be added to load time, in us 112 -y, --sleep-step=<long int> time to be added to sleep time, in us
|
| /tools/testing/selftests/kvm/aarch64/ |
| D | vgic_irq.c | 365 uint32_t intid, prio, step = KVM_PRIO_STEPS; in test_inject_preemption() local 371 for (i = 0, prio = (num - 1) * step; i < num; i++, prio -= step) { in test_inject_preemption()
|
| /tools/perf/scripts/perl/Perf-Trace-Util/ |
| D | README | 22 perl Makefile.PL # to create a Makefile for the next step
|
| /tools/perf/util/ |
| D | evlist.c | 2482 size_t step = eet->times_step; in event_enable_timer__process() local 2483 size_t pos = step / 2; in event_enable_timer__process() 2485 if (step & 1) { in event_enable_timer__process() 2498 step += 1; in event_enable_timer__process() 2499 pos = step / 2; in event_enable_timer__process() 2503 int ms = times[step] - times[step - 1]; in event_enable_timer__process() 2505 eet->times_step = step; in event_enable_timer__process()
|