Searched refs:size_of_block (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/md/persistent-data/ |
D | dm-array.c | 43 size_t size_of_block) in array_block_prepare_for_write() argument 49 size_of_block - sizeof(__le32), in array_block_prepare_for_write() 55 size_t size_of_block) in array_block_check() argument 68 size_of_block - sizeof(__le32), in array_block_check() 144 static uint32_t calc_max_entries(size_t value_size, size_t size_of_block) in calc_max_entries() argument 146 return (size_of_block - sizeof(struct array_block)) / value_size; in calc_max_entries() 152 static int alloc_ablock(struct dm_array_info *info, size_t size_of_block, in alloc_ablock() argument 349 static int insert_new_ablock(struct dm_array_info *info, size_t size_of_block, in insert_new_ablock() argument 358 r = alloc_ablock(info, size_of_block, max_entries, &block, &ab); in insert_new_ablock() 369 static int insert_full_ablocks(struct dm_array_info *info, size_t size_of_block, in insert_full_ablocks() argument [all …]
|