Searched refs:size_of_block (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
D | dm-array.c | 42 size_t size_of_block) in array_block_prepare_for_write() argument 48 size_of_block - sizeof(__le32), in array_block_prepare_for_write() 54 size_t size_of_block) in array_block_check() argument 67 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 351 static int insert_new_ablock(struct dm_array_info *info, size_t size_of_block, in insert_new_ablock() argument 360 r = alloc_ablock(info, size_of_block, max_entries, &block, &ab); in insert_new_ablock() 371 static int insert_full_ablocks(struct dm_array_info *info, size_t size_of_block, in insert_full_ablocks() argument [all …]
|