Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-zoned-reclaim.c64 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 …]
H A Ddm-zoned-metadata.c1395 zone->wp_block = 0; in dmz_init_zone()
1436 zone->wp_block = 0; in dmz_emulate_zones()
1574 zone->wp_block = 0; in dmz_update_zone_cb()
1624 wp = zone->wp_block; in dmz_handle_seq_write_err()
1671 zone->wp_block = 0; in dmz_reset_zone()
3009 sector_t wp_block; in dmz_resume_metadata() local
3020 wp_block = zone->wp_block; in dmz_resume_metadata()
3035 zone->wp_block = 0; in dmz_resume_metadata()
3036 else if (zone->wp_block != wp_block) { in dmz_resume_metadata()
3038 i, (u64)zone->wp_block, (u64)wp_block); in dmz_resume_metadata()
[all …]
H A Ddm-zoned.h112 unsigned int wp_block; member
159 #define dmz_is_empty(z) ((z)->wp_block == 0)
H A Ddm-zoned-target.c145 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()
/openbmc/linux/fs/f2fs/
H A Dsegment.c4891 block_t zone_block, wp_block, last_valid_block; in check_zone_write_pointer() local
4899 wp_block = fdev->start_blk + (zone->wp >> log_sectors_per_block); in check_zone_write_pointer()
4900 wp_segno = GET_SEGNO(sbi, wp_block); in check_zone_write_pointer()
4901 wp_blkoff = wp_block - START_BLOCK(sbi, wp_segno); in check_zone_write_pointer()
4938 if ((last_valid_block + 1 == wp_block) || in check_zone_write_pointer()
5019 block_t cs_zone_block, wp_block; in fix_curseg_write_pointer() local
5045 wp_block = zbd->start_blk + (zone.wp >> log_sectors_per_block); in fix_curseg_write_pointer()
5046 wp_segno = GET_SEGNO(sbi, wp_block); in fix_curseg_write_pointer()
5047 wp_blkoff = wp_block - START_BLOCK(sbi, wp_segno); in fix_curseg_write_pointer()