Searched refs:SUPERBLOCK_LOCATION (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-era-target.c | 17 #define SUPERBLOCK_LOCATION 0 macro 22 #define INVALID_WRITESET_ROOT SUPERBLOCK_LOCATION 314 return dm_bm_read_lock(md->bm, SUPERBLOCK_LOCATION, in superblock_read_lock() 328 return dm_bm_write_lock(md->bm, SUPERBLOCK_LOCATION, in superblock_lock() 592 r = dm_tm_open_with_sm(md->bm, SUPERBLOCK_LOCATION, in open_metadata() 1037 if (md->metadata_snap != SUPERBLOCK_LOCATION) { in metadata_take_snap() 1054 r = dm_sm_inc_block(md->sm, SUPERBLOCK_LOCATION); in metadata_take_snap() 1064 dm_sm_dec_block(md->sm, SUPERBLOCK_LOCATION); in metadata_take_snap() 1098 if (md->metadata_snap == SUPERBLOCK_LOCATION) { in metadata_drop_snap() 1113 md->metadata_snap = SUPERBLOCK_LOCATION; in metadata_drop_snap() [all …]
|
H A D | dm-clone-metadata.c | 23 #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()
|