Searched refs:wp_block (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/md/ |
D | dm-zoned-reclaim.c | 64 sector_t wp_block = zone->wp_block; in dmz_reclaim_align_wp() local 68 if (wp_block == block) in dmz_reclaim_align_wp() 71 if (wp_block > block) in dmz_reclaim_align_wp() 78 nr_blocks = block - wp_block; in dmz_reclaim_align_wp() 80 dmz_start_sect(zmd, zone) + dmz_blk2sect(wp_block), in dmz_reclaim_align_wp() 85 zone->id, (unsigned long long)wp_block, in dmz_reclaim_align_wp() 91 zone->wp_block = block; in dmz_reclaim_align_wp() 130 end_block = src_zone->wp_block; in dmz_reclaim_copy() 186 dst_zone->wp_block = block; in dmz_reclaim_copy() 199 sector_t chunk_block = dzone->wp_block; in dmz_reclaim_buf() [all …]
|
D | dm-zoned-metadata.c | 1395 zone->wp_block = 0; in dmz_init_zone() 1397 zone->wp_block = dmz_sect2blk(blkz->wp - blkz->start); in dmz_init_zone() 1436 zone->wp_block = 0; in dmz_emulate_zones() 1572 zone->wp_block = dmz_sect2blk(blkz->wp - blkz->start); in dmz_update_zone_cb() 1574 zone->wp_block = 0; in dmz_update_zone_cb() 1624 wp = zone->wp_block; in dmz_handle_seq_write_err() 1630 zone->id, zone->wp_block, wp); in dmz_handle_seq_write_err() 1632 if (zone->wp_block < wp) { in dmz_handle_seq_write_err() 1633 dmz_invalidate_blocks(zmd, zone, zone->wp_block, in dmz_handle_seq_write_err() 1634 wp - zone->wp_block); in dmz_handle_seq_write_err() [all …]
|
D | dm-zoned.h | 112 unsigned int wp_block; member 159 #define dmz_is_empty(z) ((z)->wp_block == 0)
|
D | dm-zoned-target.c | 145 zone->wp_block += nr_blocks; in dmz_submit_bio() 198 chunk_block < zone->wp_block) { in dmz_handle_read() 309 if (ret == 0 && chunk_block < zone->wp_block) in dmz_handle_buffered_write() 337 chunk_block == zone->wp_block) { in dmz_handle_write() 384 chunk_block < zone->wp_block) in dmz_handle_discard()
|
/linux-6.12.1/fs/f2fs/ |
D | segment.c | 5216 block_t cs_zone_block, wp_block; in fix_curseg_write_pointer() local 5247 wp_block = zbd->start_blk + (zone.wp >> log_sectors_per_block); in fix_curseg_write_pointer() 5248 wp_segno = GET_SEGNO(sbi, wp_block); in fix_curseg_write_pointer() 5249 wp_blkoff = wp_block - START_BLOCK(sbi, wp_segno); in fix_curseg_write_pointer()
|