Lines Matching refs:whichfork
195 int whichfork, in xfs_bmap_eof() argument
201 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, eof); in xfs_bmap_eof()
344 int whichfork, in xfs_bmap_count_blocks() argument
360 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_count_blocks()
364 switch (XFS_IFORK_FORMAT(ip, whichfork)) { in xfs_bmap_count_blocks()
370 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_count_blocks()
514 int whichfork, lock, error = 0; in xfs_getbmap() local
539 whichfork = XFS_ATTR_FORK; in xfs_getbmap()
541 whichfork = XFS_COW_FORK; in xfs_getbmap()
543 whichfork = XFS_DATA_FORK; in xfs_getbmap()
544 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_getbmap()
547 switch (whichfork) { in xfs_getbmap()
596 switch (XFS_IFORK_FORMAT(ip, whichfork)) { in xfs_getbmap()
619 error = xfs_iread_extents(NULL, ip, whichfork); in xfs_getbmap()
668 if (whichfork != XFS_ATTR_FORK && bno < end && in xfs_getbmap()