/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_attr.c | 92 if (xfs_bmap_one_block(args->dp, XFS_ATTR_FORK)) in xfs_attr_get_ilocked() 126 args->whichfork = XFS_ATTR_FORK; in xfs_attr_get() 156 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size() 169 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size() 296 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) { in xfs_attr_set_args() 350 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) { in xfs_has_attr() 377 } else if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) { in xfs_attr_remove_args() 409 args->whichfork = XFS_ATTR_FORK; in xfs_attr_set() 1286 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) in xfs_attr_node_removename() 1368 &blk->bp, XFS_ATTR_FORK); in xfs_attr_refillstate() [all …]
|
D | xfs_log_rlimit.c | 31 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res() 33 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
|
D | xfs_bmap.h | 120 return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : in xfs_bmapi_aflag() 129 return XFS_ATTR_FORK; in xfs_bmapi_whichfork() 278 case XFS_ATTR_FORK: in xfs_bmap_fork_to_state()
|
D | xfs_trans_space.h | 69 XFS_DAREMOVE_SPACE_RES(mp, XFS_ATTR_FORK) 72 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
|
D | xfs_inode_fork.h | 47 ((w) == XFS_ATTR_FORK ? \ 57 ((w) == XFS_ATTR_FORK ? \
|
D | xfs_inode_fork.c | 302 error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, in xfs_iformat_attr_fork() 308 error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK); in xfs_iformat_attr_fork() 311 error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK); in xfs_iformat_attr_fork() 601 ASSERT(whichfork == XFS_ATTR_FORK); in xfs_iflush_fork()
|
D | xfs_rmap.h | 18 if (whichfork == XFS_ATTR_FORK) in xfs_rmap_ino_bmbt_owner() 32 if (whichfork == XFS_ATTR_FORK) in xfs_rmap_ino_owner()
|
D | xfs_trans_resv.c | 693 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrinval_reservation() 736 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrsetrt_reservation() 760 XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK)) + in xfs_calc_attrrm_reservation()
|
D | xfs_types.h | 86 #define XFS_ATTR_FORK 1 macro
|
D | xfs_attr_leaf.c | 436 err = xfs_da_read_buf(tp, dp, bno, 0, bpp, XFS_ATTR_FORK, in xfs_attr3_leaf_read() 661 xfs_idata_realloc(dp, sizeof(*hdr), XFS_ATTR_FORK); in xfs_attr_shortform_create() 743 xfs_idata_realloc(dp, size, XFS_ATTR_FORK); in xfs_attr_shortform_add() 823 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_remove() 924 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf() 925 xfs_bmap_local_to_extents_empty(args->trans, dp, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf() 941 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf() 1025 ifp = XFS_IFORK_PTR(ip, XFS_ATTR_FORK); in xfs_attr_shortform_verify() 1144 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr3_leaf_to_shortform() 1198 error = xfs_da_get_buf(args->trans, dp, blkno, &bp2, XFS_ATTR_FORK); in xfs_attr3_leaf_to_node() [all …]
|
D | xfs_inode_buf.c | 382 if (whichfork == XFS_ATTR_FORK) { in xfs_dinode_verify_fork() 504 fa = xfs_dinode_verify_fork(dip, mp, XFS_ATTR_FORK); in xfs_dinode_verify()
|
D | xfs_attr_remote.c | 461 XFS_ATTR_FORK); in xfs_attr_rmt_find_hole()
|
D | xfs_rmap.c | 2513 if (whichfork != XFS_ATTR_FORK && xfs_is_reflink_inode(ip)) in xfs_rmap_map_extent() 2532 if (whichfork != XFS_ATTR_FORK && xfs_is_reflink_inode(ip)) in xfs_rmap_unmap_extent() 2557 if (whichfork != XFS_ATTR_FORK && xfs_is_reflink_inode(ip)) in xfs_rmap_convert_extent()
|
D | xfs_da_btree.c | 402 if (whichfork == XFS_ATTR_FORK) in xfs_da3_node_read_mapped() 787 useextra = state->extravalid && state->args->whichfork == XFS_ATTR_FORK; in xfs_da3_node_split() 2645 if (whichfork == XFS_ATTR_FORK) in xfs_da_read_buf()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_attr_inactive.c | 175 XFS_ATTR_FORK); in xfs_attr3_node_inactive() 229 parent_blkno, &bp, XFS_ATTR_FORK); in xfs_attr3_node_inactive() 271 error = xfs_da3_node_read(*trans, dp, 0, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive() 375 error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK, 0); in xfs_attr_inactive()
|
D | xfs_attr_list.c | 222 XFS_ATTR_FORK); in xfs_attr_node_list_lookup() 307 XFS_ATTR_FORK); in xfs_attr_node_list() 517 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) in xfs_attr_list_ilocked()
|
D | xfs_bmap_util.c | 395 whichfork = XFS_ATTR_FORK; in xfs_getbmap() 404 case XFS_ATTR_FORK: in xfs_getbmap() 524 if (whichfork != XFS_ATTR_FORK && bno < end && in xfs_getbmap() 1445 error = xfs_bmap_count_blocks(tp, ip, XFS_ATTR_FORK, &junk, in xfs_swap_extent_forks() 1452 error = xfs_bmap_count_blocks(tp, tip, XFS_ATTR_FORK, &junk, in xfs_swap_extent_forks()
|
D | xfs_rmap_item.c | 268 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_rmap_flags() 529 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_rui_item_recover()
|
D | xfs_bmap_item.c | 298 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_bmap_flags() 460 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_bui_item_recover()
|
D | xfs_inode_item_recover.c | 107 error = xfs_bmbt_change_owner(NULL, ip, XFS_ATTR_FORK, in xfs_recover_inode_owner_change()
|
D | xfs_inode_item.c | 244 data_bytes = xfs_iextents_copy(ip, p, XFS_ATTR_FORK); in xfs_inode_item_format_attr_fork()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | attr.c | 133 xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_listent() 153 args.whichfork = XFS_ATTR_FORK; in xchk_xattr_listent() 166 if (!xchk_fblock_process_error(sx->sc, XFS_ATTR_FORK, args.blkno, in xchk_xattr_listent() 170 xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, in xchk_xattr_listent() 485 error = xchk_da_btree(sc, XFS_ATTR_FORK, xchk_xattr_rec, in xchk_xattr() 518 if (!xchk_fblock_process_error(sc, XFS_ATTR_FORK, 0, &error)) in xchk_xattr()
|
D | bmap.c | 114 if (info->whichfork == XFS_ATTR_FORK) in xchk_bmap_get_rmap() 226 if (!!(info->whichfork == XFS_ATTR_FORK) != in xchk_bmap_xref_rmap() 276 case XFS_ATTR_FORK: in xchk_bmap_iextent_xref() 302 if (!S_ISDIR(VFS_I(ip)->i_mode) && info->whichfork != XFS_ATTR_FORK) in xchk_bmap_dirattr_extent() 371 info->whichfork == XFS_ATTR_FORK) in xchk_bmap_iextent() 494 if ((sbcri->whichfork == XFS_ATTR_FORK) ^ in xchk_bmap_check_rmap() 670 case XFS_ATTR_FORK: in xchk_bmap() 755 return xchk_bmap(sc, XFS_ATTR_FORK); in xchk_bmap_attr()
|
D | inode.c | 497 error = xfs_bmap_count_blocks(sc->tp, sc->ip, XFS_ATTR_FORK, in xchk_inode_xref_bmap()
|
D | dabtree.c | 496 if (whichfork == XFS_ATTR_FORK) { in xchk_da_btree()
|