Home
last modified time | relevance | path

Searched refs:icur (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_bmap.c664 struct xfs_iext_cursor icur; in xfs_bmap_extents_to_btree() local
746 for_each_xfs_iext(ifp, &icur, &rec) { in xfs_bmap_extents_to_btree()
835 struct xfs_iext_cursor icur; in xfs_bmap_local_to_extents() local
907 xfs_iext_first(ifp, &icur); in xfs_bmap_local_to_extents()
908 xfs_iext_insert(ip, &icur, &rec, 0); in xfs_bmap_local_to_extents()
1160 struct xfs_iext_cursor icur; member
1208 xfs_iext_insert(ip, &ir->icur, &new, in xfs_iread_bmbt_block()
1210 trace_xfs_read_extent(ip, &ir->icur, in xfs_iread_bmbt_block()
1212 xfs_iext_next(ifp, &ir->icur); in xfs_iread_bmbt_block()
1241 xfs_iext_first(ifp, &ir.icur); in xfs_iread_extents()
[all …]
Dxfs_inode_fork.c110 struct xfs_iext_cursor icur; in xfs_iformat_extents() local
134 xfs_iext_first(ifp, &icur); in xfs_iformat_extents()
147 xfs_iext_insert(ip, &icur, &new, state); in xfs_iformat_extents()
148 trace_xfs_read_extent(ip, &icur, state, _THIS_IP_); in xfs_iformat_extents()
149 xfs_iext_next(ifp, &icur); in xfs_iformat_extents()
544 struct xfs_iext_cursor icur; in xfs_iextents_copy() local
551 for_each_xfs_iext(ifp, &icur, &rec) { in xfs_iextents_copy()
556 trace_xfs_write_extent(ip, &icur, state, _RET_IP_); in xfs_iextents_copy()
Dxfs_bmap.h32 struct xfs_iext_cursor icur; /* incore extent cursor */ member
240 struct xfs_iext_cursor *icur, struct xfs_btree_cur **curp,
Dxfs_ialloc.c1586 struct xfs_btree_cur *icur; /* inobt cursor */ in xfs_dialloc_ag() local
1646 icur = xfs_inobt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_INO); in xfs_dialloc_ag()
1648 error = xfs_check_agi_freecount(icur, agi); in xfs_dialloc_ag()
1652 error = xfs_dialloc_ag_update_inobt(icur, &rec, offset); in xfs_dialloc_ag()
1666 error = xfs_check_agi_freecount(icur, agi); in xfs_dialloc_ag()
1673 xfs_btree_del_cursor(icur, XFS_BTREE_NOERROR); in xfs_dialloc_ag()
1679 xfs_btree_del_cursor(icur, XFS_BTREE_ERROR); in xfs_dialloc_ag()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_reflink.c247 struct xfs_iext_cursor icur; in xfs_reflink_convert_cow_locked() local
253 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &got)) in xfs_reflink_convert_cow_locked()
270 XFS_COW_FORK, &icur, &dummy_cur, &got, in xfs_reflink_convert_cow_locked()
274 } while (xfs_iext_next_extent(ip->i_cowfp, &icur, &got)); in xfs_reflink_convert_cow_locked()
315 struct xfs_iext_cursor icur; in xfs_find_trim_cow_extent() local
323 if (!xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, cmap)) in xfs_find_trim_cow_extent()
466 struct xfs_iext_cursor icur; in xfs_reflink_cancel_cow_blocks() local
471 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_reflink_cancel_cow_blocks()
481 xfs_iext_prev(ifp, &icur); in xfs_reflink_cancel_cow_blocks()
489 &icur, &got, &del); in xfs_reflink_cancel_cow_blocks()
[all …]
Dxfs_iomap.c160 struct xfs_iext_cursor icur; in xfs_iomap_eof_align_last_fsb() local
177 xfs_iext_last(ifp, &icur); in xfs_iomap_eof_align_last_fsb()
178 if (!xfs_iext_get_extent(ifp, &icur, &irec) || in xfs_iomap_eof_align_last_fsb()
366 struct xfs_iext_cursor *icur) in xfs_iomap_prealloc_size() argument
368 struct xfs_iext_cursor ncur = *icur; in xfs_iomap_prealloc_size()
867 struct xfs_iext_cursor icur, ccur; in xfs_buffered_write_iomap_begin() local
905 eof = !xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap); in xfs_buffered_write_iomap_begin()
999 offset, count, &icur); in xfs_buffered_write_iomap_begin()
1024 allocfork == XFS_DATA_FORK ? &icur : &ccur, in xfs_buffered_write_iomap_begin()
1199 struct xfs_iext_cursor icur; in xfs_seek_iomap_begin() local
[all …]
Dxfs_dir2_readdir.c257 struct xfs_iext_cursor icur; in xfs_dir2_leaf_readbuf() local
274 if (!xfs_iext_lookup_extent(dp, ifp, map_off, &icur, &map)) in xfs_dir2_leaf_readbuf()
302 !xfs_iext_next_extent(ifp, &icur, &map)) in xfs_dir2_leaf_readbuf()
326 if (!xfs_iext_next_extent(ifp, &icur, &map)) { in xfs_dir2_leaf_readbuf()
Dxfs_bmap_util.c188 struct xfs_iext_cursor icur; in xfs_bmap_count_leaves() local
192 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
376 struct xfs_iext_cursor icur; in xfs_getbmap() local
480 if (!xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got)) { in xfs_getbmap()
519 if (!xfs_iext_next_extent(ifp, &icur, &got)) { in xfs_getbmap()
558 struct xfs_iext_cursor icur; in xfs_bmap_punch_delalloc_range() local
564 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
578 if (!xfs_iext_prev_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()
583 error = xfs_bmap_del_extent_delay(ip, XFS_DATA_FORK, &icur, in xfs_bmap_punch_delalloc_range()
585 if (error || !xfs_iext_get_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()
Dxfs_aops.c361 struct xfs_iext_cursor icur; in xfs_map_blocks() local
404 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
428 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
Dxfs_super.c608 struct xfs_iext_cursor icur; in xfs_check_delalloc() local
610 if (!ifp || !xfs_iext_lookup_extent(ip, ifp, 0, &icur, &got)) in xfs_check_delalloc()
620 } while (xfs_iext_next_extent(ifp, &icur, &got)); in xfs_check_delalloc()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dbmap.c395 struct xfs_iext_cursor icur; in xchk_bmapbt_rec() local
430 if (!xfs_iext_lookup_extent(ip, ifp, irec.br_startoff, &icur, in xchk_bmapbt_rec()
475 struct xfs_iext_cursor icur; member
508 &sbcri->icur, &irec); in xchk_bmap_check_rmap()
537 have_map = xfs_iext_next_extent(ifp, &sbcri->icur, &irec); in xchk_bmap_check_rmap()
650 struct xfs_iext_cursor icur; in xchk_bmap() local
719 for_each_xfs_iext(ifp, &icur, &irec) { in xchk_bmap()
Dialloc.c626 struct xfs_btree_cur **icur, in xchk_xref_inode_check() argument
632 if (!(*icur) || xchk_skip_xref(sc->sm)) in xchk_xref_inode_check()
635 error = xfs_ialloc_has_inodes_at_extent(*icur, agbno, len, &has_inodes); in xchk_xref_inode_check()
636 if (!xchk_should_check_xref(sc, &error, icur)) in xchk_xref_inode_check()
639 xchk_btree_xref_set_corrupt(sc, *icur, 0); in xchk_xref_inode_check()
Ddir.c656 struct xfs_iext_cursor icur; in xchk_directory_blocks() local
680 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
717 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
724 if (xfs_iext_lookup_extent(sc->ip, ifp, leaf_lblk, &icur, &got) && in xchk_directory_blocks()
727 !xfs_iext_next_extent(ifp, &icur, &got)) { in xchk_directory_blocks()
743 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
781 found = xfs_iext_lookup_extent(sc->ip, ifp, lblk, &icur, &got); in xchk_directory_blocks()
Dquota.c176 struct xfs_iext_cursor icur; in xchk_quota_data_fork() local
190 for_each_xfs_iext(ifp, &icur, &irec) { in xchk_quota_data_fork()