Home
last modified time | relevance | path

Searched refs:src_iter (Results 1 – 15 of 15) sorted by relevance

/linux/fs/bcachefs/
H A Ddirent.c284 struct btree_iter src_iter = { NULL }; in bch2_dirent_rename() local
298 old_src = bch2_hash_lookup(trans, &src_iter, bch2_dirent_hash_desc, in bch2_dirent_rename()
355 new_src->k.p = src_iter.pos; in bch2_dirent_rename()
363 new_src->k.p = src_iter.pos; in bch2_dirent_rename()
365 if (bkey_le(dst_pos, src_iter.pos) && in bch2_dirent_rename()
366 bkey_lt(src_iter.pos, dst_iter.pos)) { in bch2_dirent_rename()
380 new_src->k.p = src_iter.pos; in bch2_dirent_rename()
393 src_hash, &src_iter); in bch2_dirent_rename()
437 bch2_btree_iter_set_snapshot(&src_iter, old_src.k->p.snapshot); in bch2_dirent_rename()
438 ret = bch2_btree_iter_traverse(&src_iter) ?: in bch2_dirent_rename()
[all …]
H A Dreflink.c432 struct btree_iter dst_iter, src_iter; in bch2_remap_range() local
460 bch2_trans_iter_init(trans, &src_iter, BTREE_ID_extents, src_start, in bch2_remap_range()
482 bch2_btree_iter_set_snapshot(&src_iter, src_snapshot); in bch2_remap_range()
500 bch2_btree_iter_set_pos(&src_iter, src_want); in bch2_remap_range()
502 src_k = get_next_src(&src_iter, src_end); in bch2_remap_range()
507 if (bkey_lt(src_want, src_iter.pos)) { in bch2_remap_range()
511 src_iter.pos.offset - src_want.offset), in bch2_remap_range()
517 bch2_btree_iter_set_pos_to_extent_start(&src_iter); in bch2_remap_range()
522 ret = bch2_make_extent_indirect(trans, &src_iter, in bch2_remap_range()
558 bch2_trans_iter_exit(trans, &src_iter); in bch2_remap_range()
H A Dbkey_sort.c124 struct btree_node_iter *src_iter, in bch2_sort_repack() argument
135 while ((in = bch2_btree_node_iter_next_all(src_iter, src))) { in bch2_sort_repack()
H A Dsubvolume.c543 struct btree_iter dst_iter, src_iter = (struct btree_iter) { NULL }; in bch2_subvolume_create() local
562 src_subvol = bch2_bkey_get_mut_typed(trans, &src_iter, in bch2_subvolume_create()
583 ret = bch2_trans_update(trans, &src_iter, &src_subvol->k_i, 0); in bch2_subvolume_create()
607 bch2_trans_iter_exit(trans, &src_iter); in bch2_subvolume_create()
H A Dutil.c686 void memcpy_from_bio(void *dst, struct bio *src, struct bvec_iter src_iter) in memcpy_from_bio() argument
691 __bio_for_each_segment(bv, src, iter, src_iter) { in memcpy_from_bio()
H A Dio_read.c632 struct bvec_iter src_iter = src->bi_iter; in __bch2_read_endio() local
634 bio_copy_data_iter(dst, &dst_iter, src, &src_iter); in __bch2_read_endio()
H A Dbtree_io.c390 struct btree_node_iter src_iter; in bch2_btree_sort_into() local
397 bch2_btree_node_iter_init_from_start(&src_iter, src); in bch2_btree_sort_into()
400 src, &src_iter, in bch2_btree_sort_into()
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c87 struct ttm_kmap_iter *src_iter) in ttm_move_memcpy() argument
90 const struct ttm_kmap_iter_ops *src_ops = src_iter->ops; in ttm_move_memcpy()
114 src_ops->map_local(src_iter, &src_map, i); in ttm_move_memcpy()
119 src_ops->unmap_local(src_iter, &src_map); in ttm_move_memcpy()
156 struct ttm_kmap_iter *dst_iter, *src_iter; in ttm_bo_move_memcpy() local
178 if (PTR_ERR(src_iter) == -EINVAL && src_man->use_tt) in ttm_bo_move_memcpy()
179 src_iter = ttm_kmap_iter_tt_init(&_src_iter.tt, bo->ttm); in ttm_bo_move_memcpy()
180 if (IS_ERR(src_iter)) { in ttm_bo_move_memcpy()
181 ret = PTR_ERR(src_iter); in ttm_bo_move_memcpy()
187 ttm_move_memcpy(clear, PFN_UP(dst_mem->size), dst_iter, src_iter); in ttm_bo_move_memcpy()
[all …]
/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_py_to_csv.py21 def create_csv(name, D, src_iter): argument
28 for src,val in src_iter(srcD):
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_move.c270 struct ttm_kmap_iter *src_iter; member
308 arg->dst_iter, arg->src_iter); in i915_ttm_move_memcpy()
329 arg->src_iter = !i915_ttm_cpu_maps_iomem(bo->resource) ? in i915_ttm_memcpy_init()
/linux/block/
H A Dbio.c1492 struct bio *src, struct bvec_iter *src_iter) in bio_copy_data_iter() argument
1494 while (src_iter->bi_size && dst_iter->bi_size) { in bio_copy_data_iter()
1495 struct bio_vec src_bv = bio_iter_iovec(src, *src_iter); in bio_copy_data_iter()
1506 bio_advance_iter_single(src, src_iter, bytes); in bio_copy_data_iter()
1522 struct bvec_iter src_iter = src->bi_iter; in bio_copy_data() local
1525 bio_copy_data_iter(dst, &dst_iter, src, &src_iter); in bio_copy_data()
/linux/include/drm/ttm/
H A Dttm_bo.h451 struct ttm_kmap_iter *src_iter);
/linux/fs/
H A Ddax.c2049 struct iomap_iter src_iter = { in dax_dedupe_file_range_compare() local
2063 while ((ret = iomap_iter(&src_iter, ops)) > 0 && in dax_dedupe_file_range_compare()
2065 compared = dax_range_compare_iter(&src_iter, &dst_iter, in dax_dedupe_file_range_compare()
2066 min(src_iter.len, dst_iter.len), same); in dax_dedupe_file_range_compare()
2069 src_iter.processed = dst_iter.processed = compared; in dax_dedupe_file_range_compare()
/linux/drivers/block/
H A Dpktcdvd.c1238 struct bvec_iter src_iter = src->bi_iter; in bio_list_copy_data() local
1242 if (!src_iter.bi_size) { in bio_list_copy_data()
1247 src_iter = src->bi_iter; in bio_list_copy_data()
1258 bio_copy_data_iter(dst, &dst_iter, src, &src_iter); in bio_list_copy_data()
/linux/include/linux/
H A Dbio.h434 struct bio *src, struct bvec_iter *src_iter);