Lines Matching refs:offset_fsb
426 xfs_fileoff_t offset_fsb) in xfs_imap_valid() argument
428 if (offset_fsb < wpc->imap.br_startoff || in xfs_imap_valid()
429 offset_fsb >= wpc->imap.br_startoff + wpc->imap.br_blockcount) in xfs_imap_valid()
466 xfs_fileoff_t offset_fsb) in xfs_convert_blocks() argument
477 error = xfs_bmapi_convert_delalloc(ip, wpc->fork, offset_fsb, in xfs_convert_blocks()
482 } while (wpc->imap.br_startoff + wpc->imap.br_blockcount <= offset_fsb); in xfs_convert_blocks()
496 xfs_fileoff_t offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_map_blocks() local
522 if (xfs_imap_valid(wpc, ip, offset_fsb)) in xfs_map_blocks()
543 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks()
545 if (cow_fsb != NULLFILEOFF && cow_fsb <= offset_fsb) { in xfs_map_blocks()
557 if (xfs_imap_valid(wpc, ip, offset_fsb)) { in xfs_map_blocks()
567 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks()
575 if (imap.br_startoff > offset_fsb) { in xfs_map_blocks()
576 imap.br_blockcount = imap.br_startoff - offset_fsb; in xfs_map_blocks()
577 imap.br_startoff = offset_fsb; in xfs_map_blocks()
601 error = xfs_convert_blocks(wpc, ip, offset_fsb); in xfs_map_blocks()
625 ASSERT(wpc->imap.br_startoff <= offset_fsb); in xfs_map_blocks()
626 ASSERT(wpc->imap.br_startoff + wpc->imap.br_blockcount > offset_fsb); in xfs_map_blocks()