Home
last modified time | relevance | path

Searched refs:sblock (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-clone-metadata.c237 struct dm_block *sblock; in __superblock_all_zeroes() local
244 r = dm_bm_read_lock(bm, SUPERBLOCK_LOCATION, NULL, &sblock); in __superblock_all_zeroes()
250 data_le = dm_block_data(sblock); in __superblock_all_zeroes()
263 dm_bm_unlock(sblock); in __superblock_all_zeroes()
274 struct dm_block **sblock) in superblock_read_lock() argument
276 return dm_bm_read_lock(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_read_lock()
280 struct dm_block **sblock) in superblock_write_lock_zero() argument
282 return dm_bm_write_lock_zero(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_write_lock_zero()
321 struct dm_block *sblock; in __open_metadata() local
324 r = superblock_read_lock(cmd, &sblock); in __open_metadata()
[all …]
H A Ddm-thin-metadata.c441 struct dm_block **sblock) in superblock_lock_zero() argument
444 &sb_validator, sblock); in superblock_lock_zero()
448 struct dm_block **sblock) in superblock_lock() argument
451 &sb_validator, sblock); in superblock_lock()
556 struct dm_block *sblock; in __write_initial_superblock() local
575 r = superblock_lock_zero(pmd, &sblock); in __write_initial_superblock()
579 disk_super = dm_block_data(sblock); in __write_initial_superblock()
596 return dm_tm_commit(pmd->tm, sblock); in __write_initial_superblock()
691 struct dm_block *sblock; in __open_metadata() local
695 &sb_validator, &sblock); in __open_metadata()
[all …]
H A Ddm-cache-metadata.c240 struct dm_block **sblock) in superblock_read_lock() argument
243 &sb_validator, sblock); in superblock_read_lock()
247 struct dm_block **sblock) in superblock_lock_zero() argument
250 &sb_validator, sblock); in superblock_lock_zero()
254 struct dm_block **sblock) in superblock_lock() argument
257 &sb_validator, sblock); in superblock_lock()
337 struct dm_block *sblock; in __write_initial_superblock() local
357 r = superblock_lock_zero(cmd, &sblock); in __write_initial_superblock()
361 disk_super = dm_block_data(sblock); in __write_initial_superblock()
389 return dm_tm_commit(cmd->tm, sblock); in __write_initial_superblock()
[all …]
H A Ddm-era-target.c312 struct dm_block **sblock) in superblock_read_lock() argument
315 &sb_validator, sblock); in superblock_read_lock()
319 struct dm_block **sblock) in superblock_lock_zero() argument
322 &sb_validator, sblock); in superblock_lock_zero()
326 struct dm_block **sblock) in superblock_lock() argument
329 &sb_validator, sblock); in superblock_lock()
530 struct dm_block *sblock; in write_superblock() local
539 r = superblock_lock_zero(md, &sblock); in write_superblock()
543 disk = dm_block_data(sblock); in write_superblock()
546 return dm_tm_commit(md->tm, sblock); in write_superblock()
[all …]
/openbmc/u-boot/fs/ext4/
H A Dext4_write.c143 uint32_t blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in delete_single_indirect_block()
191 uint32_t blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in delete_double_indirect_block()
288 uint32_t blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in delete_triple_indirect_block()
451 uint32_t blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in ext4fs_delete_file()
452 uint32_t inode_per_grp = le32_to_cpu(ext4fs_root->sblock.inodes_per_group); in ext4fs_delete_file()
609 le32_to_cpu(ext4fs_root->sblock.total_blocks) in ext4fs_init()
610 - le32_to_cpu(ext4fs_root->sblock.first_data_block), in ext4fs_init()
611 le32_to_cpu(ext4fs_root->sblock.blocks_per_group)); in ext4fs_init()
851 struct ext2_sblock *sblock = &(ext4fs_root->sblock); in ext4fs_write() local
936 ibmap_idx = inodeno / le32_to_cpu(ext4fs_root->sblock.inodes_per_group); in ext4fs_write()
[all …]
H A Dext4_common.c249 if (count > le32_to_cpu(ext4fs_root->sblock.inodes_per_group)) in _get_new_inode_no()
376 inode_no -= (index * le32_to_cpu(ext4fs_root->sblock.inodes_per_group)); in ext4fs_set_inode_bmap()
401 inode_no -= (index * le32_to_cpu(ext4fs_root->sblock.inodes_per_group)); in ext4fs_reset_inode_bmap()
964 unsigned int blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in ext4fs_get_new_blk_no()
1092 unsigned int inodes_per_grp = le32_to_cpu(ext4fs_root->sblock.inodes_per_group); in ext4fs_get_new_inode_no()
1573 blkno = le32_to_cpu(data->sblock.first_data_block) + 1 + in ext4fs_blockgroup()
1588 struct ext2_sblock *sblock = &data->sblock; in ext4fs_read_inode() local
1598 (sblock->inodes_per_group), &blkgrp); in ext4fs_read_inode()
1604 (ino % le32_to_cpu(sblock->inodes_per_group)) / inodes_per_block; in ext4fs_read_inode()
2337 status = ext4_read_superblock((char *)&data->sblock); in ext4fs_mount()
[all …]
H A Dext4fs.c247 uuid_bin_to_str((unsigned char *)ext4fs_root->sblock.unique_id, in ext4fs_uuid()
/openbmc/linux/fs/efs/
H A Dsuper.c159 efs_block_t sblock = 0; /* shuts up gcc */ in module_exit() local
217 sblock = be32_to_cpu(vh->vh_pt[i].pt_firstlbn); in module_exit()
228 sblock); in module_exit()
231 return sblock; in module_exit()
/openbmc/linux/fs/bfs/
H A Ddir.c273 int block, sblock, eblock, off, pos; in bfs_add_entry() local
283 sblock = BFS_I(dir)->i_sblock; in bfs_add_entry()
285 for (block = sblock; block <= eblock; block++) { in bfs_add_entry()
292 pos = (block - sblock) * BFS_BSIZE + off; in bfs_add_entry()
/openbmc/u-boot/include/
H A Dext_common.h52 (data->sblock.log2_block_size) \
205 struct ext2_sblock sblock; member