Lines Matching refs:sblock
302 struct dm_block **sblock) in superblock_read_lock() argument
305 &sb_validator, sblock); in superblock_read_lock()
309 struct dm_block **sblock) in superblock_lock_zero() argument
312 &sb_validator, sblock); in superblock_lock_zero()
316 struct dm_block **sblock) in superblock_lock() argument
319 &sb_validator, sblock); in superblock_lock()
519 struct dm_block *sblock; in write_superblock() local
528 r = superblock_lock_zero(md, &sblock); in write_superblock()
532 disk = dm_block_data(sblock); in write_superblock()
535 return dm_tm_commit(md->tm, sblock); in write_superblock()
562 struct dm_block *sblock; in open_metadata() local
565 r = superblock_read_lock(md, &sblock); in open_metadata()
571 disk = dm_block_data(sblock); in open_metadata()
601 dm_bm_unlock(sblock); in open_metadata()
606 dm_bm_unlock(sblock); in open_metadata()
971 struct dm_block *sblock; in metadata_commit() local
994 r = superblock_lock(md, &sblock); in metadata_commit()
1000 prepare_superblock(md, dm_block_data(sblock)); in metadata_commit()
1002 return dm_tm_commit(md->tm, sblock); in metadata_commit()