Home
last modified time | relevance | path

Searched refs:wp_block (Results 1 – 4 of 4) sorted by relevance

/drivers/md/
Ddm-zoned-reclaim.c62 sector_t wp_block = zone->wp_block; in dmz_reclaim_align_wp() local
66 if (wp_block == block) in dmz_reclaim_align_wp()
69 if (wp_block > block) in dmz_reclaim_align_wp()
76 nr_blocks = block - wp_block; in dmz_reclaim_align_wp()
78 dmz_start_sect(zmd, zone) + dmz_blk2sect(wp_block), in dmz_reclaim_align_wp()
83 dmz_id(zmd, zone), (unsigned long long)wp_block, in dmz_reclaim_align_wp()
89 zone->wp_block = block; in dmz_reclaim_align_wp()
129 end_block = src_zone->wp_block; in dmz_reclaim_copy()
180 dst_zone->wp_block = block; in dmz_reclaim_copy()
193 sector_t chunk_block = dzone->wp_block; in dmz_reclaim_buf()
[all …]
Ddm-zoned-metadata.c1122 zone->wp_block = 0; in dmz_init_zone()
1124 zone->wp_block = dmz_sect2blk(blkz->wp - blkz->start); in dmz_init_zone()
1202 zone->wp_block = dmz_sect2blk(blkz->wp - blkz->start); in dmz_update_zone_cb()
1204 zone->wp_block = 0; in dmz_update_zone_cb()
1249 wp = zone->wp_block; in dmz_handle_seq_write_err()
1255 dmz_id(zmd, zone), zone->wp_block, wp); in dmz_handle_seq_write_err()
1257 if (zone->wp_block < wp) { in dmz_handle_seq_write_err()
1258 dmz_invalidate_blocks(zmd, zone, zone->wp_block, in dmz_handle_seq_write_err()
1259 wp - zone->wp_block); in dmz_handle_seq_write_err()
1301 zone->wp_block = 0; in dmz_reset_zone()
[all …]
Ddm-zoned.h91 unsigned int wp_block; member
134 #define dmz_is_empty(z) ((z)->wp_block == 0)
Ddm-zoned-target.c141 zone->wp_block += nr_blocks; in dmz_submit_bio()
190 if (dmz_is_rnd(zone) || chunk_block < zone->wp_block) { in dmz_handle_read()
299 if (ret == 0 && chunk_block < zone->wp_block) in dmz_handle_buffered_write()
323 if (dmz_is_rnd(zone) || chunk_block == zone->wp_block) { in dmz_handle_write()
367 if (dmz_is_rnd(zone) || chunk_block < zone->wp_block) in dmz_handle_discard()