Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_attr.c148 args.whichfork = XFS_ATTR_FORK; in xfs_attr_fetch()
155 } else if (xfs_bmap_one_block(ip, XFS_ATTR_FORK)) { in xfs_attr_fetch()
218 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size()
231 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
280 args.whichfork = XFS_ATTR_FORK; in xfs_attr_set_int()
410 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) { in xfs_attr_set_int()
499 args.whichfork = XFS_ATTR_FORK; in xfs_attr_remove_int()
557 } else if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) { in xfs_attr_remove_int()
647 } else if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) { in xfs_attr_list_int()
838 if ((error = xfs_itruncate_finish(&trans, dp, 0LL, XFS_ATTR_FORK, in xfs_attr_inactive()
[all …]
Dxfs_attr_leaf.c237 xfs_idata_realloc(dp, sizeof(*hdr), XFS_ATTR_FORK); in xfs_attr_shortform_create()
284 xfs_idata_realloc(dp, size, XFS_ATTR_FORK); in xfs_attr_shortform_add()
355 xfs_idestroy_fork(dp, XFS_ATTR_FORK); in xfs_attr_shortform_remove()
364 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_remove()
476 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf()
486 xfs_idata_realloc(dp, size, XFS_ATTR_FORK); /* try to put */ in xfs_attr_shortform_to_leaf()
498 xfs_idata_realloc(dp, size, XFS_ATTR_FORK); /* try to put */ in xfs_attr_shortform_to_leaf()
508 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
795 xfs_idestroy_fork(dp, XFS_ATTR_FORK); in xfs_attr_leaf_to_shortform()
816 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_leaf_to_shortform()
[all …]
Dxfs_trans_space.h58 XFS_DAREMOVE_SPACE_RES(mp, XFS_ATTR_FORK)
61 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
Dxfs_trans.h651 XFS_FSB_TO_B((mp), XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK)) + \
652 (128 * (1 + XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK)))), \
680 (ext * XFS_FSB_TO_B((mp), XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK))) + \
681 (128 * (ext + (ext * XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK)))))
698 XFS_FSB_TO_B((mp), XFS_BM_MAXLEVELS(mp, XFS_ATTR_FORK)) + \
Dxfs_dfrag.c255 error = xfs_bmap_count_blocks(tp, ip, XFS_ATTR_FORK, &aforkblks); in xfs_swap_extents()
263 error = xfs_bmap_count_blocks(tp, tip, XFS_ATTR_FORK, in xfs_swap_extents()
Dxfs_bmap.h100 return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : 0); in xfs_bmapi_aflag()
Dxfs_inode.c440 error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, size); in xfs_iformat()
443 error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK); in xfs_iformat()
446 error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK); in xfs_iformat()
1502 if (fork == XFS_ATTR_FORK) { in xfs_itruncate_finish()
1582 (fork == XFS_ATTR_FORK && in xfs_itruncate_finish()
1718 (fork == XFS_ATTR_FORK) || in xfs_itruncate_finish()
1721 (fork == XFS_ATTR_FORK) || in xfs_itruncate_finish()
2459 if (whichfork == XFS_ATTR_FORK) { in xfs_idestroy_fork()
2632 ASSERT(whichfork == XFS_ATTR_FORK); in xfs_iflush_fork()
3170 xfs_iflush_fork(ip, dip, iip, XFS_ATTR_FORK, bp); in xfs_iflush_int()
Dxfs_inode.h28 #define XFS_ATTR_FORK 1 macro
Dxfs_iget.c513 xfs_idestroy_fork(ip, XFS_ATTR_FORK); in xfs_ireclaim()
Dxfs_bmap.c3590 if (whichfork == XFS_ATTR_FORK && in xfs_bmap_forkoff_reset()
4833 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_bmapi()
5466 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_bunmapi()
5887 whichfork = iflags & BMV_IF_ATTRFORK ? XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_getbmap()
5910 if (whichfork == XFS_ATTR_FORK) { in xfs_getbmap()
5970 ASSERT(whichfork == XFS_ATTR_FORK || (iflags & BMV_IF_DELALLOC) || in xfs_getbmap()
5995 whichfork == XFS_ATTR_FORK) { in xfs_getbmap()
6025 whichfork == XFS_ATTR_FORK) { in xfs_getbmap()
Dxfs_inode_item.c481 XFS_ATTR_FORK); in xfs_inode_item_format()
Dxfs_vnodeops.c1039 xfs_idestroy_fork(ip, XFS_ATTR_FORK); in xfs_inactive_attrs()
1285 xfs_idestroy_fork(ip, XFS_ATTR_FORK); in xfs_inactive()
Dxfs_da_btree.c396 useextra = state->extravalid && state->args->whichfork == XFS_ATTR_FORK; in xfs_da_node_split()
2065 if (whichfork == XFS_ATTR_FORK) { in xfs_da_do_buf()
Dxfs_mount.c967 xfs_bmap_compute_maxlevels(mp, XFS_ATTR_FORK); in xfs_mountfs()