Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_inode_fork.h45 ((w) == XFS_ATTR_FORK ? \
60 ((w) == XFS_ATTR_FORK ? \
66 ((w) == XFS_ATTR_FORK ? \
72 ((w) == XFS_ATTR_FORK ? \
78 ((w) == XFS_ATTR_FORK ? \
84 ((w) == XFS_ATTR_FORK ? \
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_attr.c73 args->whichfork = XFS_ATTR_FORK; in xfs_attr_args_init()
115 else if (xfs_bmap_one_block(ip, XFS_ATTR_FORK)) in xfs_attr_get_ilocked()
203 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size()
216 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
306 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) in xfs_attr_set_args()
328 } else if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) { in xfs_attr_remove_args()
1168 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) { in xfs_attr_node_removename()
1272 &blk->bp, XFS_ATTR_FORK); in xfs_attr_refillstate()
1291 &blk->bp, XFS_ATTR_FORK); in xfs_attr_refillstate()
Dxfs_inode_fork.c104 error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, size); in xfs_iformat_fork()
107 error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK); in xfs_iformat_fork()
110 error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK); in xfs_iformat_fork()
527 if (whichfork == XFS_ATTR_FORK) { in xfs_idestroy_fork()
610 ASSERT(whichfork == XFS_ATTR_FORK); in xfs_iflush_fork()
729 if (!XFS_IFORK_PTR(ip, XFS_ATTR_FORK)) in xfs_ifork_verify_attr()
Dxfs_bmap.h120 return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : in xfs_bmapi_aflag()
129 return XFS_ATTR_FORK; in xfs_bmapi_whichfork()
273 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_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.c635 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrinval_reservation()
678 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK), in xfs_calc_attrsetrt_reservation()
702 XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK)) + in xfs_calc_attrrm_reservation()
Dxfs_attr_leaf.c376 XFS_ATTR_FORK, &xfs_attr3_leaf_buf_ops); in xfs_attr3_leaf_read()
585 xfs_idata_realloc(dp, sizeof(*hdr), XFS_ATTR_FORK); in xfs_attr_shortform_create()
630 xfs_idata_realloc(dp, size, XFS_ATTR_FORK); in xfs_attr_shortform_add()
655 xfs_idestroy_fork(ip, XFS_ATTR_FORK); in xfs_attr_fork_remove()
719 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_remove()
828 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf()
829 xfs_bmap_local_to_extents_empty(args->trans, dp, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf()
845 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
930 ifp = XFS_IFORK_PTR(ip, XFS_ATTR_FORK); in xfs_attr_shortform_verify()
1047 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr3_leaf_to_shortform()
[all …]
Dxfs_types.h88 #define XFS_ATTR_FORK 1 macro
Dxfs_inode_buf.c403 if (whichfork == XFS_ATTR_FORK) { in xfs_dinode_verify_fork()
525 fa = xfs_dinode_verify_fork(dip, mp, XFS_ATTR_FORK); in xfs_dinode_verify()
Dxfs_attr_remote.c456 XFS_ATTR_FORK); in xfs_attr_rmtval_set()
/Linux-v5.4/fs/xfs/
Dxfs_attr_inactive.c239 XFS_ATTR_FORK); in xfs_attr3_node_inactive()
272 XFS_ATTR_FORK); in xfs_attr3_node_inactive()
283 &bp, XFS_ATTR_FORK); in xfs_attr3_node_inactive()
324 error = xfs_da3_node_read(*trans, dp, 0, -1, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
354 error = xfs_da_get_buf(*trans, dp, 0, blkno, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
421 error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK, 0); in xfs_attr_inactive()
438 xfs_idestroy_fork(dp, XFS_ATTR_FORK); in xfs_attr_inactive()
Dxfs_attr_list.c217 XFS_ATTR_FORK); in xfs_attr_node_list_lookup()
302 &bp, XFS_ATTR_FORK); in xfs_attr_node_list()
506 else if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) in xfs_attr_list_int_ilocked()
Dxfs_bmap_item.c321 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_bmap_flags()
520 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_bui_recover()
Dxfs_rmap_item.c268 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_rmap_flags()
557 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_rui_recover()
Dxfs_bmap_util.c534 whichfork = XFS_ATTR_FORK; in xfs_getbmap()
543 case XFS_ATTR_FORK: in xfs_getbmap()
663 if (whichfork != XFS_ATTR_FORK && bno < end && in xfs_getbmap()
1594 error = xfs_bmap_count_blocks(tp, ip, XFS_ATTR_FORK, &junk, in xfs_swap_extent_forks()
1601 error = xfs_bmap_count_blocks(tp, tip, XFS_ATTR_FORK, &junk, in xfs_swap_extent_forks()
Dxfs_inode_item.c243 data_bytes = xfs_iextents_copy(ip, p, XFS_ATTR_FORK); in xfs_inode_item_format_attr_fork()
Dxfs_inode.c2761 xfs_ifree_local_data(ip, XFS_ATTR_FORK); in xfs_ifree()
3758 ifp = XFS_IFORK_PTR(ip, XFS_ATTR_FORK); in xfs_inode_verify_forks()
3862 xfs_iflush_fork(ip, dip, iip, XFS_ATTR_FORK); in xfs_iflush_int()
Dxfs_mount.c701 xfs_bmap_compute_maxlevels(mp, XFS_ATTR_FORK); in xfs_mountfs()
Dxfs_icache.c96 xfs_idestroy_fork(ip, XFS_ATTR_FORK); in xfs_inode_free_callback()
/Linux-v5.4/fs/xfs/scrub/
Dbmap.c96 if (info->whichfork == XFS_ATTR_FORK) in xchk_bmap_get_rmap()
206 if (info->whichfork == XFS_ATTR_FORK && in xchk_bmap_xref_rmap()
256 case XFS_ATTR_FORK: in xchk_bmap_iextent_xref()
282 if (!S_ISDIR(VFS_I(ip)->i_mode) && info->whichfork != XFS_ATTR_FORK) in xchk_bmap_dirattr_extent()
351 info->whichfork == XFS_ATTR_FORK) in xchk_bmap_iextent()
474 if ((sbcri->whichfork == XFS_ATTR_FORK) ^ in xchk_bmap_check_rmap()
593 case XFS_ATTR_FORK: in xchk_bmap_check_rmaps()
653 case XFS_ATTR_FORK: in xchk_bmap()
741 return xchk_bmap(sc, XFS_ATTR_FORK); in xchk_bmap_attr()
Dattr.c133 xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, args.blkno); in xchk_xattr_listent()
156 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()
519 if (!xchk_fblock_process_error(sc, XFS_ATTR_FORK, 0, &error)) in xchk_xattr()
Dinode.c483 error = xfs_bmap_count_blocks(sc->tp, sc->ip, XFS_ATTR_FORK, in xchk_inode_xref_bmap()
Ddabtree.c502 if (whichfork == XFS_ATTR_FORK) { in xchk_da_btree()

12