Searched refs:zrange (Results 1 – 1 of 1) sorted by relevance
280 blk_mode_t mode, const struct blk_zone_range *zrange) in blkdev_truncate_zone_range() argument284 if (zrange->sector + zrange->nr_sectors <= zrange->sector || in blkdev_truncate_zone_range()285 zrange->sector + zrange->nr_sectors > get_capacity(bdev->bd_disk)) in blkdev_truncate_zone_range()289 start = zrange->sector << SECTOR_SHIFT; in blkdev_truncate_zone_range()290 end = ((zrange->sector + zrange->nr_sectors) << SECTOR_SHIFT) - 1; in blkdev_truncate_zone_range()303 struct blk_zone_range zrange; in blkdev_zone_mgmt_ioctl() local316 if (copy_from_user(&zrange, argp, sizeof(struct blk_zone_range))) in blkdev_zone_mgmt_ioctl()325 ret = blkdev_truncate_zone_range(bdev, mode, &zrange); in blkdev_zone_mgmt_ioctl()342 ret = blkdev_zone_mgmt(bdev, op, zrange.sector, zrange.nr_sectors); in blkdev_zone_mgmt_ioctl()