Home
last modified time | relevance | path

Searched refs:blocknr (Results 1 – 9 of 9) sorted by relevance

/drivers/md/persistent-data/
Ddm-space-map-common.c28 mi_le->blocknr = cpu_to_le64(dm_block_location(b)); in index_prepare_for_write()
41 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check()
43 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check()
78 disk_header->blocknr = cpu_to_le64(dm_block_location(b)); in dm_bitmap_prepare_for_write()
91 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check()
93 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check()
262 idx.blocknr = cpu_to_le64(dm_block_location(b)); in sm_ll_extend()
294 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_lookup_bitmap()
362 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_find_free_block()
434 r = dm_tm_shadow_block(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_mutate()
[all …]
Ddm-space-map-common.h33 __le64 blocknr; member
43 __le64 blocknr; member
96 __le64 blocknr; member
Ddm-btree-spine.c29 h->blocknr = cpu_to_le64(dm_block_location(b)); in node_prepare_for_write()
47 if (dm_block_location(b) != le64_to_cpu(h->blocknr)) { in node_check()
49 le64_to_cpu(h->blocknr), dm_block_location(b)); in node_check()
Ddm-btree-internal.h31 __le64 blocknr; /* Block this node is supposed to live in. */ member
Ddm-array.c28 __le64 blocknr; /* Block this node is supposed to live in. */ member
46 bh_le->blocknr = cpu_to_le64(dm_block_location(b)); in array_block_prepare_for_write()
59 if (dm_block_location(b) != le64_to_cpu(bh_le->blocknr)) { in array_block_check()
61 (unsigned long long) le64_to_cpu(bh_le->blocknr), in array_block_check()
/drivers/md/
Ddm-clone-metadata.c41 __le64 blocknr; member
173 sb->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
188 if (dm_block_location(b) != le64_to_cpu(sb->blocknr)) { in sb_check()
190 le64_to_cpu(sb->blocknr), in sb_check()
Ddm-era-target.c165 __le64 blocknr; member
198 disk->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
223 if (dm_block_location(b) != le64_to_cpu(disk->blocknr)) { in sb_check()
225 le64_to_cpu(disk->blocknr), in sb_check()
Ddm-cache-metadata.c65 __le64 blocknr; member
177 disk_super->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
203 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
205 le64_to_cpu(disk_super->blocknr), in sb_check()
Ddm-thin-metadata.c101 __le64 blocknr; /* This block number, dm_block_t. */ member
254 disk_super->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
267 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
269 "wanted %llu", le64_to_cpu(disk_super->blocknr), in sb_check()