• Home
  • Raw
  • Download

Lines Matching refs:zone

2609 		if (CURSEG_I(sbi, i)->zone == zoneno)  in get_new_segment()
2639 curseg->zone = GET_ZONE_FROM_SEG(sbi, curseg->segno); in reset_curseg()
4770 struct blk_zone *zone) in check_zone_write_pointer() argument
4778 if (zone->type != BLK_ZONE_TYPE_SEQWRITE_REQ) in check_zone_write_pointer()
4781 wp_block = fdev->start_blk + (zone->wp >> log_sectors_per_block); in check_zone_write_pointer()
4784 zone_block = fdev->start_blk + (zone->start >> log_sectors_per_block); in check_zone_write_pointer()
4826 (zone->wp == zone->start + zone->len)) in check_zone_write_pointer()
4843 zone->len >> log_sectors_per_block); in check_zone_write_pointer()
4867 zone->start, zone->len, GFP_NOFS); in check_zone_write_pointer()
4869 ret = blkdev_issue_zeroout(fdev->bdev, zone->wp, in check_zone_write_pointer()
4870 zone->len - (zone->wp - zone->start), in check_zone_write_pointer()
4899 static int report_one_zone_cb(struct blk_zone *zone, unsigned int idx, in report_one_zone_cb() argument
4902 memcpy(data, zone, sizeof(struct blk_zone)); in report_one_zone_cb()
4910 struct blk_zone zone; in fix_curseg_write_pointer() local
4928 report_one_zone_cb, &zone); in fix_curseg_write_pointer()
4935 if (zone.type != BLK_ZONE_TYPE_SEQWRITE_REQ) in fix_curseg_write_pointer()
4943 wp_block = zbd->start_blk + (zone.wp >> log_sectors_per_block); in fix_curseg_write_pointer()
4946 wp_sector_off = zone.wp & GENMASK(log_sectors_per_block - 1, 0); in fix_curseg_write_pointer()
4966 if (check_zone_write_pointer(sbi, zbd, &zone)) in fix_curseg_write_pointer()
4980 report_one_zone_cb, &zone); in fix_curseg_write_pointer()
4987 if (zone.type != BLK_ZONE_TYPE_SEQWRITE_REQ) in fix_curseg_write_pointer()
4990 if (zone.wp != zone.start) { in fix_curseg_write_pointer()
4996 zone.len >> log_sectors_per_block); in fix_curseg_write_pointer()
5025 static int check_zone_write_pointer_cb(struct blk_zone *zone, unsigned int idx, in check_zone_write_pointer_cb() argument
5032 return check_zone_write_pointer(args->sbi, args->fdev, zone); in check_zone_write_pointer_cb()