Lines Matching refs:lastblock
229 e4fs_daddr_t lastblock; in ext2_ind_truncate() local
318 lastblock = lblkno(fs, length + fs->e2fs_bsize - 1) - 1; in ext2_ind_truncate()
319 lastiblock[SINGLE] = lastblock - EXT2_NDADDR; in ext2_ind_truncate()
338 if (i > lastblock) in ext2_ind_truncate()
395 for (i = EXT2_NDADDR - 1; i > lastblock; i--) { in ext2_ind_truncate()
406 if (lastblock < 0) in ext2_ind_truncate()
413 bn = oip->i_db[lastblock]; in ext2_ind_truncate()
421 oldspace = blksize(fs, oip, lastblock); in ext2_ind_truncate()
423 newspace = blksize(fs, oip, lastblock); in ext2_ind_truncate()
469 int32_t lastblock; in ext2_ext_truncate() local
507 lastblock = (length + fs->e2fs_bsize - 1) / fs->e2fs_bsize; in ext2_ext_truncate()
508 error = ext4_ext_remove_space(oip, lastblock, flags, cred, td); in ext2_ext_truncate()