Home
last modified time | relevance | path

Searched defs:iter (Results 1 – 25 of 910) sorted by relevance

12345678910>>...37

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Diters_state_safety.c36 struct bpf_iter_num iter; in create_and_destroy() local
59 struct bpf_iter_num iter; in create_and_forget_to_destroy_fail() local
80 struct bpf_iter_num iter; in destroy_without_creating_fail() local
97 struct bpf_iter_num iter; in compromise_iter_w_direct_write_fail() local
124 struct bpf_iter_num iter; in compromise_iter_w_direct_write_and_skip_destroy_fail() local
149 struct bpf_iter_num iter; in compromise_iter_w_helper_write_fail() local
178 struct bpf_iter_num iter; in subprog_with_iter() local
202 struct bpf_iter_num iter; in valid_stack_reuse() local
236 struct bpf_iter_num iter; in double_create_fail() local
264 struct bpf_iter_num iter; in double_destroy_fail() local
[all …]
Diters_looping.c35 struct bpf_iter_num iter; in consume_first_item_only() local
66 struct bpf_iter_num iter; in missing_null_check_fail() local
99 struct bpf_iter_num iter; in wrong_sized_read_fail() local
132 struct bpf_iter_num iter; in __flag() local
/linux-6.12.1/kernel/trace/
Dtrace_output.c25 enum print_line_t trace_print_bputs_msg_only(struct trace_iterator *iter) in trace_print_bputs_msg_only()
38 enum print_line_t trace_print_bprintk_msg_only(struct trace_iterator *iter) in trace_print_bprintk_msg_only()
51 enum print_line_t trace_print_printk_msg_only(struct trace_iterator *iter) in trace_print_printk_msg_only()
295 int trace_raw_output_prep(struct trace_iterator *iter, in trace_raw_output_prep()
318 void trace_event_printf(struct trace_iterator *iter, const char *fmt, ...) in trace_event_printf()
329 int trace_output_raw(struct trace_iterator *iter, char *name, in trace_output_raw()
340 int trace_output_call(struct trace_iterator *iter, char *name, char *fmt, ...) in trace_output_call()
549 lat_print_timestamp(struct trace_iterator *iter, u64 next_ts) in lat_print_timestamp()
593 static void trace_print_time(struct trace_seq *s, struct trace_iterator *iter, in trace_print_time()
608 int trace_print_context(struct trace_iterator *iter) in trace_print_context()
[all …]
/linux-6.12.1/arch/x86/kvm/mmu/
Dtdp_iter.c12 static void tdp_iter_refresh_sptep(struct tdp_iter *iter) in tdp_iter_refresh_sptep()
23 void tdp_iter_restart(struct tdp_iter *iter) in tdp_iter_restart()
39 void tdp_iter_start(struct tdp_iter *iter, struct kvm_mmu_page *root, in tdp_iter_start()
78 static bool try_step_down(struct tdp_iter *iter) in try_step_down()
110 static bool try_step_side(struct tdp_iter *iter) in try_step_side()
133 static bool try_step_up(struct tdp_iter *iter) in try_step_up()
161 void tdp_iter_next(struct tdp_iter *iter) in tdp_iter_next()
Dtdp_mmu.c213 struct tdp_iter *iter) in tdp_mmu_init_child_sp()
533 static inline int __must_check __tdp_mmu_set_spte_atomic(struct tdp_iter *iter, in __tdp_mmu_set_spte_atomic()
577 struct tdp_iter *iter, in tdp_mmu_set_spte_atomic()
595 struct tdp_iter *iter) in tdp_mmu_zap_spte_atomic()
669 static inline void tdp_mmu_iter_set_spte(struct kvm *kvm, struct tdp_iter *iter, in tdp_mmu_iter_set_spte()
706 struct tdp_iter *iter, in tdp_mmu_iter_cond_resched()
750 struct tdp_iter iter; in __tdp_mmu_zap_root() local
851 struct tdp_iter iter; in tdp_mmu_zap_leafs() local
1019 struct tdp_iter *iter) in tdp_mmu_map_handle_target_level()
1078 static int tdp_mmu_link_sp(struct kvm *kvm, struct tdp_iter *iter, in tdp_mmu_link_sp()
[all …]
/linux-6.12.1/fs/bcachefs/
Dbkey_sort.c13 static inline bool sort_iter_end(struct sort_iter *iter) in sort_iter_end()
18 static inline void sort_iter_sift(struct sort_iter *iter, unsigned from, in sort_iter_sift()
30 static inline void sort_iter_sort(struct sort_iter *iter, sort_cmp_fn cmp) in sort_iter_sort()
38 static inline struct bkey_packed *sort_iter_peek(struct sort_iter *iter) in sort_iter_peek()
43 static inline void sort_iter_advance(struct sort_iter *iter, sort_cmp_fn cmp) in sort_iter_advance()
59 static inline struct bkey_packed *sort_iter_next(struct sort_iter *iter, in sort_iter_next()
81 static inline bool should_drop_next_key(struct sort_iter *iter) in should_drop_next_key()
96 struct sort_iter *iter) in bch2_key_sort_fix_overlapping()
173 unsigned bch2_sort_keys_keep_unwritten_whiteouts(struct bkey_packed *dst, struct sort_iter *iter) in bch2_sort_keys_keep_unwritten_whiteouts()
199 unsigned bch2_sort_keys(struct bkey_packed *dst, struct sort_iter *iter) in bch2_sort_keys()
Dbtree_journal_iter.c118 static void journal_iter_verify(struct journal_iter *iter) in journal_iter_verify()
141 struct journal_iter *iter; in journal_iters_fix() local
162 struct journal_iter *iter; in journal_iters_move_gap() local
306 static void bch2_journal_iter_advance(struct journal_iter *iter) in bch2_journal_iter_advance()
315 static struct bkey_s_c bch2_journal_iter_peek(struct journal_iter *iter) in bch2_journal_iter_peek()
337 static void bch2_journal_iter_exit(struct journal_iter *iter) in bch2_journal_iter_exit()
343 struct journal_iter *iter, in bch2_journal_iter_init()
355 static struct bkey_s_c bch2_journal_iter_peek_btree(struct btree_and_journal_iter *iter) in bch2_journal_iter_peek_btree()
361 static void bch2_journal_iter_advance_btree(struct btree_and_journal_iter *iter) in bch2_journal_iter_advance_btree()
366 void bch2_btree_and_journal_iter_advance(struct btree_and_journal_iter *iter) in bch2_btree_and_journal_iter_advance()
[all …]
Dbtree_iter.c28 static inline unsigned long btree_iter_ip_allocated(struct btree_iter *iter) in btree_iter_ip_allocated()
61 static inline struct bpos bkey_successor(struct btree_iter *iter, struct bpos p) in bkey_successor()
74 static inline struct bpos bkey_predecessor(struct btree_iter *iter, struct bpos p) in bkey_predecessor()
87 static inline struct bpos btree_iter_search_key(struct btree_iter *iter) in btree_iter_search_key()
241 unsigned iter; in bch2_trans_verify_paths() local
247 static void bch2_btree_iter_verify(struct btree_iter *iter) in bch2_btree_iter_verify()
265 static void bch2_btree_iter_verify_entry_exit(struct btree_iter *iter) in bch2_btree_iter_verify_entry_exit()
277 static int bch2_btree_iter_verify_ret(struct btree_iter *iter, struct bkey_s_c k) in bch2_btree_iter_verify_ret()
333 struct trans_for_each_path_inorder_iter iter; in bch2_assert_pos_locked() local
366 static inline void bch2_btree_iter_verify(struct btree_iter *iter) {} in bch2_btree_iter_verify()
[all …]
Dbtree_update.c32 struct btree_iter *iter, in extent_front_merge()
68 struct btree_iter *iter, in extent_back_merge()
96 struct btree_iter iter; in need_whiteout_for_snapshot() local
187 struct btree_iter *iter, in bch2_trans_update_extent_overwrite()
290 struct btree_iter iter; in bch2_trans_update_extent() local
472 struct btree_iter *iter, in bch2_trans_update_get_key_cache()
511 int __must_check bch2_trans_update(struct btree_trans *trans, struct btree_iter *iter, in bch2_trans_update()
588 int bch2_bkey_get_empty_slot(struct btree_trans *trans, struct btree_iter *iter, in bch2_bkey_get_empty_slot()
630 struct btree_iter iter; in bch2_btree_insert_nonextent() local
646 struct btree_iter iter; in bch2_btree_insert_trans() local
[all …]
/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_damage_helper_test.c122 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_no_damage() local
140 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_no_damage_fractional_src() local
161 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_no_damage_src_moved() local
180 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_no_damage_fractional_src_moved() local
200 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_no_damage_not_visible() local
218 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_no_damage_no_crtc() local
236 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_no_damage_no_fb() local
254 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_simple_damage() local
277 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_single_damage() local
299 struct drm_atomic_helper_damage_iter iter; in drm_test_damage_iter_single_damage_intersect_src() local
[all …]
/linux-6.12.1/include/linux/
Dbvec.h98 #define __bvec_iter_bvec(bvec, iter) (&(bvec)[(iter).bi_idx]) argument
101 #define mp_bvec_iter_page(bvec, iter) \ argument
104 #define mp_bvec_iter_len(bvec, iter) \ argument
108 #define mp_bvec_iter_offset(bvec, iter) \ argument
111 #define mp_bvec_iter_page_idx(bvec, iter) \ argument
114 #define mp_bvec_iter_bvec(bvec, iter) \ argument
122 #define bvec_iter_offset(bvec, iter) \ argument
125 #define bvec_iter_len(bvec, iter) \ argument
129 #define bvec_iter_page(bvec, iter) \ argument
133 #define bvec_iter_bvec(bvec, iter) \ argument
[all …]
Diov_iter.h24 size_t iterate_ubuf(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_ubuf()
41 size_t iterate_iovec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_iovec()
75 size_t iterate_kvec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_kvec()
109 size_t iterate_bvec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_bvec()
148 size_t iterate_folioq(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_folioq()
202 size_t iterate_xarray(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_xarray()
255 size_t iterate_discard(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_discard()
291 size_t iterate_and_advance2(struct iov_iter *iter, size_t len, void *priv, in iterate_and_advance2()
325 size_t iterate_and_advance(struct iov_iter *iter, size_t len, void *priv, in iterate_and_advance()
360 size_t iterate_and_advance_kernel(struct iov_iter *iter, size_t len, void *priv, in iterate_and_advance_kernel()
Dbio.h25 #define bio_iter_iovec(bio, iter) \ argument
28 #define bio_iter_page(bio, iter) \ argument
30 #define bio_iter_len(bio, iter) \ argument
32 #define bio_iter_offset(bio, iter) \ argument
39 #define bvec_iter_sectors(iter) ((iter).bi_size >> 9) argument
40 #define bvec_iter_end_sector(iter) ((iter).bi_sector + bvec_iter_sectors((iter))) argument
82 struct bvec_iter_all *iter) in bio_next_segment()
95 #define bio_for_each_segment_all(bvl, bio, iter) \ argument
99 struct bvec_iter *iter, unsigned int bytes) in bio_advance_iter()
112 struct bvec_iter *iter, in bio_advance_iter_single()
[all …]
Dradix-tree.h281 radix_tree_iter_init(struct radix_tree_iter *iter, unsigned long start) in radix_tree_iter_init()
324 struct radix_tree_iter *iter, unsigned long index) in radix_tree_iter_lookup()
340 void __rcu **radix_tree_iter_retry(struct radix_tree_iter *iter) in radix_tree_iter_retry()
348 __radix_tree_iter_add(struct radix_tree_iter *iter, unsigned long slots) in __radix_tree_iter_add()
373 radix_tree_chunk_size(struct radix_tree_iter *iter) in radix_tree_chunk_size()
398 struct radix_tree_iter *iter, unsigned flags) in radix_tree_next_slot()
449 #define radix_tree_for_each_slot(slot, root, iter, start) \ argument
465 #define radix_tree_for_each_tagged(slot, root, iter, start, tag) \ argument
/linux-6.12.1/fs/udf/
Ddirectory.c19 static int udf_verify_fi(struct udf_fileident_iter *iter) in udf_verify_fi()
67 static int udf_copy_fi(struct udf_fileident_iter *iter) in udf_copy_fi()
125 static void udf_readahead_dir(struct udf_fileident_iter *iter) in udf_readahead_dir()
154 static struct buffer_head *udf_fiiter_bread_blk(struct udf_fileident_iter *iter) in udf_fiiter_bread_blk()
167 static int udf_fiiter_advance_blk(struct udf_fileident_iter *iter) in udf_fiiter_advance_blk()
194 static int udf_fiiter_load_bhs(struct udf_fileident_iter *iter) in udf_fiiter_load_bhs()
244 int udf_fiiter_init(struct udf_fileident_iter *iter, struct inode *dir, in udf_fiiter_init()
290 int udf_fiiter_advance(struct udf_fileident_iter *iter) in udf_fiiter_advance()
320 void udf_fiiter_release(struct udf_fileident_iter *iter) in udf_fiiter_release()
407 void udf_fiiter_write_fi(struct udf_fileident_iter *iter, uint8_t *impuse) in udf_fiiter_write_fi()
[all …]
Dnamei.c53 struct udf_fileident_iter *iter) in udf_fiiter_find_entry()
111 struct udf_fileident_iter iter; in udf_lookup() local
141 struct udf_fileident_iter iter; in udf_expand_dir_adinicb() local
221 struct udf_fileident_iter *iter) in udf_fiiter_add_entry()
321 static void udf_fiiter_delete_entry(struct udf_fileident_iter *iter) in udf_fiiter_delete_entry()
350 struct udf_fileident_iter iter; in udf_add_nondir() local
426 struct udf_fileident_iter iter; in udf_mkdir() local
479 struct udf_fileident_iter iter; in empty_dir() local
500 struct udf_fileident_iter iter; in udf_rmdir() local
536 struct udf_fileident_iter iter; in udf_unlink() local
[all …]
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-dump.c44 static void mcp251xfd_dump_header(struct mcp251xfd_dump_iter *iter, in mcp251xfd_dump_header()
65 struct mcp251xfd_dump_iter *iter) in mcp251xfd_dump_registers()
101 static void mcp251xfd_dump_ring(struct mcp251xfd_dump_iter *iter, in mcp251xfd_dump_ring()
118 struct mcp251xfd_dump_iter *iter) in mcp251xfd_dump_tef_ring()
152 struct mcp251xfd_dump_iter *iter, in mcp251xfd_dump_rx_ring_one()
185 struct mcp251xfd_dump_iter *iter) in mcp251xfd_dump_rx_ring()
195 struct mcp251xfd_dump_iter *iter) in mcp251xfd_dump_tx_ring()
228 struct mcp251xfd_dump_iter *iter) in mcp251xfd_dump_end()
243 struct mcp251xfd_dump_iter iter; in mcp251xfd_dump() local
/linux-6.12.1/drivers/gpu/drm/
Ddrm_displayid.c76 struct displayid_iter *iter) in displayid_iter_edid_begin()
84 displayid_iter_block(const struct displayid_iter *iter) in displayid_iter_block()
101 __displayid_iter_next(struct displayid_iter *iter) in __displayid_iter_next()
158 void displayid_iter_end(struct displayid_iter *iter) in displayid_iter_end()
164 u8 displayid_version(const struct displayid_iter *iter) in displayid_version()
173 u8 displayid_primary_use(const struct displayid_iter *iter) in displayid_primary_use()
/linux-6.12.1/drivers/gpu/drm/i915/
Dintel_gvt_mmio_table.c55 static int iterate_generic_mmio(struct intel_gvt_mmio_table_iter *iter) in iterate_generic_mmio()
708 static int iterate_bdw_only_mmio(struct intel_gvt_mmio_table_iter *iter) in iterate_bdw_only_mmio()
733 static int iterate_bdw_plus_mmio(struct intel_gvt_mmio_table_iter *iter) in iterate_bdw_plus_mmio()
886 static int iterate_pre_skl_mmio(struct intel_gvt_mmio_table_iter *iter) in iterate_pre_skl_mmio()
905 static int iterate_skl_plus_mmio(struct intel_gvt_mmio_table_iter *iter) in iterate_skl_plus_mmio()
1104 static int iterate_bxt_mmio(struct intel_gvt_mmio_table_iter *iter) in iterate_bxt_mmio()
1266 int intel_gvt_iterate_mmio_table(struct intel_gvt_mmio_table_iter *iter) in intel_gvt_iterate_mmio_table()
/linux-6.12.1/net/netlabel/
Dnetlabel_addrlist.c49 struct netlbl_af4list *iter; in netlbl_af4list_search() local
74 struct netlbl_af4list *iter; in netlbl_af4list_search_exact() local
99 struct netlbl_af6list *iter; in netlbl_af6list_search() local
125 struct netlbl_af6list *iter; in netlbl_af6list_search_exact() local
150 struct netlbl_af4list *iter; in netlbl_af4list_add() local
187 struct netlbl_af6list *iter; in netlbl_af6list_add() local
357 int iter = -1; in netlbl_af6list_audit_addr() local
/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic-debug.c35 static void iter_next(struct kvm *kvm, struct vgic_state_iter *iter) in iter_next()
94 static void iter_init(struct kvm *kvm, struct vgic_state_iter *iter, in iter_init()
111 static bool end_of_vgic(struct vgic_state_iter *iter) in end_of_vgic()
122 struct vgic_state_iter *iter; in vgic_debug_start() local
150 struct vgic_state_iter *iter = kvm->arch.vgic.iter; in vgic_debug_next() local
162 struct vgic_state_iter *iter; in vgic_debug_stop() local
180 struct vgic_state_iter *iter) in print_dist_state()
270 struct vgic_state_iter *iter = v; in vgic_debug_show() local
/linux-6.12.1/block/
Dt10-pi.c37 static void t10_pi_generate(struct blk_integrity_iter *iter, in t10_pi_generate()
64 static blk_status_t t10_pi_verify(struct blk_integrity_iter *iter, in t10_pi_verify()
137 struct bvec_iter iter; in t10_pi_type1_prepare() local
189 struct bvec_iter iter; in t10_pi_type1_complete() local
216 static void ext_pi_crc64_generate(struct blk_integrity_iter *iter, in ext_pi_crc64_generate()
249 static blk_status_t ext_pi_crc64_verify(struct blk_integrity_iter *iter, in ext_pi_crc64_verify()
311 struct bvec_iter iter; in ext_pi_type1_prepare() local
352 struct bvec_iter iter; in ext_pi_type1_complete() local
379 struct blk_integrity_iter iter; in blk_integrity_generate() local
411 struct blk_integrity_iter iter; in blk_integrity_verify() local
/linux-6.12.1/drivers/infiniband/ulp/ipoib/
Dipoib_fs.c60 struct ipoib_mcast_iter *iter; in ipoib_mcg_seq_start() local
80 struct ipoib_mcast_iter *iter = iter_ptr; in ipoib_mcg_seq_next() local
99 struct ipoib_mcast_iter *iter = iter_ptr; in ipoib_mcg_seq_show() local
138 struct ipoib_path_iter *iter; in ipoib_path_seq_start() local
158 struct ipoib_path_iter *iter = iter_ptr; in ipoib_path_seq_next() local
177 struct ipoib_path_iter *iter = iter_ptr; in ipoib_path_seq_show() local
/linux-6.12.1/fs/iomap/
Dseek.c13 static loff_t iomap_seek_hole_iter(const struct iomap_iter *iter, in iomap_seek_hole_iter()
37 struct iomap_iter iter = { in iomap_seek_hole() local
59 static loff_t iomap_seek_data_iter(const struct iomap_iter *iter, in iomap_seek_data_iter()
83 struct iomap_iter iter = { in iomap_seek_data() local
/linux-6.12.1/arch/x86/kernel/
Dcrash_dump_64.c15 static ssize_t __copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, in __copy_oldmem_page()
38 ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, size_t csize, in copy_oldmem_page()
49 ssize_t copy_oldmem_page_encrypted(struct iov_iter *iter, unsigned long pfn, in copy_oldmem_page_encrypted()
58 struct iov_iter iter; in elfcorehdr_read() local

12345678910>>...37