Lines Matching refs:held_root
113 __le64 held_root; member
580 disk_super->held_root = 0; in __write_initial_superblock()
1315 dm_block_t held_root; in __reserve_metadata_snap() local
1339 held_root = dm_block_location(copy); in __reserve_metadata_snap()
1342 if (le64_to_cpu(disk_super->held_root)) { in __reserve_metadata_snap()
1345 dm_tm_dec(pmd->tm, held_root); in __reserve_metadata_snap()
1370 dm_tm_dec(pmd->tm, held_root); in __reserve_metadata_snap()
1375 disk_super->held_root = cpu_to_le64(held_root); in __reserve_metadata_snap()
1397 dm_block_t held_root; in __release_metadata_snap() local
1404 held_root = le64_to_cpu(disk_super->held_root); in __release_metadata_snap()
1405 disk_super->held_root = cpu_to_le64(0); in __release_metadata_snap()
1409 if (!held_root) { in __release_metadata_snap()
1414 r = dm_tm_read_lock(pmd->tm, held_root, &sb_validator, ©); in __release_metadata_snap()
1421 dm_sm_dec_block(pmd->metadata_sm, held_root); in __release_metadata_snap()
1453 *result = le64_to_cpu(disk_super->held_root); in __get_metadata_snap()