Searched refs:size_of_block (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/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() 142 static uint32_t calc_max_entries(size_t value_size, size_t size_of_block) in calc_max_entries() argument 144 return (size_of_block - sizeof(struct array_block)) / value_size; in calc_max_entries() 150 static int alloc_ablock(struct dm_array_info *info, size_t size_of_block, in alloc_ablock() argument 347 static int insert_new_ablock(struct dm_array_info *info, size_t size_of_block, in insert_new_ablock() argument 356 r = alloc_ablock(info, size_of_block, max_entries, &block, &ab); in insert_new_ablock() 367 static int insert_full_ablocks(struct dm_array_info *info, size_t size_of_block, in insert_full_ablocks() argument [all …]
|