Home
last modified time | relevance | path

Searched full:iteration (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/Linux-v5.15/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c31 static int iteration; variable
50 int current_iteration = READ_ONCE(iteration); in vcpu_worker()
63 pr_debug("vCPU %d updated last completed iteration to %d\n", in vcpu_worker()
69 pr_debug("vCPU %d iteration %d dirty memory time: %ld.%.9lds\n", in vcpu_worker()
73 pr_debug("vCPU %d iteration %d populate memory time: %ld.%.9lds\n", in vcpu_worker()
78 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()
83 …bug("\nvCPU %d dirtied 0x%lx pages over %d iterations in %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n", in vcpu_worker()
215 iteration = 0; in run_test()
227 pr_debug("Starting iteration %d - Populating\n", iteration); in run_test()
230 iteration) in run_test()
[all …]
Ddirty_log_test.c78 static uint64_t iteration; variable
106 * pages during the first iteration. in guest_code()
110 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code()
119 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code()
369 pr_info("Iteration %ld collected %u pages\n", iteration, count); in dirty_ring_collect_dirty_pages()
441 * bit set in the _next_ iteration. For example, if we detected the
442 * page value changed to current iteration but at the same time the
571 "set in this iteration but it is missing", in vm_dirty_log_verify()
583 * previous iteration number or the current one. in vm_dirty_log_verify()
585 matched = (*value_ptr == iteration || in vm_dirty_log_verify()
[all …]
Daccess_tracking_perf_test.c50 static int iteration = -1; variable
52 /* Defines what vCPU threads should do during a given iteration. */
63 /* The iteration that was last completed by each vCPU. */
212 *current_iteration = READ_ONCE(iteration); in spin_wait_for_next_iteration()
263 /* Kick off the vCPUs by incrementing iteration. */ in run_iteration()
264 next_iteration = ++iteration; in run_iteration()
268 /* Wait for all vCPUs to finish the iteration. */ in run_iteration()
308 vcpu_last_completed_iteration[i] = iteration; in create_vcpu_threads()
/Linux-v5.15/include/drm/
Ddrm_atomic.h304 * iteration
725 * @connector: &struct drm_connector iteration cursor
726 * @old_connector_state: &struct drm_connector_state iteration cursor for the
728 * @new_connector_state: &struct drm_connector_state iteration cursor for the
730 * @__i: int iteration cursor, for macro-internal use
749 * @connector: &struct drm_connector iteration cursor
750 * @old_connector_state: &struct drm_connector_state iteration cursor for the
752 * @__i: int iteration cursor, for macro-internal use
770 * @connector: &struct drm_connector iteration cursor
771 * @new_connector_state: &struct drm_connector_state iteration cursor for the
[all …]
Ddrm_dp_mst_helper.h879 * @mgr: pointer to the &struct drm_dp_mst_topology_mgr iteration cursor
881 * iteration cursor
883 * iteration cursor
884 * @i: int iteration cursor, for macro-internal use
919 * @mgr: &struct drm_dp_mst_topology_mgr iteration cursor
920 * @old_state: &struct drm_dp_mst_topology_state iteration cursor for the old
922 * @new_state: &struct drm_dp_mst_topology_state iteration cursor for the new
924 * @__i: int iteration cursor, for macro-internal use
938 * @mgr: &struct drm_dp_mst_topology_mgr iteration cursor
939 * @old_state: &struct drm_dp_mst_topology_state iteration cursor for the old
[all …]
/Linux-v5.15/include/linux/
Dprime_numbers.h12 * @prime: the current prime number in this iteration
16 * the @max value. On each iteration, @prime is set to the current prime number.
18 * @prime set to 1 on the first iteration use for_each_prime_number_from()
26 * @prime: the current prime number in this iteration
31 * @max value. On each iteration, @prime is set to the current prime number.
Ddim.h90 * @prev_stats: Measured rates from previous iteration (for comparison)
91 * @start_sample: Sampled data at start of current iteration
133 * These will determine if the algorithm is in a valid state to start an iteration.
135 * @DIM_START_MEASURE: This is the first iteration (also after applying a new profile)
166 * These will determine the verdict of current iteration.
168 * @DIM_STATS_WORSE: Current iteration shows worse performance than before
169 * @DIM_STATS_SAME: Current iteration shows same performance than before
170 * @DIM_STATS_BETTER: Current iteration shows better performance than before
Diomap.h167 * @inode: Set at the start of the iteration and should not change.
173 * iteration, or a negative errno. 0 causes the iteration to stop.
175 * @iomap: Map describing the I/O iteration
191 * iomap_length - length of the current iomap iteration
192 * @iter: iteration structure
194 * Returns the length that the operation applies to for the current iteration.
206 * iomap_iter_srcmap - return the source map for the current iomap iteration
207 * @i: iteration structure
Dradix-tree.h101 * iteration radix_tree_iter also holds the slots' bit-mask for one chosen
275 * @start: iteration starting index
295 * radix_tree_next_chunk - find next chunk of slots for iteration
329 * radix_tree_iter_retry - retry this chunk of the iteration
335 * and continue the iteration.
359 * before releasing the lock to continue the iteration from the next index.
391 * a) we are doing tagged iteration and iter->tags has been set to 0, or
392 * b) we are doing non-tagged iteration, and iter->index and iter->next_index
443 * @start: iteration starting index
458 * @start: iteration starting index
Dcgroup.h140 * Iteration helpers and macros.
168 * If a subsystem synchronizes ->css_online() and the start of iteration, a
175 * It is allowed to temporarily drop RCU read lock during iteration. The
177 * the start of the next iteration by, for example, bumping the css refcnt.
188 * Walk @root's descendants. @root is included in the iteration and the
191 * If a subsystem synchronizes ->css_online() and the start of iteration, a
229 * iteration should lock and unlock both @pos->parent and @pos.
235 * It is allowed to temporarily drop RCU read lock during iteration. The
237 * the start of the next iteration by, for example, bumping the css refcnt.
249 * traversal instead. @root is included in the iteration and the last
[all …]
Drbtree_latch.h22 * copy, this does not guarantee an iteration will not observe modifications.
23 * What might have been a stable copy at the start of the iteration, need not
24 * remain so for the duration of the iteration.
26 * Therefore, this does require a lockless RB-tree iteration to be non-fatal;
/Linux-v5.15/tools/testing/radix-tree/
Diteration_check.c3 * iteration_check.c: test races having to do with xarray iteration
65 * node and randomly pausing the iteration.
98 * node and randomly pausing the iteration.
131 * two iteration functions.
179 perror("create tagged iteration thread"); in iteration_test()
183 perror("create untagged iteration thread"); in iteration_test()
/Linux-v5.15/include/linux/dma/
Dti-cppi5.h721 * @icnt0: Total loop iteration count for level 0 (innermost)
735 * @icnt0: Total loop iteration count for level 0 (innermost)
736 * @icnt1: Total loop iteration count for level 1
751 * @icnt0: Total loop iteration count for level 0 (innermost)
752 * @icnt1: Total loop iteration count for level 1
755 * @icnt2: Total loop iteration count for level 2
773 * @icnt0: Total loop iteration count for level 0 (innermost)
774 * @icnt1: Total loop iteration count for level 1
777 * @icnt2: Total loop iteration count for level 2
778 * @icnt3: Total loop iteration count for level 3 (outermost)
[all …]
/Linux-v5.15/fs/iomap/
Diter.c12 /* handle the previous iteration (if any) */ in iomap_iter_advance()
24 /* clear the state for the next iteration */ in iomap_iter_advance()
44 * @iter: iteration structue
49 * This function handles cleanup of resources acquired for iteration when the
/Linux-v5.15/arch/x86/tools/
Dinsn_sanity.c34 static unsigned long iter_start; /* Start of iteration number */
35 static unsigned long iter_end = DEFAULT_MAX_ITER; /* End of iteration number */
46 fprintf(stderr, "\t-s Give a random seed (and iteration number)\n"); in usage()
47 fprintf(stderr, "\t-m Give a maximum iteration number\n"); in usage()
100 /* Give a seed and iteration number */ in dump_stream()
206 usage("Max iteration number must be bigger than iter-num"); in parse_args()
236 if (i < iter_start) /* Skip to given iteration number */ in main()
/Linux-v5.15/arch/sh/lib/
Dmemcpy-sh4.S29 ! At the start of each iteration, r7 contains last long load
39 ! 6 cycles, 4 bytes per iteration
102 ! At the start of each iteration, r7 contains last long load
112 ! 6 cycles, 4 bytes per iteration
222 ! 4 cycles, 2 bytes per iteration
250 ! 3 cycles, 1 byte per iteration
332 ! 4 cycles, 2 long words per iteration
366 ! 4 cycles, 2 long words per iteration
386 ! 3 cycles, 1 byte per iteration
434 ! 4 cycles, 2 long words per iteration
[all …]
/Linux-v5.15/Documentation/core-api/
Dassoc_array.rst266 The internal tree will be packed down if possible as part of the iteration
297 it is possible for the iteration function to see some objects twice. If
299 iteration algorithm should not, however, miss any objects.
302 return the result of the last iterator function called. Iteration stops
303 immediately if any call to the iteration function results in a non-zero
491 Non-Recursive Iteration
495 slot in that parent that points to it. None-recursive iteration uses these to
499 The backpointers, however, make simultaneous alteration and iteration tricky.
502 Simultaneous Alteration And Iteration
518 the iteration as we won't have reached the pointer to it yet and the
[all …]
/Linux-v5.15/net/smc/
Dsmc_tx.c189 /* initialize variables for 1st iteration of subsequent loop */ in smc_tx_sendmsg()
218 break; /* either on 1st or 2nd iteration */ in smc_tx_sendmsg()
219 /* prepare next (== 2nd) iteration */ in smc_tx_sendmsg()
350 break; /* either on 1st or 2nd iteration */ in smcr_tx_rdma_writes()
351 /* prepare next (== 2nd) iteration */ in smcr_tx_rdma_writes()
360 break; /* either on 1st or 2nd iteration */ in smcr_tx_rdma_writes()
361 /* prepare next (== 2nd) iteration */ in smcr_tx_rdma_writes()
395 break; /* either on 1st or 2nd iteration */ in smcd_tx_rdma_writes()
396 /* prepare next (== 2nd) iteration */ in smcd_tx_rdma_writes()
401 break; /* either on 1st or 2nd iteration */ in smcd_tx_rdma_writes()
[all …]
/Linux-v5.15/drivers/base/
Dclass.c277 * of @class. If @start is set, the list iteration will start there,
278 * otherwise if it is NULL, the iteration starts at the beginning of
298 * iteration is complete.
322 * class_dev_iter_exit - finish iteration
325 * Finish an iteration. Always call this function after iteration is
326 * complete whether the iteration ran till the end or not.
342 * passing it @data. If @start is set, the list iteration will start
343 * there, otherwise if it is NULL, the iteration starts at the
/Linux-v5.15/Documentation/networking/
Dnet_dim.rst24 iteration of the algorithm, it analyses a given sample of the data, compares it
39 Each iteration of the Net DIM algorithm follows these steps:
48 supplied to the previous iteration. The comparison step checks the difference
120 the proper state in order to move to the next iteration.
142 /* Signal net DIM work is done and it should move to next iteration */
/Linux-v5.15/lib/math/
Drational.c41 * decreased each iteration using the Euclidean algorithm. in rational_best_approximation()
43 * dp is the value of d from the prior iteration. in rational_best_approximation()
92 * is the 1st iteration, so always choose the semi-convergent. in rational_best_approximation()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h45 /* Default watchdog (in MS) for scheduled scan iteration */
194 * @iter_count: scan iteration on this channel
268 * @IWL_MVM_LMAC_SCAN_FLAG_ITER_COMPLETE: send iteration complete notification
325 * @delay: delay in seconds before first iteration
399 * @last_schedule_iteration: last scan iteration executed before scan abort
402 * @time_after_last_iter: time in seconds elapsed after last iteration
622 * on every iteration instead of only once after the last iteration
719 * @delay: delay in TUs before starting the first scan iteration
1061 * @last_iter: last scan iteration number
1064 * @time_from_last_iter: time elapsed from last iteration
[all …]
/Linux-v5.15/drivers/media/dvb-frontends/
Dmxl5xx_regs.h116 …RA_DMD_DVBS_1ST_CORR_RS_ERRORS_ADDR_OFFSET 0x3FFFC6C8 /* corrected RS Errors: 1st iteration */
117 …_DMD_DVBS_1ST_UNCORR_RS_ERRORS_ADDR_OFFSET 0x3FFFC6CC /* uncorrected RS Errors: 1st iteration */
129 #define DMD0_STATUS_DVBS_1ST_SCALED_BER_COUNT_ADDR 0x3FFFC710 /* DMD 0: 1st iteration BER co…
130 #define DMD0_STATUS_DVBS_SCALED_BER_COUNT_ADDR 0x3FFFC714 /* DMD 0: 2nd iteration BER co…
/Linux-v5.15/kernel/printk/
Dprintk_ringbuffer.h344 * @s: A u64 to store the sequence number on each iteration.
345 * @r: A printk_record to store the record on each iteration.
349 * iteration. For the sequence number, @r->info->seq should be checked.
361 * @s: A u64 to store the sequence number on each iteration.
362 * @i: A printk_info to store the record meta data on each iteration.
367 * iteration. For the sequence number, @r->info->seq should be checked.
/Linux-v5.15/tools/gpio/
Dgpio-hammer.c34 unsigned int iteration = 0; in hammer_device() local
100 iteration++; in hammer_device()
101 if (loops && iteration == loops) in hammer_device()

12345678910>>...24