Home
last modified time | relevance | path

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

/linux-4.1.27/fs/fat/
Dcache.c305 unsigned long *mapped_blocks, int create) in fat_bmap() argument
315 *mapped_blocks = 0; in fat_bmap()
319 *mapped_blocks = 1; in fat_bmap()
346 *mapped_blocks = sbi->sec_per_clus - offset; in fat_bmap()
347 if (*mapped_blocks > last_block - sector) in fat_bmap()
348 *mapped_blocks = last_block - sector; in fat_bmap()
Dinode.c116 unsigned long mapped_blocks; in __fat_get_block() local
120 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block()
125 *max_blocks = min(mapped_blocks, *max_blocks); in __fat_get_block()
145 mapped_blocks = sbi->sec_per_clus - offset; in __fat_get_block()
147 *max_blocks = min(mapped_blocks, *max_blocks); in __fat_get_block()
150 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block()
155 BUG_ON(*max_blocks != mapped_blocks); in __fat_get_block()
Dfat.h289 unsigned long *mapped_blocks, int create);
Ddir.c85 unsigned long mapped_blocks; in fat__get_entry() local
94 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0); in fat__get_entry()
/linux-4.1.27/drivers/md/
Ddm-thin-metadata.c136 __le64 mapped_blocks; member
212 uint64_t mapped_blocks; member
749 details.mapped_blocks = cpu_to_le64(td->mapped_blocks); in __write_changed_details()
940 details_le.mapped_blocks = 0; in __open_device()
955 (*td)->mapped_blocks = le64_to_cpu(details_le.mapped_blocks); in __open_device()
1040 snap->mapped_blocks = td->mapped_blocks; in __set_snapshot_details()
1440 td->mapped_blocks++; in __insert()
1468 td->mapped_blocks--; in __remove()
1657 *result = td->mapped_blocks; in dm_thin_get_mapped_count()