Home
last modified time | relevance | path

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

12

/fs/xfs/
Dxfs_attr_inactive.c177 XFS_ATTR_FORK); in xfs_attr3_node_inactive()
211 XFS_ATTR_FORK); in xfs_attr3_node_inactive()
222 &bp, XFS_ATTR_FORK); in xfs_attr3_node_inactive()
263 error = xfs_da3_node_read(*trans, dp, 0, -1, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
294 error = xfs_da_get_buf(*trans, dp, 0, blkno, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
361 error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK, 0); in xfs_attr_inactive()
378 xfs_idestroy_fork(dp, XFS_ATTR_FORK); in xfs_attr_inactive()
Dxfs_attr_list.c217 XFS_ATTR_FORK); in xfs_attr_node_list_lookup()
305 &bp, XFS_ATTR_FORK); in xfs_attr_node_list()
509 else if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) in xfs_attr_list_int_ilocked()
Dxfs_bmap_item.c273 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_bmap_flags()
439 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_bui_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()
1607 error = xfs_bmap_count_blocks(tp, ip, XFS_ATTR_FORK, &junk, in xfs_swap_extent_forks()
1614 error = xfs_bmap_count_blocks(tp, tip, XFS_ATTR_FORK, &junk, in xfs_swap_extent_forks()
Dxfs_rmap_item.c237 if (whichfork == XFS_ATTR_FORK) in xfs_trans_set_rmap_flags()
521 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_rui_recover()
Dxfs_inode_item.c244 data_bytes = xfs_iextents_copy(ip, p, XFS_ATTR_FORK); in xfs_inode_item_format_attr_fork()
Dxfs_inode.c2770 xfs_ifree_local_data(ip, XFS_ATTR_FORK); in xfs_ifree()
3791 ifp = XFS_IFORK_PTR(ip, XFS_ATTR_FORK); in xfs_inode_verify_forks()
3894 xfs_iflush_fork(ip, dip, iip, XFS_ATTR_FORK); in xfs_iflush_int()
Dxfs_mount.c800 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()
/fs/xfs/libxfs/
Dxfs_inode_fork.h45 ((w) == XFS_ATTR_FORK ? \
55 ((w) == XFS_ATTR_FORK ? \
61 ((w) == XFS_ATTR_FORK ? \
67 ((w) == XFS_ATTR_FORK ? \
73 ((w) == XFS_ATTR_FORK ? \
79 ((w) == XFS_ATTR_FORK ? \
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.c108 error = xfs_iformat_local(ip, dip, XFS_ATTR_FORK, size); in xfs_iformat_fork()
111 error = xfs_iformat_extents(ip, dip, XFS_ATTR_FORK); in xfs_iformat_fork()
114 error = xfs_iformat_btree(ip, dip, XFS_ATTR_FORK); in xfs_iformat_fork()
533 if (whichfork == XFS_ATTR_FORK) { in xfs_idestroy_fork()
616 ASSERT(whichfork == XFS_ATTR_FORK); in xfs_iflush_fork()
735 if (!XFS_IFORK_PTR(ip, XFS_ATTR_FORK)) in xfs_ifork_verify_attr()
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()
279 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_attr_leaf.c368 XFS_ATTR_FORK, &xfs_attr3_leaf_buf_ops); in xfs_attr3_leaf_read()
584 xfs_idata_realloc(dp, sizeof(*hdr), XFS_ATTR_FORK); in xfs_attr_shortform_create()
629 xfs_idata_realloc(dp, size, XFS_ATTR_FORK); in xfs_attr_shortform_add()
654 xfs_idestroy_fork(ip, XFS_ATTR_FORK); in xfs_attr_fork_remove()
718 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_remove()
827 xfs_idata_realloc(dp, -size, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf()
828 xfs_bmap_local_to_extents_empty(args->trans, dp, XFS_ATTR_FORK); in xfs_attr_shortform_to_leaf()
844 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
929 ifp = XFS_IFORK_PTR(ip, XFS_ATTR_FORK); in xfs_attr_shortform_verify()
1048 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr3_leaf_to_shortform()
[all …]
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.h88 #define XFS_ATTR_FORK 1 macro
Dxfs_inode_buf.c390 if (whichfork == XFS_ATTR_FORK) { in xfs_dinode_verify_fork()
512 fa = xfs_dinode_verify_fork(dip, mp, XFS_ATTR_FORK); in xfs_dinode_verify()
Dxfs_attr_remote.c481 XFS_ATTR_FORK); in xfs_attr_rmtval_set()
/fs/xfs/scrub/
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()
613 case XFS_ATTR_FORK: in xchk_bmap_check_rmaps()
673 case XFS_ATTR_FORK: in xchk_bmap()
761 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.c482 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