Home
last modified time | relevance | path

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

12345678910>>...40

/kernel/linux/linux-4.19/tools/testing/selftests/kvm/
Ddirty_log_test.c91 * bit set in the _next_ iteration. For example, if we detected the
92 * page value changed to current iteration but at the same time the
145 void vm_dirty_log_verify(unsigned long *bmap, uint64_t iteration) in vm_dirty_log_verify() argument
158 "set in this iteration but it is missing", in vm_dirty_log_verify()
167 * previous iteration number or the current one. in vm_dirty_log_verify()
169 TEST_ASSERT(*value_ptr == iteration || in vm_dirty_log_verify()
170 *value_ptr == iteration - 1, in vm_dirty_log_verify()
172 " incorrect (iteration=%"PRIu64")", in vm_dirty_log_verify()
173 page, *value_ptr, iteration); in vm_dirty_log_verify()
178 * value smaller or equals to the iteration in vm_dirty_log_verify()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c31 static uint64_t iteration; variable
51 uint64_t current_iteration = READ_ONCE(iteration); in vcpu_worker()
64 pr_debug("vCPU %d updated last completed iteration to %lu\n", in vcpu_worker()
70 pr_debug("vCPU %d iteration %lu dirty memory time: %ld.%.9lds\n", in vcpu_worker()
74 pr_debug("vCPU %d iteration %lu populate memory time: %ld.%.9lds\n", in vcpu_worker()
79 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()
84 …ug("\nvCPU %d dirtied 0x%lx pages over %lu iterations in %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n", in vcpu_worker()
137 iteration = 0; in run_test()
147 pr_debug("Starting iteration %lu - Populating\n", iteration); in run_test()
148 while (READ_ONCE(vcpu_last_completed_iteration[vcpu_id]) != iteration) in run_test()
[all …]
Ddirty_log_test.c70 static uint64_t iteration; variable
98 * pages during the first iteration. in guest_code()
102 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code()
111 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code()
205 * bit set in the _next_ iteration. For example, if we detected the
206 * page value changed to current iteration but at the same time the
304 "set in this iteration but it is missing", in vm_dirty_log_verify()
313 * previous iteration number or the current one. in vm_dirty_log_verify()
315 TEST_ASSERT(*value_ptr == iteration || in vm_dirty_log_verify()
316 *value_ptr == iteration - 1, in vm_dirty_log_verify()
[all …]
/kernel/linux/linux-4.19/include/drm/
Ddrm_atomic.h635 * @connector: &struct drm_connector iteration cursor
636 * @old_connector_state: &struct drm_connector_state iteration cursor for the
638 * @new_connector_state: &struct drm_connector_state iteration cursor for the
640 * @__i: int iteration cursor, for macro-internal use
658 * @connector: &struct drm_connector iteration cursor
659 * @old_connector_state: &struct drm_connector_state iteration cursor for the
661 * @__i: int iteration cursor, for macro-internal use
678 * @connector: &struct drm_connector iteration cursor
679 * @new_connector_state: &struct drm_connector_state iteration cursor for the
681 * @__i: int iteration cursor, for macro-internal use
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_atomic.h282 * iteration
691 * @connector: &struct drm_connector iteration cursor
692 * @old_connector_state: &struct drm_connector_state iteration cursor for the
694 * @new_connector_state: &struct drm_connector_state iteration cursor for the
696 * @__i: int iteration cursor, for macro-internal use
715 * @connector: &struct drm_connector iteration cursor
716 * @old_connector_state: &struct drm_connector_state iteration cursor for the
718 * @__i: int iteration cursor, for macro-internal use
736 * @connector: &struct drm_connector iteration cursor
737 * @new_connector_state: &struct drm_connector_state iteration cursor for the
[all …]
Ddrm_dp_mst_helper.h868 * @mgr: pointer to the &struct drm_dp_mst_topology_mgr iteration cursor
870 * iteration cursor
872 * iteration cursor
873 * @i: int iteration cursor, for macro-internal use
908 * @mgr: &struct drm_dp_mst_topology_mgr iteration cursor
909 * @old_state: &struct drm_dp_mst_topology_state iteration cursor for the old
911 * @new_state: &struct drm_dp_mst_topology_state iteration cursor for the new
913 * @__i: int iteration cursor, for macro-internal use
927 * @mgr: &struct drm_dp_mst_topology_mgr iteration cursor
928 * @old_state: &struct drm_dp_mst_topology_state iteration cursor for the old
[all …]
/kernel/linux/linux-5.10/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
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
/kernel/linux/linux-4.19/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.
Dradix-tree.h152 * iteration radix_tree_iter also holds the slots' bit-mask for one chosen
377 * @start: iteration starting index
397 * radix_tree_next_chunk - find next chunk of slots for iteration
449 * radix_tree_iter_retry - retry this chunk of the iteration
455 * and continue the iteration.
479 * before releasing the lock to continue the iteration from the next index.
523 * a) we are doing tagged iteration and iter->tags has been set to 0, or
524 * b) we are doing non-tagged iteration, and iter->index and iter->next_index
577 * @start: iteration starting index
592 * @start: iteration starting index
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-4.19/tools/testing/radix-tree/
Diteration_check.c2 * iteration_check.c: test races having to do with radix tree iteration
60 * things that have been removed and randomly resetting our iteration to the
101 * that have been removed and randomly resetting our iteration to the next
142 * two iteration functions.
190 perror("create tagged iteration thread"); in iteration_test()
194 perror("create untagged iteration thread"); in iteration_test()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/x86/tools/
Dinsn_sanity.c38 static unsigned long iter_start; /* Start of iteration number */
39 static unsigned long iter_end = DEFAULT_MAX_ITER; /* End of iteration number */
50 fprintf(stderr, "\t-s Give a random seed (and iteration number)\n"); in usage()
51 fprintf(stderr, "\t-m Give a maximum iteration number\n"); in usage()
104 /* Give a seed and iteration number */ in dump_stream()
210 usage("Max iteration number must be bigger than iter-num"); in parse_args()
240 if (i < iter_start) /* Skip to given iteration number */ in main()
/kernel/linux/linux-4.19/net/smc/
Dsmc_tx.c174 /* initialize variables for 1st iteration of subsequent loop */ in smc_tx_sendmsg()
203 break; /* either on 1st or 2nd iteration */ in smc_tx_sendmsg()
204 /* prepare next (== 2nd) iteration */ in smc_tx_sendmsg()
339 break; /* either on 1st or 2nd iteration */ in smcr_tx_rdma_writes()
340 /* prepare next (== 2nd) iteration */ in smcr_tx_rdma_writes()
348 break; /* either on 1st or 2nd iteration */ in smcr_tx_rdma_writes()
349 /* prepare next (== 2nd) iteration */ in smcr_tx_rdma_writes()
383 break; /* either on 1st or 2nd iteration */ in smcd_tx_rdma_writes()
384 /* prepare next (== 2nd) iteration */ in smcd_tx_rdma_writes()
389 break; /* either on 1st or 2nd iteration */ in smcd_tx_rdma_writes()
[all …]
/kernel/linux/linux-4.19/arch/x86/tools/
Dinsn_sanity.c51 static unsigned long iter_start; /* Start of iteration number */
52 static unsigned long iter_end = DEFAULT_MAX_ITER; /* End of iteration number */
63 fprintf(stderr, "\t-s Give a random seed (and iteration number)\n"); in usage()
64 fprintf(stderr, "\t-m Give a maximum iteration number\n"); in usage()
117 /* Give a seed and iteration number */ in dump_stream()
223 usage("Max iteration number must be bigger than iter-num"); in parse_args()
253 if (i < iter_start) /* Skip to given iteration number */ in main()
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/smc/
Dsmc_tx.c176 /* initialize variables for 1st iteration of subsequent loop */ in smc_tx_sendmsg()
205 break; /* either on 1st or 2nd iteration */ in smc_tx_sendmsg()
206 /* prepare next (== 2nd) iteration */ in smc_tx_sendmsg()
337 break; /* either on 1st or 2nd iteration */ in smcr_tx_rdma_writes()
338 /* prepare next (== 2nd) iteration */ in smcr_tx_rdma_writes()
347 break; /* either on 1st or 2nd iteration */ in smcr_tx_rdma_writes()
348 /* prepare next (== 2nd) iteration */ in smcr_tx_rdma_writes()
382 break; /* either on 1st or 2nd iteration */ in smcd_tx_rdma_writes()
383 /* prepare next (== 2nd) iteration */ in smcd_tx_rdma_writes()
388 break; /* either on 1st or 2nd iteration */ in smcd_tx_rdma_writes()
[all …]
/kernel/linux/linux-4.19/drivers/base/
Dclass.c270 * of @class. If @start is set, the list iteration will start there,
271 * otherwise if it is NULL, the iteration starts at the beginning of
291 * iteration is complete.
315 * class_dev_iter_exit - finish iteration
318 * Finish an iteration. Always call this function after iteration is
319 * complete whether the iteration ran till the end or not.
335 * passing it @data. If @start is set, the list iteration will start
336 * there, otherwise if it is NULL, the iteration starts at the
/kernel/linux/linux-5.10/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
/kernel/linux/linux-4.19/Documentation/networking/
Dnet_dim.txt32 iteration of the algorithm, it analyses a given sample of the data, compares it
47 Each iteration of the Net DIM algorithm follows these steps:
55 supplied to the previous iteration. The comparison step checks the difference
124 the proper state in order to move to the next iteration.
146 /* Signal net DIM work is done and it should move to next iteration */

12345678910>>...40