Searched refs:zrange (Results 1 – 1 of 1) sorted by relevance
383 const struct blk_zone_range *zrange) in blkdev_truncate_zone_range() argument387 if (zrange->sector + zrange->nr_sectors <= zrange->sector || in blkdev_truncate_zone_range()388 zrange->sector + zrange->nr_sectors > get_capacity(bdev->bd_disk)) in blkdev_truncate_zone_range()392 start = zrange->sector << SECTOR_SHIFT; in blkdev_truncate_zone_range()393 end = ((zrange->sector + zrange->nr_sectors) << SECTOR_SHIFT) - 1; in blkdev_truncate_zone_range()407 struct blk_zone_range zrange; in blkdev_zone_mgmt_ioctl() local424 if (copy_from_user(&zrange, argp, sizeof(struct blk_zone_range))) in blkdev_zone_mgmt_ioctl()433 ret = blkdev_truncate_zone_range(bdev, mode, &zrange); in blkdev_zone_mgmt_ioctl()450 ret = blkdev_zone_mgmt(bdev, op, zrange.sector, zrange.nr_sectors, in blkdev_zone_mgmt_ioctl()
Completed in 4 milliseconds