Searched refs:mapped_blocks (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/fs/fat/ |
D | cache.c | 312 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()
|
D | inode.c | 124 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()
|
D | fat.h | 319 unsigned long *mapped_blocks, sector_t *bmap); 321 unsigned long *mapped_blocks, int create, bool from_bmap);
|
D | dir.c | 87 unsigned long mapped_blocks; in fat__get_entry() local 94 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0, false); in fat__get_entry()
|
/Linux-v5.4/drivers/md/ |
D | dm-thin-metadata.c | 139 __le64 mapped_blocks; member 227 uint64_t mapped_blocks; member 793 details.mapped_blocks = cpu_to_le64(td->mapped_blocks); in __write_changed_details() 993 details_le.mapped_blocks = 0; in __open_device() 1008 (*td)->mapped_blocks = le64_to_cpu(details_le.mapped_blocks); in __open_device() 1093 snap->mapped_blocks = td->mapped_blocks; in __set_snapshot_details() 1604 td->mapped_blocks++; in __insert() 1632 td->mapped_blocks--; in __remove() 1686 td->mapped_blocks -= total_count; in __remove_range() 1934 *result = td->mapped_blocks; in dm_thin_get_mapped_count()
|
/Linux-v5.4/drivers/staging/exfat/ |
D | exfat_super.c | 3072 unsigned long *mapped_blocks, int *create) in exfat_bmap() argument 3085 *mapped_blocks = 0; in exfat_bmap() 3093 *mapped_blocks = 1; in exfat_bmap() 3124 *mapped_blocks = p_fs->sectors_per_clu - sec_offset; in exfat_bmap() 3136 unsigned long mapped_blocks; in exfat_get_block() local 3141 err = exfat_bmap(inode, iblock, &phys, &mapped_blocks, &create); in exfat_get_block() 3148 max_blocks = min(mapped_blocks, max_blocks); in exfat_get_block()
|