Lines Matching full:wp
137 zone->wp = zone->start + zone->len; in null_init_zoned_dev()
158 zone->wp = zone->start + zone->capacity; in null_init_zoned_dev()
161 zone->wp = zone->start; in null_init_zoned_dev()
222 blkz.wp = zone->wp; in null_report_zones()
249 sector + nr_sectors <= zone->wp) in null_zone_valid_read_len()
252 if (sector > zone->wp) in null_zone_valid_read_len()
255 return (zone->wp - sector) << SECTOR_SHIFT; in null_zone_valid_read_len()
275 if (zone->wp == zone->start) { in null_close_imp_open_zone()
378 zone->wp == NULL_ZONE_INVALID_WP) { in null_zone_write()
382 sector = zone->wp; in null_zone_write()
386 if (sector != zone->wp || in null_zone_write()
387 zone->wp + nr_sectors > zone->start + zone->capacity) { in null_zone_write()
419 zone->wp += nr_sectors; in null_zone_write()
420 if (zone->wp == zone->start + zone->capacity) { in null_zone_write()
530 if (zone->wp > zone->start) in null_close_zone()
536 if (zone->wp == zone->start) in null_close_zone()
590 zone->wp = zone->start + zone->len; in null_finish_zone()
626 zone->wp = zone->start; in null_reset_zone()
748 zone->wp = zone->start; in null_set_zone_cond()
756 zone->wp = NULL_ZONE_INVALID_WP; in null_set_zone_cond()