Lines Matching refs:whichfork
254 int whichfork, in xfs_bmap_count_blocks() argument
259 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_count_blocks()
272 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_count_blocks()
276 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_count_blocks()
412 int whichfork, lock, error = 0; in xfs_getbmap() local
437 whichfork = XFS_ATTR_FORK; in xfs_getbmap()
439 whichfork = XFS_COW_FORK; in xfs_getbmap()
441 whichfork = XFS_DATA_FORK; in xfs_getbmap()
442 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_getbmap()
445 switch (whichfork) { in xfs_getbmap()
516 error = xfs_iread_extents(NULL, ip, whichfork); in xfs_getbmap()
564 if (whichfork != XFS_ATTR_FORK && bno < end && in xfs_getbmap()