Home
last modified time | relevance | path

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

/openbmc/linux/fs/fat/
H A 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()
H A Dinode.c125 unsigned long mapped_blocks; in __fat_get_block() local
129 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block()
134 *max_blocks = min(mapped_blocks, *max_blocks); in __fat_get_block()
160 mapped_blocks = sbi->sec_per_clus - offset; in __fat_get_block()
162 *max_blocks = min(mapped_blocks, *max_blocks); in __fat_get_block()
165 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block()
176 BUG_ON(*max_blocks != mapped_blocks); in __fat_get_block()
297 unsigned long mapped_blocks; in fat_get_block_bmap() local
301 err = fat_bmap(inode, iblock, &bmap, &mapped_blocks, create, true); in fat_get_block_bmap()
307 max_blocks = min(mapped_blocks, max_blocks); in fat_get_block_bmap()
H A Dfat.h320 unsigned long *mapped_blocks, sector_t *bmap);
322 unsigned long *mapped_blocks, int create, bool from_bmap);
H A 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()
/openbmc/linux/drivers/md/
H A Ddm-thin-metadata.c142 __le64 mapped_blocks; member
239 uint64_t mapped_blocks; member
862 details.mapped_blocks = cpu_to_le64(td->mapped_blocks); in __write_changed_details()
1074 details_le.mapped_blocks = 0; in __open_device()
1089 (*td)->mapped_blocks = le64_to_cpu(details_le.mapped_blocks); in __open_device()
1173 snap->mapped_blocks = td->mapped_blocks; in __set_snapshot_details()
1683 td->mapped_blocks++; in __insert()
1749 td->mapped_blocks -= total_count; in __remove_range()
1990 *result = td->mapped_blocks; in dm_thin_get_mapped_count()
/openbmc/linux/fs/exfat/
H A Dinode.c274 unsigned long mapped_blocks = 0; in exfat_get_block() local
303 mapped_blocks = sbi->sect_per_clus - sec_offset; in exfat_get_block()
304 max_blocks = min(mapped_blocks, max_blocks); in exfat_get_block()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2P.h531 struct user_mapped_block mapped_blocks[NUM_USER_MAPPED_BLOCKS]; member
H A Dgaudi2.c3188 struct user_mapped_block *blocks = gaudi2->mapped_blocks; in gaudi2_user_mapped_dec_init()
3205 struct user_mapped_block *blocks = gaudi2->mapped_blocks; in gaudi2_user_mapped_blocks_init()
10859 if (block_addr == CFG_BASE + gaudi2->mapped_blocks[i].address) { in gaudi2_get_hw_block_id()
10862 *block_size = gaudi2->mapped_blocks[i].size; in gaudi2_get_hw_block_id()
10886 if (block_size != gaudi2->mapped_blocks[block_id].size) { in gaudi2_block_mmap()
10891 offset_in_bar = CFG_BASE + gaudi2->mapped_blocks[block_id].address - STM_FLASH_BASE_ADDR; in gaudi2_block_mmap()