| /linux/tools/testing/radix-tree/ |
| H A 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 …]
|
| /linux/include/linux/ |
| H A D | iov_iter.h | 25 iov_ustep_f step) in iterate_ubuf() argument 30 remain = step(base + iter->iov_offset, 0, len, priv, priv2); in iterate_ubuf() 42 iov_ustep_f step) in iterate_iovec() argument 52 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_iovec() 76 iov_step_f step) in iterate_kvec() argument 86 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_kvec() 110 iov_step_f step) in iterate_bvec() argument 123 remain = step(kaddr + offset % PAGE_SIZE, progress, part, priv, priv2); in iterate_bvec() 149 iov_step_f step) in iterate_folioq() argument 174 remain = step(base, progress, part, priv, priv2); in iterate_folioq() [all …]
|
| H A D | entry-common.h | 234 int step); 238 int step) in arch_ptrace_report_syscall_exit() argument 240 ptrace_report_syscall_exit(regs, step); in arch_ptrace_report_syscall_exit() 253 bool step; in syscall_exit_work() local 271 step = report_single_step(work); in syscall_exit_work() 272 if (step || work & SYSCALL_WORK_SYSCALL_TRACE) in syscall_exit_work() 273 arch_ptrace_report_syscall_exit(regs, step); in syscall_exit_work()
|
| /linux/drivers/video/fbdev/mb862xx/ |
| H A D | mb862xxfb_accel.c | 69 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 95 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1() 100 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1() 104 for (k = 0; k < step; k++) in mb86290fb_imageblit1() 105 cmd[9 + i * step + k] = in mb86290fb_imageblit1() 106 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1() 118 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 128 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8() 138 for (j = 0; j < step; j++) { in mb86290fb_imageblit8() 139 cmd[3 + i * step + j] = in mb86290fb_imageblit8() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_ring.c | 52 static int check_ring_step(struct intel_ring *ring, u32 x, u32 step) in check_ring_step() argument 54 u32 prev = x, next = intel_ring_wrap(ring, x + step); in check_ring_step() 65 static int check_ring_offset(struct intel_ring *ring, u32 x, u32 step) in check_ring_offset() argument 69 err |= check_ring_step(ring, x, step); in check_ring_offset() 70 err |= check_ring_step(ring, intel_ring_wrap(ring, x + 1), step); in check_ring_offset() 71 err |= check_ring_step(ring, intel_ring_wrap(ring, x - 1), step); in check_ring_offset() 80 int step, err = 0; in igt_ring_direction() local 89 for (step = 1; step < half; step <<= 1) { in igt_ring_direction() 90 err |= check_ring_offset(ring, 0, step); in igt_ring_direction() 91 err |= check_ring_offset(ring, half, step); in igt_ring_direction()
|
| /linux/include/trace/events/ |
| H A D | wbt.h | 92 int step, unsigned long window, unsigned int bg, 95 TP_ARGS(bdi, msg, step, window, bg, normal, max), 100 __field(int, step) 111 __entry->step = step; 119 __entry->name, __entry->msg, __entry->step, __entry->window, 132 int step, unsigned int inflight), 134 TP_ARGS(bdi, status, step, inflight), 139 __field(int, step) 147 __entry->step = step; 152 __entry->status, __entry->step, __entry->inflight)
|
| /linux/lib/ |
| H A D | test_bitmap.c | 450 #define step (sizeof(u64) / sizeof(unsigned long)) macro 453 {0, "1", &exp1[1 * step], 8, 0}, 454 {0, "0-15", &exp1[2 * step], 32, 0}, 455 {0, "16-31", &exp1[3 * step], 32, 0}, 456 {0, "0-31:1/2", &exp1[4 * step], 32, 0}, 457 {0, "1-31:1/2", &exp1[5 * step], 32, 0}, 458 {0, "0-31:1/4", &exp1[6 * step], 32, 0}, 459 {0, "1-31:1/4", &exp1[7 * step], 32, 0}, 460 {0, "0-31:4/4", &exp1[8 * step], 32, 0}, 461 {0, "1-31:4/4", &exp1[9 * step], 32, 0}, [all …]
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | cpu_hotplug.rst | 586 bash-394 [001] 22.976: cpuhp_enter: cpu: 0004 target: 140 step: 169 (cpuhp_kick_ap_work) 587 cpuhp/4-31 [004] 22.977: cpuhp_enter: cpu: 0004 target: 140 step: 168 (sched_cpu_deactivate) 588 cpuhp/4-31 [004] 22.990: cpuhp_exit: cpu: 0004 state: 168 step: 168 ret: 0 589 cpuhp/4-31 [004] 22.991: cpuhp_enter: cpu: 0004 target: 140 step: 144 (mce_cpu_pre_down) 590 cpuhp/4-31 [004] 22.992: cpuhp_exit: cpu: 0004 state: 144 step: 144 ret: 0 591 …cpuhp/4-31 [004] 22.993: cpuhp_multi_enter: cpu: 0004 target: 140 step: 143 (virtnet_cpu_down_p… 592 cpuhp/4-31 [004] 22.994: cpuhp_exit: cpu: 0004 state: 143 step: 143 ret: 0 593 cpuhp/4-31 [004] 22.995: cpuhp_enter: cpu: 0004 target: 140 step: 142 (cacheinfo_cpu_pre_down) 594 cpuhp/4-31 [004] 22.996: cpuhp_exit: cpu: 0004 state: 142 step: 142 ret: 0 595 bash-394 [001] 22.997: cpuhp_exit: cpu: 0004 state: 140 step: 169 ret: 0 [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A 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()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 335 unsigned int step, order, idx; in igt_syncmap_join_below() local 344 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 346 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() 354 context, order, step, sync->height, sync->prefix); in igt_syncmap_join_below() 361 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 363 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() 367 context, order, step); in igt_syncmap_join_below() 375 context + idx, order, step); in igt_syncmap_join_below() 384 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below() 385 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below() [all …]
|
| /linux/drivers/regulator/ |
| H A D | da903x-regulator.c | 309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 316 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 319 .uV_step = (step) * 1000, \ 329 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument 336 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 339 .uV_step = (step) * 1000, \ 351 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 352 DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit) 354 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument 355 DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit) [all …]
|
| /linux/tools/testing/selftests/net/bench/page_pool/ |
| H A D | time_bench.c | 216 bool time_bench_loop(uint32_t loops, int step, char *txt, void *data, in time_bench_loop() argument 225 rec.step = step; in time_bench_loop() 243 rec.ns_per_call_decimal, rec.step, rec.time_sec, in time_bench_loop() 297 int step = 0; in time_bench_print_stats_cpumask() local 313 rec->ns_per_call_decimal, rec->step, rec->time_sec, in time_bench_print_stats_cpumask() 320 step = rec->step; in time_bench_print_stats_cpumask() 326 average, sum.records, step); in time_bench_print_stats_cpumask() 329 void time_bench_run_concurrent(uint32_t loops, int step, void *data, in time_bench_run_concurrent() argument 357 c->rec.step = step; in time_bench_run_concurrent()
|
| /linux/drivers/clk/sunxi-ng/ |
| H A D | ccu_phase.c | 18 u16 step, parent_div; in ccu_phase_get_phase() local 52 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_get_phase() 53 return delay * step; in ccu_phase_get_phase() 86 u16 step, parent_div; in ccu_phase_set_phase() local 104 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_set_phase() 105 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase()
|
| /linux/drivers/hwmon/ |
| H A D | yogafan.c | 97 long delta, step, limit, alpha; in apply_rllag_filter() local 123 step = (delta * alpha) >> 12; in apply_rllag_filter() 125 if (step == 0 && delta != 0) in apply_rllag_filter() 126 step = (delta > 0) ? 1 : -1; in apply_rllag_filter() 132 if (step > limit) in apply_rllag_filter() 133 step = limit; in apply_rllag_filter() 134 else if (step < -limit) in apply_rllag_filter() 135 step = -limit; in apply_rllag_filter() 137 data->filtered_val[idx] += step; in apply_rllag_filter()
|
| /linux/Documentation/devicetree/bindings/mtd/ |
| H A D | hisi504-nand.txt | 17 - nand-ecc-strength: Number of bits to correct per ECC step. 18 - nand-ecc-step-size: Number of data bytes covered by a single ECC step. 20 The following ECC strength and step size are currently supported: 22 - nand-ecc-strength = <16>, nand-ecc-step-size = <1024> 36 nand-ecc-step-size = <1024>;
|
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_keys.c | |
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | ethtool_rmon.sh | 86 local step= 89 step="$set-pkts${bucket[0]}to${bucket[1]}" 93 ktap_print_msg "$if does not support the required MTU for $step" 94 ktap_test_xfail "$TEST_NAME.$step" 100 ktap_test_fail "$TEST_NAME.$step" 103 ktap_test_pass "$TEST_NAME.$step"
|
| /linux/drivers/clk/imx/ |
| H A D | clk-cpu.c | 17 struct clk *step; member 50 ret = clk_set_parent(cpu->mux, cpu->step); in clk_cpu_set_rate() 77 struct clk *step) in imx_clk_hw_cpu() argument 91 cpu->step = step; in imx_clk_hw_cpu()
|
| /linux/drivers/md/ |
| H A D | dm-stats.c | 49 sector_t step; member 234 (unsigned long long)s->step, in dm_stats_cleanup() 263 sector_t step, unsigned int stat_flags, in dm_stats_create() argument 283 if (end < start || !step) in dm_stats_create() 287 if (dm_sector_div64(n_entries, step)) in dm_stats_create() 323 s->step = step; in dm_stats_create() 509 (unsigned long long)s->step, in dm_stats_list() 656 offset = dm_sector_div64(rel_sector, s->step); in __dm_stat_bio() 664 if (fragment_len > s->step - offset) in __dm_stat_bio() 665 fragment_len = s->step - offset; in __dm_stat_bio() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | dirtree_repair.c | 102 struct xchk_dirpath_step step; in xrep_dirpath_retain_parent() local 105 error = xfarray_load(dl->path_steps, path->first_step, &step); in xrep_dirpath_retain_parent() 109 dl->parent_ino = be64_to_cpu(step.pptr_rec.p_ino); in xrep_dirpath_retain_parent() 265 struct xchk_dirpath_step *step) in xrep_dirtree_prep_path() argument 269 error = xfarray_load(dl->path_steps, path->first_step, step); in xrep_dirtree_prep_path() 273 error = xfblob_loadname(dl->path_names, step->name_cookie, &dl->xname, in xrep_dirtree_prep_path() 274 step->name_len); in xrep_dirtree_prep_path() 278 dl->pptr_rec = step->pptr_rec; /* struct copy */ in xrep_dirtree_prep_path() 384 struct xchk_dirpath_step *step) in xrep_dirtree_unlink() argument 404 resblks = xfs_remove_space_res(mp, step->name_len); in xrep_dirtree_unlink() [all …]
|
| /linux/drivers/media/pci/mantis/ |
| H A D | mantis_dma.c | 141 u32 line, step; in mantis_risc_program() local 151 for (step = 0; step < MANTIS_DMA_TR_UNITS; step++) { in mantis_risc_program() 152 dprintk(MANTIS_DEBUG, 1, "RISC PROG line=[%d], step=[%d]", line, step); in mantis_risc_program() 153 if (step == 0) { in mantis_risc_program()
|
| /linux/sound/soc/codecs/ |
| H A D | wm2000.c | 432 wm2000_mode_fn step[2]; 438 .step = { 445 .step = { 454 .step = { 463 .step = { 471 .step = { 479 .step = { 487 .step = { 495 .step = { 503 .step 431 wm2000_mode_fn step[2]; global() member [all...] |