Lines Matching refs:size
21 * metadata/data stored in disk with 4k size unit (a block) regardless
22 * underneath hardware sector size. only works with PAGE_SIZE == 4096
28 * log->max_free_space is min(1/4 disk size, 10G reclaimable space).
87 sector_t device_size; /* log device size, round to
90 * this size */
238 struct bio_list flush_barriers; /* size == 0 flush bios */
273 static bool r5l_has_free_space(struct r5l_log *log, sector_t size)
280 return log->device_size > used_size + size;
361 * or a full stripe (chunk size / 4k stripes).
756 * Note: for this to work properly the log size needs to me a multiple
833 payload->size = cpu_to_le32((1 + !!checksum2_valid) <<
891 payload->size = cpu_to_le32(sizeof(__le64));
1611 sector_t meta_total_blocks; /* total size of current meta and data */
2047 le32_to_cpu(payload_flush->size);
2051 le32_to_cpu(payload->size));
2054 (le32_to_cpu(payload->size) >> (PAGE_SHIFT - 9));
2115 count = le32_to_cpu(payload_flush->size) / sizeof(__le64);
2129 le32_to_cpu(payload_flush->size);
2157 pr_debug("md/raid:%s: Increasing stripe cache size to %d to recovery data on journal.\n",
2162 pr_err("md/raid:%s: Cannot increase cache size, ret=%d, new_size=%d, min_nr_stripes=%d, max_nr_stripes=%d\n",
2196 le32_to_cpu(payload->size));
2200 (le32_to_cpu(payload->size) >> (PAGE_SHIFT - 9));
2391 payload->size = cpu_to_le32(BLOCK_SECTORS);