Home
last modified time | relevance | path

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

/linux/drivers/md/
A 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)
A Ddm-zoned-target.c1000 limits->logical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
1001 limits->physical_block_size = DMZ_BLOCK_SIZE; in dmz_io_hints()
1003 blk_limits_io_min(limits, DMZ_BLOCK_SIZE); in dmz_io_hints()
1004 blk_limits_io_opt(limits, DMZ_BLOCK_SIZE); in dmz_io_hints()
1006 limits->discard_alignment = DMZ_BLOCK_SIZE; in dmz_io_hints()
1007 limits->discard_granularity = DMZ_BLOCK_SIZE; in dmz_io_hints()
A Ddm-zoned-metadata.c101 #define DMZ_MAP_ENTRIES (DMZ_BLOCK_SIZE / sizeof(struct dmz_map))
585 bio_add_page(bio, mblk->page, DMZ_BLOCK_SIZE, 0); in dmz_get_mblock_slow()
741 bio_add_page(bio, mblk->page, DMZ_BLOCK_SIZE, 0); in dmz_write_mblock()
769 bio_add_page(bio, page, DMZ_BLOCK_SIZE, 0); in dmz_rdwr_block()
817 sb->crc = cpu_to_le32(crc32_le(sb_gen, (unsigned char *)sb, DMZ_BLOCK_SIZE)); in dmz_write_sb()
1022 crc = crc32_le(gen, (unsigned char *)sb, DMZ_BLOCK_SIZE); in dmz_check_sb()
2448 memcpy(to_mblk->data, from_mblk->data, DMZ_BLOCK_SIZE); in dmz_copy_valid_blocks()

Completed in 12 milliseconds