Lines Matching refs:imap

1214 	xfs_bmbt_irec_t	imap;  in xfs_inactive_free_eofblocks()  local
1229 NULL, 0, &imap, &nimaps, NULL); in xfs_inactive_free_eofblocks()
1233 (imap.br_startblock != HOLESTARTBLOCK)) { in xfs_inactive_free_eofblocks()
4229 xfs_bmbt_irec_t imap; in xfs_zero_remaining_bytes() local
4245 error = xfs_bmapi(NULL, ip, offset_fsb, 1, 0, NULL, 0, &imap, in xfs_zero_remaining_bytes()
4249 ASSERT(imap.br_blockcount >= 1); in xfs_zero_remaining_bytes()
4250 ASSERT(imap.br_startoff == offset_fsb); in xfs_zero_remaining_bytes()
4251 lastoffset = XFS_FSB_TO_B(mp, imap.br_startoff + 1) - 1; in xfs_zero_remaining_bytes()
4254 if (imap.br_startblock == HOLESTARTBLOCK) in xfs_zero_remaining_bytes()
4256 ASSERT(imap.br_startblock != DELAYSTARTBLOCK); in xfs_zero_remaining_bytes()
4257 if (imap.br_state == XFS_EXT_UNWRITTEN) in xfs_zero_remaining_bytes()
4262 XFS_BUF_SET_ADDR(bp, XFS_FSB_TO_DB(ip, imap.br_startblock)); in xfs_zero_remaining_bytes()
4270 (offset - XFS_FSB_TO_B(mp, imap.br_startoff)), in xfs_zero_remaining_bytes()
4313 xfs_bmbt_irec_t imap; in xfs_free_file_space() local
4369 &imap, &nimap, NULL); in xfs_free_file_space()
4373 if (nimap && imap.br_startblock != HOLESTARTBLOCK) { in xfs_free_file_space()
4376 ASSERT(imap.br_startblock != DELAYSTARTBLOCK); in xfs_free_file_space()
4377 block = imap.br_startblock; in xfs_free_file_space()
4384 &imap, &nimap, NULL); in xfs_free_file_space()
4388 if (nimap && imap.br_startblock != HOLESTARTBLOCK) { in xfs_free_file_space()
4389 ASSERT(imap.br_startblock != DELAYSTARTBLOCK); in xfs_free_file_space()