Home
last modified time | relevance | path

Searched refs:DMZ_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/drivers/md/
Ddm-zoned.h28 #define DMZ_BLOCK_SIZE (1 << DMZ_BLOCK_SHIFT) macro
29 #define DMZ_BLOCK_MASK (DMZ_BLOCK_SIZE - 1)
36 #define DMZ_BLOCK_SECTORS (DMZ_BLOCK_SIZE >> SECTOR_SHIFT)
Ddm-zoned-target.c996 limits->logical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
997 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
999 blk_limits_io_min(limits, DMZ_BLOCK_SIZE); in dmz_io_hints()
1000 blk_limits_io_opt(limits, DMZ_BLOCK_SIZE); in dmz_io_hints()
1003 limits->discard_granularity = DMZ_BLOCK_SIZE; in dmz_io_hints()
Ddm-zoned-metadata.c101 #define DMZ_MAP_ENTRIES (DMZ_BLOCK_SIZE / sizeof(struct dmz_map))
580 bio_add_page(bio, mblk->page, DMZ_BLOCK_SIZE, 0); in dmz_get_mblock_slow()
731 bio_add_page(bio, mblk->page, DMZ_BLOCK_SIZE, 0); in dmz_write_mblock()
755 bio_add_page(bio, page, DMZ_BLOCK_SIZE, 0); in dmz_rdwr_block()
803 sb->crc = cpu_to_le32(crc32_le(sb_gen, (unsigned char *)sb, DMZ_BLOCK_SIZE)); in dmz_write_sb()
1008 crc = crc32_le(gen, (unsigned char *)sb, DMZ_BLOCK_SIZE); in dmz_check_sb()
2431 memcpy(to_mblk->data, from_mblk->data, DMZ_BLOCK_SIZE); in dmz_copy_valid_blocks()