Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 66) sorted by relevance

123

/tools/arch/x86/kcpuid/
Dkcpuid.c135 static bool cpuid_store(struct cpuid_range *range, u32 f, int subleaf, in cpuid_store() argument
149 func = &range->funcs[f & 0xffff]; in cpuid_store()
178 static void raw_dump_range(struct cpuid_range *range) in raw_dump_range() argument
183 printf("%s Leafs :\n", range->is_ext ? "Extended" : "Basic"); in raw_dump_range()
186 for (f = 0; (int)f < range->nr; f++) { in raw_dump_range()
187 struct cpuid_func *func = &range->funcs[f]; in raw_dump_range()
190 if (range->is_ext) in raw_dump_range()
208 struct cpuid_range *range; in setup_cpuid_range() local
221 range = malloc(sizeof(struct cpuid_range)); in setup_cpuid_range()
222 if (!range) in setup_cpuid_range()
[all …]
/tools/testing/nvdimm/
Ddax-dev.c16 struct range *range = &dax_range->range; in dax_pgoff_to_phys() local
20 pgoff_end = dax_range->pgoff + PHYS_PFN(range_len(range)) - 1; in dax_pgoff_to_phys()
23 addr = PFN_PHYS(pgoff - dax_range->pgoff) + range->start; in dax_pgoff_to_phys()
24 if (addr + size - 1 <= range->end) { in dax_pgoff_to_phys()
/tools/vm/
Dslabinfo-gnuplot.sh53 local range="every ::$xmin"
63 range="$range::$xmax"
94 plot "$file" $range u 2$xtic title 'SIZE' with boxes,\
95 '' $range u 3 title 'LOSS' with boxes
106 local range="every ::$xmin"
110 range="$range::$xmax"
117 gnuplot_cmd="$gnuplot_cmd '$i' $range using 1 title\
119 gnuplot_cmd="$gnuplot_cmd '' $range using 2 title \
/tools/testing/selftests/tc-testing/
Dtdc_batch.py43 choices=range(0, 256),
100 for i in range(0x100):
101 for j in range(0x100):
102 for k in range(0x100):
Dtdc_multibatch.py45 choices=range(0, 256),
60 for i in range(num_files):
/tools/testing/selftests/vm/
Duserfaultfd.c489 prms.range.start = start; in wp_range()
490 prms.range.len = len; in wp_range()
503 req.range.start = start; in continue_range()
504 req.range.len = len; in continue_range()
751 uffd_reg.range.start = msg.arg.remove.start; in uffd_poll_thread()
752 uffd_reg.range.len = msg.arg.remove.end - in uffd_poll_thread()
754 if (ioctl(uffd, UFFDIO_UNREGISTER, &uffd_reg.range)) in uffd_poll_thread()
1021 uffd_test_ops->alias_mapping(&uffdio_zeropage->range.start, in retry_uffdio_zeropage()
1022 uffdio_zeropage->range.len, in retry_uffdio_zeropage()
1045 uffdio_zeropage.range.start = (unsigned long) area_dst + offset; in __uffdio_zeropage()
[all …]
/tools/perf/scripts/python/
Dnetdev-times.py95 for i in range(len(irq_list)):
106 for i in range(len(irq_list)):
112 for j in range(len(irq_event_list)):
123 for i in range(len(event_list)):
162 for i in range(len(sys.argv)):
182 for i in range(len(all_event_list)):
213 for i in range(len(receive_hunk_list)):
219 for i in range(len(tx_free_list)):
420 for i in range(len(tx_queue_list)):
434 for i in range(len(tx_queue_list)):
[all …]
/tools/testing/selftests/arm64/mte/
Dmte_common_util.h60 void mte_initialize_current_context(int mode, uintptr_t ptr, ssize_t range);
69 void mte_set_tag_address_range(void *ptr, int range);
70 void mte_clear_tag_address_range(void *ptr, int range);
Dmte_common_util.c255 void mte_initialize_current_context(int mode, uintptr_t ptr, ssize_t range) in mte_initialize_current_context() argument
259 cur_mte_cxt.trig_range = range; in mte_initialize_current_context()
/tools/power/cpupower/utils/idle_monitor/
Dnhm_idle.c37 .range = RANGE_CORE,
44 .range = RANGE_CORE,
52 .range = RANGE_PACKAGE,
59 .range = RANGE_PACKAGE,
Dhsw_ext_idle.c36 .range = RANGE_PACKAGE,
43 .range = RANGE_PACKAGE,
50 .range = RANGE_PACKAGE,
Dsnb_idle.c34 .range = RANGE_CORE,
41 .range = RANGE_PACKAGE,
48 .range = RANGE_PACKAGE,
Damd_fam14h_idle.c55 .range = RANGE_PACKAGE,
62 .range = RANGE_PACKAGE,
69 .range = RANGE_PACKAGE,
76 .range = RANGE_PACKAGE,
Dmperf_monitor.c43 .range = RANGE_THREAD,
50 .range = RANGE_THREAD,
58 .range = RANGE_THREAD,
Dcpupower-monitor.h41 enum power_range_e range; member
/tools/memory-model/
Dlinux-kernel.bell46 and unmatched-unlocks = Rcu-unlock \ range(matched)
57 flag ~empty Rcu-unlock \ range(rcu-rscs) as unbalanced-rcu-locking
62 and unmatched-unlocks = Srcu-unlock \ range(matched)
73 flag ~empty Srcu-unlock \ range(srcu-rscs) as unbalanced-srcu-locking
82 let Marked = (~M) | IW | Once | Release | Acquire | domain(rmw) | range(rmw) |
Dlock.cat48 flag ~empty LKW \ range(lk-rmw) as unpaired-LKW
73 flag ~empty UL \ range(critical) as unmatched-unlock
93 in map possible-rfe-lf (LF \ range(rfi-lf))
/tools/testing/selftests/tc-testing/plugin-lib/
DscapyPlugin.py53 for count in range(scapyinfo['count']):
/tools/testing/selftests/kvm/
Ddemand_paging_test.c101 cont.range.start = addr; in handle_uffd_page_request()
102 cont.range.len = demand_paging_size; in handle_uffd_page_request()
256 uffdio_register.range.start = (uint64_t)hva; in setup_demand_paging()
257 uffdio_register.range.len = len; in setup_demand_paging()
/tools/testing/selftests/powerpc/tm/
Dtm-signal-pagefault.c177 uffdio_register.range.start = (unsigned long) uf_mem; in setup_uf_mem()
178 uffdio_register.range.len = UF_MEM_SIZE; in setup_uf_mem()
/tools/cgroup/
Dmemcg_slabinfo.py88 for node in range(cfg['nr_nodes']):
211 for i in range(oo_objects(cache)):
/tools/testing/selftests/bpf/
Dtest_offload.py195 for i in range(n_retry):
203 for i in range(n_retry):
248 for i in range(n_retry):
249 name = ''.join([random.choice(string.ascii_letters) for i in range(8)])
376 for port_index in range(port_count):
460 for i in range(n_retry):
892 for i in range(3):
893 for j in range(3):
1211 for i in range(2):
1223 for i in range(2):
[all …]
/tools/testing/selftests/net/
Dmsg_zerocopy.c397 uint32_t hi, lo, range; in do_recv_completion() local
433 range = hi - lo + 1; in do_recv_completion()
453 range, hi, lo); in do_recv_completion()
455 completions += range; in do_recv_completion()
/tools/testing/selftests/netfilter/
Dnf-queue.c145 nfq_build_cfg_params(char *buf, uint8_t mode, int range, int queue_num) in nfq_build_cfg_params() argument
149 .copy_range = htonl(range), in nfq_build_cfg_params()
/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py351 for index in range(0, current_max_cpu + 1):
548 for i in range (0, MAX_CPUS):
595 for cpu_no in range(0, current_max_cpu + 1):

123