Home
last modified time | relevance | path

Searched refs:SUPERBLOCK_LOCATION (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-era-target.c17 #define SUPERBLOCK_LOCATION 0 macro
22 #define INVALID_WRITESET_ROOT SUPERBLOCK_LOCATION
304 return dm_bm_read_lock(md->bm, SUPERBLOCK_LOCATION, in superblock_read_lock()
311 return dm_bm_write_lock_zero(md->bm, SUPERBLOCK_LOCATION, in superblock_lock_zero()
318 return dm_bm_write_lock(md->bm, SUPERBLOCK_LOCATION, in superblock_lock()
334 r = dm_bm_read_lock(bm, SUPERBLOCK_LOCATION, NULL, &b); in superblock_all_zeroes()
439 r = dm_tm_create_with_sm(md->bm, SUPERBLOCK_LOCATION, in create_fresh_metadata()
581 r = dm_tm_open_with_sm(md->bm, SUPERBLOCK_LOCATION, in open_metadata()
1022 if (md->metadata_snap != SUPERBLOCK_LOCATION) { in metadata_take_snap()
1039 r = dm_sm_inc_block(md->sm, SUPERBLOCK_LOCATION); in metadata_take_snap()
[all …]
Ddm-clone-metadata.c23 #define SUPERBLOCK_LOCATION 0 macro
244 r = dm_bm_read_lock(bm, SUPERBLOCK_LOCATION, NULL, &sblock); in __superblock_all_zeroes()
276 return dm_bm_read_lock(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_read_lock()
282 return dm_bm_write_lock_zero(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_write_lock_zero()
341 r = dm_tm_open_with_sm(cmd->bm, SUPERBLOCK_LOCATION, in __open_metadata()
366 r = dm_tm_create_with_sm(cmd->bm, SUPERBLOCK_LOCATION, &cmd->tm, &cmd->sm); in __format_metadata()