Home
last modified time | relevance | path

Searched refs:XFS_ATTR_FORK (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/fs/xfs/scrub/
Dattr.c56 ifp = xfs_ifork_ptr(sc->ip, XFS_ATTR_FORK); in xchk_xattr_want_freemap()
165 .whichfork = XFS_ATTR_FORK, in xchk_xattr_listent()
193 xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_listent()
199 xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_listent()
230 if (!xchk_fblock_process_error(sx->sc, XFS_ATTR_FORK, args.blkno, in xchk_xattr_listent()
234 xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, in xchk_xattr_listent()
538 ifp = xfs_ifork_ptr(sc->ip, XFS_ATTR_FORK); in xchk_xattr_check_sf()
547 xchk_fblock_set_corrupt(sc, XFS_ATTR_FORK, 0); in xchk_xattr_check_sf()
560 xchk_fblock_set_corrupt(sc, XFS_ATTR_FORK, 0); in xchk_xattr_check_sf()
567 xchk_fblock_set_corrupt(sc, XFS_ATTR_FORK, 0); in xchk_xattr_check_sf()
[all …]
Dbmap.c130 if (info->whichfork == XFS_ATTR_FORK) in xchk_bmap_get_rmap()
223 if (!!(info->whichfork == XFS_ATTR_FORK) != in xchk_bmap_xref_rmap()
336 case XFS_ATTR_FORK: in xchk_bmap_iextent_xref()
375 if (!S_ISDIR(VFS_I(ip)->i_mode) && info->whichfork != XFS_ATTR_FORK) in xchk_bmap_dirattr_extent()
423 info->whichfork == XFS_ATTR_FORK) in xchk_bmap_iextent()
549 if ((sbcri->whichfork == XFS_ATTR_FORK) ^ in xchk_bmap_check_rmap()
859 case XFS_ATTR_FORK: in xchk_bmap()
950 return xchk_bmap(sc, XFS_ATTR_FORK); in xchk_bmap_attr()
Ddabtree.c500 if (whichfork == XFS_ATTR_FORK) { in xchk_da_btree()
Dinode.c656 error = xfs_bmap_count_blocks(sc->tp, sc->ip, XFS_ATTR_FORK, in xchk_inode_xref_bmap()
/linux-6.6.21/fs/xfs/
Dxfs_attr_inactive.c176 XFS_ATTR_FORK); in xfs_attr3_node_inactive()
226 parent_blkno, &bp, XFS_ATTR_FORK); in xfs_attr3_node_inactive()
269 error = xfs_da3_node_read(*trans, dp, 0, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
371 error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK, 0); in xfs_attr_inactive()
Dxfs_inode.h115 case XFS_ATTR_FORK: in xfs_ifork_ptr()
155 case XFS_ATTR_FORK: in xfs_inode_fork_size()
Dxfs_attr_list.c222 XFS_ATTR_FORK); in xfs_attr_node_list_lookup()
307 XFS_ATTR_FORK); in xfs_attr_node_list()
Dxfs_bmap_util.c435 whichfork = XFS_ATTR_FORK; in xfs_getbmap()
443 case XFS_ATTR_FORK: in xfs_getbmap()
565 if (whichfork != XFS_ATTR_FORK && bno < end && in xfs_getbmap()
1516 error = xfs_bmap_count_blocks(tp, ip, XFS_ATTR_FORK, &junk, in xfs_swap_extent_forks()
1523 error = xfs_bmap_count_blocks(tp, tip, XFS_ATTR_FORK, &junk, in xfs_swap_extent_forks()
Dxfs_bmap_item.c303 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_bmap_flags()
511 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_bui_item_recover()
Dxfs_rmap_item.c256 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_rmap_flags()
581 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_rui_item_recover()
Dxfs_inode_item_recover.c107 error = xfs_bmbt_change_owner(NULL, ip, XFS_ATTR_FORK, in xfs_recover_inode_owner_change()
Dxfs_attr_item.c589 args->whichfork = XFS_ATTR_FORK; in xfs_attri_item_recover()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_bmap.h106 return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : in xfs_bmapi_aflag()
115 return XFS_ATTR_FORK; in xfs_bmapi_whichfork()
257 case XFS_ATTR_FORK: in xfs_bmap_fork_to_state()
Dxfs_log_rlimit.c32 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
34 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
Dxfs_trans_space.h75 XFS_DAREMOVE_SPACE_RES(mp, XFS_ATTR_FORK)
78 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
Dxfs_types.h80 #define XFS_ATTR_FORK 1 macro
85 { XFS_ATTR_FORK, "attr" }, \
Dxfs_inode_fork.h114 case XFS_ATTR_FORK: in xfs_iext_max_nextents()
153 case XFS_ATTR_FORK: in xfs_dfork_nextents()
Dxfs_attr.c183 &blk->bp, XFS_ATTR_FORK);
201 &blk->bp, XFS_ATTR_FORK);
268 args->whichfork = XFS_ATTR_FORK; in xfs_attr_get()
298 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size()
311 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
982 args->whichfork = XFS_ATTR_FORK; in xfs_attr_set()
1029 error = xfs_iext_count_may_overflow(dp, XFS_ATTR_FORK, in xfs_attr_set()
Dxfs_rmap.h20 if (whichfork == XFS_ATTR_FORK) in xfs_rmap_ino_bmbt_owner()
34 if (whichfork == XFS_ATTR_FORK) in xfs_rmap_ino_owner()
Dxfs_inode_fork.c329 error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, in xfs_iformat_attr_fork()
335 error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK); in xfs_iformat_attr_fork()
338 error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK); in xfs_iformat_attr_fork()
619 ASSERT(whichfork == XFS_ATTR_FORK); in xfs_iflush_fork()
Dxfs_trans_resv.c785 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrinval_reservation()
828 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrsetrt_reservation()
852 XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK)) + in xfs_calc_attrrm_reservation()
Dxfs_attr_leaf.c455 err = xfs_da_read_buf(tp, dp, bno, 0, bpp, XFS_ATTR_FORK, in xfs_attr3_leaf_read()
693 xfs_idata_realloc(dp, sizeof(*hdr), XFS_ATTR_FORK); in xfs_attr_shortform_create()
775 xfs_idata_realloc(dp, size, XFS_ATTR_FORK); in xfs_attr_shortform_add()
860 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_sf_removename()
957 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf()
958 xfs_bmap_local_to_extents_empty(args->trans, dp, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf()
974 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
1057 ifp = xfs_ifork_ptr(ip, XFS_ATTR_FORK); in xfs_attr_shortform_verify()
1184 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr3_leaf_to_shortform()
1243 error = xfs_da_get_buf(args->trans, dp, blkno, &bp2, XFS_ATTR_FORK); in xfs_attr3_leaf_to_node()
[all …]
Dxfs_attr_remote.c461 XFS_ATTR_FORK); in xfs_attr_rmt_find_hole()
Dxfs_inode_buf.c554 fa = xfs_dinode_verify_fork(dip, mp, XFS_ATTR_FORK); in xfs_dinode_verify()
Dxfs_da_btree.c414 if (whichfork == XFS_ATTR_FORK) in xfs_da3_node_read_mapped()
802 useextra = state->extravalid && state->args->whichfork == XFS_ATTR_FORK; in xfs_da3_node_split()
2657 if (whichfork == XFS_ATTR_FORK) in xfs_da_read_buf()

12