Home
last modified time | relevance | path

Searched refs:mapped_blocks (Results 1 – 4 of 4) sorted by relevance

/fs/fat/
Dcache.c312 unsigned long *mapped_blocks, sector_t *bmap) in fat_get_mapped_cluster() argument
325 *mapped_blocks = sbi->sec_per_clus - offset; in fat_get_mapped_cluster()
326 if (*mapped_blocks > last_block - sector) in fat_get_mapped_cluster()
327 *mapped_blocks = last_block - sector; in fat_get_mapped_cluster()
359 unsigned long *mapped_blocks, int create, bool from_bmap) in fat_bmap() argument
365 *mapped_blocks = 0; in fat_bmap()
369 *mapped_blocks = 1; in fat_bmap()
384 return fat_get_mapped_cluster(inode, sector, last_block, mapped_blocks, in fat_bmap()
Dinode.c124 unsigned long mapped_blocks; in __fat_get_block() local
128 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block()
133 *max_blocks = min(mapped_blocks, *max_blocks); in __fat_get_block()
159 mapped_blocks = sbi->sec_per_clus - offset; in __fat_get_block()
161 *max_blocks = min(mapped_blocks, *max_blocks); in __fat_get_block()
164 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block()
175 BUG_ON(*max_blocks != mapped_blocks); in __fat_get_block()
302 unsigned long mapped_blocks; in fat_get_block_bmap() local
306 err = fat_bmap(inode, iblock, &bmap, &mapped_blocks, create, true); in fat_get_block_bmap()
312 max_blocks = min(mapped_blocks, max_blocks); in fat_get_block_bmap()
Dfat.h319 unsigned long *mapped_blocks, sector_t *bmap);
321 unsigned long *mapped_blocks, int create, bool from_bmap);
Ddir.c87 unsigned long mapped_blocks; in fat__get_entry() local
94 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0, false); in fat__get_entry()