Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_attr.c92 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()
1283 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) in xfs_attr_node_removename()
1365 &blk->bp, XFS_ATTR_FORK); in xfs_attr_refillstate()
[all …]
Dxfs_log_rlimit.c31 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()
Dxfs_bmap.h120 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()
Dxfs_trans_space.h69 XFS_DAREMOVE_SPACE_RES(mp, XFS_ATTR_FORK)
72 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
Dxfs_inode_fork.h47 ((w) == XFS_ATTR_FORK ? \
57 ((w) == XFS_ATTR_FORK ? \
Dxfs_inode_fork.c302 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()
Dxfs_rmap.h18 if (whichfork == XFS_ATTR_FORK) in xfs_rmap_ino_bmbt_owner()
32 if (whichfork == XFS_ATTR_FORK) in xfs_rmap_ino_owner()
Dxfs_trans_resv.c693 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()
Dxfs_types.h87 #define XFS_ATTR_FORK 1 macro
Dxfs_attr_leaf.c436 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 …]
Dxfs_inode_buf.c399 if (whichfork == XFS_ATTR_FORK) { in xfs_dinode_verify_fork()
521 fa = xfs_dinode_verify_fork(dip, mp, XFS_ATTR_FORK); in xfs_dinode_verify()
Dxfs_attr_remote.c461 XFS_ATTR_FORK); in xfs_attr_rmt_find_hole()
Dxfs_rmap.c2513 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()
Dxfs_da_btree.c402 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/
Dxfs_attr_inactive.c175 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()
Dxfs_attr_list.c222 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()
Dxfs_bmap_util.c395 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()
Dxfs_bmap_item.c298 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_bmap_flags()
460 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_bui_item_recover()
Dxfs_rmap_item.c268 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_rmap_flags()
529 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_inode_item.c258 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/
Dattr.c133 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()
Dbmap.c114 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()
Dinode.c497 error = xfs_bmap_count_blocks(sc->tp, sc->ip, XFS_ATTR_FORK, in xchk_inode_xref_bmap()
Ddabtree.c496 if (whichfork == XFS_ATTR_FORK) { in xchk_da_btree()

12