Lines Matching refs:last_block
311 sector_t last_block, in fat_get_mapped_cluster() argument
326 if (*mapped_blocks > last_block - sector) in fat_get_mapped_cluster()
327 *mapped_blocks = last_block - sector; in fat_get_mapped_cluster()
334 sector_t *last_block, int create) in is_exceed_eof() argument
340 *last_block = (i_size_read(inode) + (blocksize - 1)) >> blocksize_bits; in is_exceed_eof()
341 if (sector >= *last_block) { in is_exceed_eof()
349 *last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1)) in is_exceed_eof()
351 if (sector >= *last_block) in is_exceed_eof()
362 sector_t last_block; in fat_bmap() local
375 if (is_exceed_eof(inode, sector, &last_block, create)) in fat_bmap()
378 last_block = inode->i_blocks >> in fat_bmap()
380 if (sector >= last_block) in fat_bmap()
384 return fat_get_mapped_cluster(inode, sector, last_block, mapped_blocks, in fat_bmap()