Lines Matching refs:whichfork
131 static inline int xfs_dabuf_nfsb(struct xfs_mount *mp, int whichfork) in xfs_dabuf_nfsb() argument
133 if (whichfork == XFS_DATA_FORK) in xfs_dabuf_nfsb()
386 int whichfork) in xfs_da3_node_read() argument
390 error = xfs_da_read_buf(tp, dp, bno, 0, bpp, whichfork, in xfs_da3_node_read()
403 int whichfork) in xfs_da3_node_read_mapped() argument
409 XFS_FSB_TO_BB(mp, xfs_dabuf_nfsb(mp, whichfork)), 0, in xfs_da3_node_read_mapped()
414 if (whichfork == XFS_ATTR_FORK) in xfs_da3_node_read_mapped()
437 int whichfork) in xfs_da3_node_create() argument
450 error = xfs_da_get_buf(tp, dp, blkno, &bp, whichfork); in xfs_da3_node_create()
680 error = xfs_da_get_buf(tp, dp, blkno, &bp, args->whichfork); in xfs_da3_root_split()
742 (args->whichfork == XFS_DATA_FORK) ? args->geo->leafblk : 0, in xfs_da3_root_split()
743 level + 1, &bp, args->whichfork); in xfs_da3_root_split()
802 useextra = state->extravalid && state->args->whichfork == XFS_ATTR_FORK; in xfs_da3_node_split()
817 &newblk->bp, state->args->whichfork); in xfs_da3_node_split()
1035 if (state->args->whichfork == XFS_DATA_FORK) in xfs_da3_node_add()
1217 error = xfs_da3_node_read(args->trans, dp, child, &bp, args->whichfork); in xfs_da3_root_join()
1332 state->args->whichfork); in xfs_da3_node_toosmall()
1620 &blk->bp, args->whichfork); in xfs_da3_node_lookup_int()
1854 &bp, args->whichfork); in xfs_da3_blk_link()
1875 &bp, args->whichfork); in xfs_da3_blk_link()
1934 &bp, args->whichfork); in xfs_da3_blk_unlink()
1951 &bp, args->whichfork); in xfs_da3_blk_unlink()
2037 args->whichfork); in xfs_da3_path_shift()
2159 int w = args->whichfork; in xfs_da_grow_inode_int()
2301 w = args->whichfork; in xfs_da3_swap_lastblock()
2486 w = args->whichfork; in xfs_da_shrink_inode()
2516 int whichfork, in xfs_dabuf_map() argument
2521 int nfsb = xfs_dabuf_nfsb(mp, whichfork); in xfs_dabuf_map()
2532 xfs_bmapi_aflag(whichfork)); in xfs_dabuf_map()
2602 int whichfork) in xfs_da_get_buf() argument
2611 error = xfs_dabuf_map(dp, bno, 0, whichfork, &mapp, &nmap); in xfs_da_get_buf()
2638 int whichfork, in xfs_da_read_buf() argument
2648 error = xfs_dabuf_map(dp, bno, flags, whichfork, &mapp, &nmap); in xfs_da_read_buf()
2657 if (whichfork == XFS_ATTR_FORK) in xfs_da_read_buf()
2677 int whichfork, in xfs_da_reada_buf() argument
2687 error = xfs_dabuf_map(dp, bno, flags, whichfork, &mapp, &nmap); in xfs_da_reada_buf()