Home
last modified time | relevance | path

Searched full:iterate (Results 1 – 25 of 713) sorted by relevance

12345678910>>...29

/linux/include/linux/
H A Dhashtable.h120 * hash_for_each - iterate over a hashtable
121 * @name: hashtable to iterate
132 * hash_for_each_rcu - iterate over a rcu enabled hashtable
133 * @name: hashtable to iterate
144 * hash_for_each_safe - iterate over a hashtable safe against removal of
146 * @name: hashtable to iterate
158 * hash_for_each_possible - iterate over all possible objects hashing to the
160 * @name: hashtable to iterate
163 * @key: the key of the objects to iterate over
169 * hash_for_each_possible_rcu - iterate over all possible objects hashing to the
[all …]
H A Diov_iter.h267 * iterate_and_advance2 - Iterate over an iterator
268 * @iter: The iterator to iterate over.
269 * @len: The amount to iterate over.
275 * Iterate over the next part of an iterator, up to the specified length. The
317 * iterate_and_advance - Iterate over an iterator
318 * @iter: The iterator to iterate over.
319 * @len: The amount to iterate over.
334 * iterate_and_advance_kernel - Iterate over a kernel-internal iterator
335 * @iter: The iterator to iterate over.
336 * @len: The amount to iterate over.
[all …]
H A Dprime_numbers.h11 * for_each_prime_number - iterate over each prime upto a value
15 * Starting from the first prime number 2 iterate over each prime number up to
25 * for_each_prime_number_from - iterate over each prime upto a value
30 * Starting from @from iterate over each successive prime number up to the
H A Dplist.h138 * plist_for_each - iterate over the plist
150 * Continue to iterate over plist, continuing after the current position.
156 * plist_for_each_safe - iterate safely over a plist of given type
161 * Iterate over a plist of given type, safe against removal of list entry.
167 * plist_for_each_entry - iterate over list of given type
181 * Continue to iterate over list of given type, continuing after
188 * plist_for_each_entry_safe - iterate safely over list of given type
194 * Iterate over list of given type, safe against removal of list entry.
H A Ddma-fence-array.h68 * dma_fence_array_for_each - iterate over all fences in array
73 * Test if @array is a dma_fence_array object and if yes iterate over all fences
74 * in the array. If not just iterate over the fence in @array itself.
H A Dgeneric-radix-tree.h27 * - genradix_for_each(radix, iter, p) - iterate over each entry in a genradix
358 * genradix_for_each - iterate over entry in a genradix
359 * @_radix: genradix to iterate over
373 * genradix_for_each_reverse - iterate over entry in a genradix, reverse order
374 * @_radix: genradix to iterate over
/linux/tools/lib/perf/include/internal/
H A Devlist.h66 * __perf_evlist__for_each_entry - iterate thru all the evsels
67 * @list: list_head instance to iterate
74 * evlist__for_each_entry - iterate thru all the evsels
75 * @evlist: perf_evlist instance to iterate
82 * __perf_evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
83 * @list: list_head instance to iterate
90 * perf_evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
91 * @evlist: evlist instance to iterate
98 * __perf_evlist__for_each_entry_safe - safely iterate thru all the evsels
99 * @list: list_head instance to iterate
[all …]
/linux/scripts/include/
H A Dhashtable.h54 * hash_for_each - iterate over a hashtable
55 * @table: hashtable to iterate
64 * hash_for_each_safe - iterate over a hashtable safe against removal of
66 * @table: hashtable to iterate
76 * hash_for_each_possible - iterate over all possible objects hashing to the
78 * @table: hashtable to iterate
81 * @key: the key of the objects to iterate over
87 * hash_for_each_possible_safe - iterate over all possible objects hashing to the
89 * @table: hashtable to iterate
93 * @key: the key of the objects to iterate over
H A Dlist.h279 * list_for_each_entry - iterate over list of given type
290 * list_for_each_entry_reverse - iterate backwards over list of given type.
301 * list_for_each_entry_safe - iterate over list of given type. Safe against removal of list entry
406 * hlist_for_each_entry - iterate over list of given type
417 * hlist_for_each_entry_safe - iterate over list of given type safe against removal of list entry
/linux/tools/include/linux/
H A Dhashtable.h99 * hash_for_each - iterate over a hashtable
100 * @name: hashtable to iterate
111 * hash_for_each_safe - iterate over a hashtable safe against removal of
113 * @name: hashtable to iterate
125 * hash_for_each_possible - iterate over all possible objects hashing to the
127 * @name: hashtable to iterate
130 * @key: the key of the objects to iterate over
136 * hash_for_each_possible_safe - iterate over all possible objects hashing to the
138 * @name: hashtable to iterate
142 * @key: the key of the objects to iterate over
H A Dlist.h425 * list_for_each - iterate over a list
433 * list_for_each_prev - iterate over a list backwards
441 * list_for_each_safe - iterate over a list safe against removal of list entry
451 * list_for_each_prev_safe - iterate over a list backwards safe against removal of list entry
462 * list_for_each_entry - iterate over list of given type
473 * list_for_each_entry_reverse - iterate backwards over list of given type.
500 * Continue to iterate over list of given type, continuing after
509 * list_for_each_entry_continue_reverse - iterate backwards from the given point
514 * Start to iterate over list of given type backwards, continuing after
523 * list_for_each_entry_from - iterate over list of given type from the current point
[all …]
/linux/tools/perf/util/
H A Devlist.h267 * __evlist__for_each_entry - iterate thru all the evsels
268 * @list: list_head instance to iterate
275 * evlist__for_each_entry - iterate thru all the evsels
276 * @evlist: evlist instance to iterate
284 * @list: list_head instance to iterate
292 * @evlist: evlist instance to iterate
300 * @list: list_head instance to iterate
308 * @evlist: evlist instance to iterate
315 * __evlist__for_each_entry_reverse - iterate thru all the evsels in reverse order
316 * @list: list_head instance to iterate
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_iter_batch.c265 /* Iterate through the first socks_len - 1 sockets. */ in remove_seen()
279 /* Iterate through the rest of the sockets. */ in remove_seen()
298 /* Iterate through all listening sockets. */ in remove_seen_established()
316 /* Iterate through the rest of the sockets. */ in remove_seen_established()
334 /* Iterate through the first socket. */ in remove_unseen()
349 /* Iterate through the rest of the sockets. */ in remove_unseen()
369 /* Iterate through all listening sockets. */ in remove_unseen_established()
376 /* Iterate through the first established socket. */ in remove_unseen_established()
394 /* Iterate through the rest of the sockets. */ in remove_unseen_established()
412 /* Iterate through the first socket. */ in remove_all()
[all …]
/linux/include/drm/
H A Ddrm_exec.h69 * drm_exec_for_each_locked_object - iterate over all the locked objects
74 * Iterate over all the locked GEM objects inside the drm_exec object.
80 * drm_exec_for_each_locked_object_reverse - iterate over all the locked
86 * Iterate over all the locked GEM objects inside the drm_exec object in
H A Ddrm_atomic_helper.h190 * drm_atomic_crtc_for_each_plane - iterate over planes currently attached to CRTC
195 * atomic state after it has been checked and swapped. To iterate over the
204 * drm_atomic_crtc_state_for_each_plane - iterate over attached planes in new state
217 * drm_atomic_crtc_state_for_each_plane_state - iterate over attached planes in new state
H A Ddrm_encoder.h325 * drm_for_each_encoder_mask - iterate over encoders specified by bitmask
330 * Iterate over all encoders specified by bitmask.
337 * drm_for_each_encoder - iterate over all encoders
341 * Iterate over all encoders of @dev.
/linux/drivers/gpu/drm/vkms/
H A Dvkms_config.h124 * vkms_config_for_each_plane - Iterate over the vkms_config planes
132 * vkms_config_for_each_crtc - Iterate over the vkms_config CRTCs
140 * vkms_config_for_each_encoder - Iterate over the vkms_config encoders
148 * vkms_config_for_each_connector - Iterate over the vkms_config connectors
156 * vkms_config_plane_for_each_possible_crtc - Iterate over the vkms_config_plane
166 * vkms_config_encoder_for_each_possible_crtc - Iterate over the
176 * vkms_config_connector_for_each_possible_encoder - Iterate over the
/linux/Documentation/driver-api/media/
H A Dv4l2-device.rst70 Sometimes you need to iterate over all devices registered by a specific
75 You can iterate over all registered devices as follows:
90 int iterate(void *p)
98 /* iterate over all ivtv device instances */
/linux/block/
H A Dblk-mq-tag.c298 * bt_for_each - iterate over the requests associated with a hardware queue
369 * bt_tags_for_each - iterate over the requests in a tag map
370 * @tags: Tag map to iterate over.
406 * blk_mq_all_tag_iter - iterate over all requests in a tag map
407 * @tags: Tag map to iterate over.
423 * blk_mq_tagset_busy_iter - iterate over all started requests in a tag set
424 * @tagset: Tag set to iterate over.
484 * blk_mq_queue_tag_busy_iter - iterate over all requests with a driver tag
/linux/drivers/gpu/drm/i915/
H A Di915_scatterlist.h83 * __for_each_sgt_daddr - iterate over the device addresses of the given sg_table
86 * @__sgt: sg_table to iterate over (input)
106 * for_each_sgt_page - iterate over the pages of the given sg_table
109 * @__sgt: sg_table to iterate over (input)
/linux/include/acpi/
H A Dnhlt.h59 * for_each_nhlt_endpoint - Iterate over endpoints in a NHLT table.
70 * for_each_nhlt_fmtcfg - Iterate over format configurations.
81 * for_each_nhlt_endpoint_fmtcfg - Iterate over format configurations in an endpoint.
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c203 /* Iterate over all sections in the ELF. */
207 /* Iterate over all Elf64_Rela relocations in a given section. */
323 * by `rela`. This way the kernel can iterate over all kernel VAs used
357 * Iterate over all RELA relocations in a given section and emit
431 /* Iterate over all sections and emit hyp relocation data for RELA sections. */
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_pci.c70 * @prev: the pointer to the previous parameter to iterate from or NULL
247 * @prev: the pointer to the previous parameter to iterate from or NULL
272 * @prev: the pointer to the previous parameter to iterate from or NULL
297 * @prev: the pointer to the previous parameter to iterate from or NULL
384 * xe_pci_live_device_gen_param - Helper to iterate Xe devices as KUnit parameters
/linux/fs/xfs/scrub/
H A Dbitmap.c61 /* Iterate each interval of a bitmap. Do not change the bitmap. */ in INTERVAL_TREE_DEFINE()
202 * The intent is that callers will iterate the rmapbt for all of its records
203 * for a given owner to generate @bitmap; and iterate all the blocks of the
336 /* Iterate each interval of a bitmap. Do not change the bitmap. */ in INTERVAL_TREE_DEFINE()
477 * The intent is that callers will iterate the rmapbt for all of its records
478 * for a given owner to generate @bitmap; and iterate all the blocks of the
/linux/drivers/android/binder/
H A Dpage_range.rs501 unsafe fn iterate<T>(&self, mut offset: usize, mut size: usize, mut cb: T) -> Result in iterate() method
527 // duration of this call to `iterate`, so nobody will change the page. in iterate()
552 // SAFETY: `self.iterate` has the same safety requirements as `copy_from_user_slice`. in copy_from_user_slice()
554 self.iterate(offset, size, |page, offset, to_copy| { in copy_from_user_slice()
568 // SAFETY: `self.iterate` has the same safety requirements as `read`. in read()
570 self.iterate(offset, size_of::<T>(), |page, offset, to_copy| { in read()
590 // SAFETY: `self.iterate` has the same safety requirements as `write`. in write()
592 self.iterate(offset, size_of_val(obj), |page, offset, to_copy| { in write()
609 // SAFETY: `self.iterate` has the same safety requirements as `copy_into`. in fill_zero()
611 self.iterate(offset, size, |page, offset, len| { in fill_zero()

12345678910>>...29