Lines Matching refs:whichfork
119 static inline int xfs_dabuf_nfsb(struct xfs_mount *mp, int whichfork) in xfs_dabuf_nfsb() argument
121 if (whichfork == XFS_DATA_FORK) in xfs_dabuf_nfsb()
374 int whichfork) in xfs_da3_node_read() argument
378 error = xfs_da_read_buf(tp, dp, bno, 0, bpp, whichfork, in xfs_da3_node_read()
391 int whichfork) in xfs_da3_node_read_mapped() argument
397 XFS_FSB_TO_BB(mp, xfs_dabuf_nfsb(mp, whichfork)), 0, in xfs_da3_node_read_mapped()
402 if (whichfork == XFS_ATTR_FORK) in xfs_da3_node_read_mapped()
425 int whichfork) in xfs_da3_node_create() argument
438 error = xfs_da_get_buf(tp, dp, blkno, &bp, whichfork); in xfs_da3_node_create()
665 error = xfs_da_get_buf(tp, dp, blkno, &bp, args->whichfork); in xfs_da3_root_split()
727 (args->whichfork == XFS_DATA_FORK) ? args->geo->leafblk : 0, in xfs_da3_root_split()
728 level + 1, &bp, args->whichfork); in xfs_da3_root_split()
787 useextra = state->extravalid && state->args->whichfork == XFS_ATTR_FORK; in xfs_da3_node_split()
802 &newblk->bp, state->args->whichfork); in xfs_da3_node_split()
1023 if (state->args->whichfork == XFS_DATA_FORK) in xfs_da3_node_add()
1205 error = xfs_da3_node_read(args->trans, dp, child, &bp, args->whichfork); in xfs_da3_root_join()
1320 state->args->whichfork); in xfs_da3_node_toosmall()
1608 &blk->bp, args->whichfork); in xfs_da3_node_lookup_int()
1842 &bp, args->whichfork); in xfs_da3_blk_link()
1863 &bp, args->whichfork); in xfs_da3_blk_link()
1922 &bp, args->whichfork); in xfs_da3_blk_unlink()
1939 &bp, args->whichfork); in xfs_da3_blk_unlink()
2025 args->whichfork); in xfs_da3_path_shift()
2147 int w = args->whichfork; in xfs_da_grow_inode_int()
2289 w = args->whichfork; in xfs_da3_swap_lastblock()
2474 w = args->whichfork; in xfs_da_shrink_inode()
2504 int whichfork, in xfs_dabuf_map() argument
2509 int nfsb = xfs_dabuf_nfsb(mp, whichfork); in xfs_dabuf_map()
2520 xfs_bmapi_aflag(whichfork)); in xfs_dabuf_map()
2590 int whichfork) in xfs_da_get_buf() argument
2599 error = xfs_dabuf_map(dp, bno, 0, whichfork, &mapp, &nmap); in xfs_da_get_buf()
2626 int whichfork, in xfs_da_read_buf() argument
2636 error = xfs_dabuf_map(dp, bno, flags, whichfork, &mapp, &nmap); in xfs_da_read_buf()
2645 if (whichfork == XFS_ATTR_FORK) in xfs_da_read_buf()
2665 int whichfork, in xfs_da_reada_buf() argument
2675 error = xfs_dabuf_map(dp, bno, flags, whichfork, &mapp, &nmap); in xfs_da_reada_buf()