/tools/testing/selftests/net/ |
D | ip_local_port_range.c | 24 static void unpack_port_range(__u32 range, __u16 *lo, __u16 *hi) in unpack_port_range() argument 26 *lo = range & 0xffff; in unpack_port_range() 27 *hi = range >> 16; in unpack_port_range() 100 static int get_ip_local_port_range(int fd, __u32 *range) in get_ip_local_port_range() argument 111 *range = val; in get_ip_local_port_range() 222 __u32 range; in TEST_F() local 227 range = pack_port_range(t->range_lo, t->range_hi); in TEST_F() 228 err = setsockopt(fd, SOL_IP, IP_LOCAL_PORT_RANGE, &range, sizeof(range)); in TEST_F() 265 __u32 range; in TEST_F() local 273 range = pack_port_range(t->range_lo, t->range_hi); in TEST_F() [all …]
|
/tools/testing/nvdimm/ |
D | dax-dev.c | 16 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/arch/x86/kcpuid/ |
D | kcpuid.c | 139 static bool cpuid_store(struct cpuid_range *range, u32 f, int subleaf, in cpuid_store() argument 153 func = &range->funcs[f & 0xffff]; in cpuid_store() 182 static void raw_dump_range(struct cpuid_range *range) in raw_dump_range() argument 187 printf("%s Leafs :\n", range->is_ext ? "Extended" : "Basic"); in raw_dump_range() 190 for (f = 0; (int)f < range->nr; f++) { in raw_dump_range() 191 struct cpuid_func *func = &range->funcs[f]; in raw_dump_range() 194 if (range->is_ext) in raw_dump_range() 212 struct cpuid_range *range; in setup_cpuid_range() local 225 range = malloc(sizeof(struct cpuid_range)); in setup_cpuid_range() 226 if (!range) in setup_cpuid_range() [all …]
|
/tools/mm/ |
D | slabinfo-gnuplot.sh | 53 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/ |
D | tdc_batch.py | 43 choices=range(0, 256), 100 for i in range(0x100): 101 for j in range(0x100): 102 for k in range(0x100):
|
D | tdc_multibatch.py | 45 choices=range(0, 256), 60 for i in range(num_files):
|
/tools/perf/scripts/python/ |
D | netdev-times.py | 95 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/ |
D | mte_common_util.h | 60 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);
|
/tools/power/cpupower/utils/idle_monitor/ |
D | nhm_idle.c | 37 .range = RANGE_CORE, 44 .range = RANGE_CORE, 52 .range = RANGE_PACKAGE, 59 .range = RANGE_PACKAGE,
|
D | hsw_ext_idle.c | 36 .range = RANGE_PACKAGE, 43 .range = RANGE_PACKAGE, 50 .range = RANGE_PACKAGE,
|
D | snb_idle.c | 34 .range = RANGE_CORE, 41 .range = RANGE_PACKAGE, 48 .range = RANGE_PACKAGE,
|
D | amd_fam14h_idle.c | 55 .range = RANGE_PACKAGE, 62 .range = RANGE_PACKAGE, 69 .range = RANGE_PACKAGE, 76 .range = RANGE_PACKAGE,
|
D | mperf_monitor.c | 43 .range = RANGE_THREAD, 50 .range = RANGE_THREAD, 58 .range = RANGE_THREAD,
|
D | cpupower-monitor.h | 41 enum power_range_e range; member
|
/tools/testing/selftests/hid/tests/ |
D | test_sony.py | 43 for x in range(-32000, 32000, 4000): 54 for y in range(-32000, 32000, 4000): 63 for z in range(-32000, 32000, 4000): 76 for rx in range(-2000000, 2000000, 200000): 87 for ry in range(-2000000, 2000000, 200000): 96 for rz in range(-2000000, 2000000, 200000): 112 for i in range(5, 105, 10):
|
/tools/testing/selftests/mm/ |
D | vm_util.c | 243 uffdio_register.range.start = (unsigned long)addr; in uffd_register_with_ioctls() 244 uffdio_register.range.len = len; in uffd_register_with_ioctls() 264 struct uffdio_range range = { .start = (uintptr_t)addr, .len = len }; in uffd_unregister() local 267 if (ioctl(uffd, UFFDIO_UNREGISTER, &range) == -1) in uffd_unregister()
|
D | uffd-common.c | 383 prms.range.start = start; in wp_range() 384 prms.range.len = len; in wp_range() 397 req.range.start = start; in continue_range() 398 req.range.len = len; in continue_range() 555 uffd_reg.range.start = msg.arg.remove.start; in uffd_poll_thread() 556 uffd_reg.range.len = msg.arg.remove.end - in uffd_poll_thread() 558 if (ioctl(uffd, UFFDIO_UNREGISTER, &uffd_reg.range)) in uffd_poll_thread()
|
/tools/memory-model/ |
D | linux-kernel.bell | 47 and unmatched-unlocks = Rcu-unlock \ range(matched) 58 flag ~empty Rcu-unlock \ range(rcu-rscs) as unmatched-rcu-unlock 66 flag ~empty Srcu-unlock \ range(srcu-rscs) as unmatched-srcu-unlock 76 let Marked = (~M) | IW | Once | Release | Acquire | domain(rmw) | range(rmw) |
|
/tools/arch/arm64/include/asm/ |
D | cputype.h | 246 static inline bool is_midr_in_range(u32 midr, struct midr_range const *range) in is_midr_in_range() argument 248 return midr_is_cpu_model_range(midr, range->model, in is_midr_in_range() 249 range->rv_min, range->rv_max); in is_midr_in_range()
|
/tools/workqueue/ |
D | wq_dump.py | 104 for pod in range(pt.nr_pods): 109 for pod in range(pt.nr_pods):
|
/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_mod_race.c | 80 uffd_register.range.start = (unsigned long)fault_addr; in test_setup_uffd() 81 uffd_register.range.len = 4096; in test_setup_uffd()
|
/tools/testing/selftests/kvm/lib/ |
D | userfaultfd_util.c | 143 uffdio_register.range.start = (uint64_t)hva; in uffd_setup_demand_paging() 144 uffdio_register.range.len = len; in uffd_setup_demand_paging()
|
/tools/testing/selftests/drivers/sdsi/ |
D | sdsi_test.py | 45 @pytest.mark.parametrize('socket', range(0, NUM_SOCKETS)) 149 @pytest.mark.parametrize('socket', range(0, NUM_SOCKETS)) 165 @pytest.mark.parametrize('socket', range(0, NUM_SOCKETS))
|
/tools/testing/selftests/tc-testing/plugin-lib/ |
D | scapyPlugin.py | 53 for count in range(scapyinfo['count']):
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-pagefault.c | 177 uffdio_register.range.start = (unsigned long) uf_mem; in setup_uf_mem() 178 uffdio_register.range.len = UF_MEM_SIZE; in setup_uf_mem()
|