Searched refs:zoned (Results 1 - 25 of 25) sorted by relevance

/linux-master/drivers/block/null_blk/
H A DMakefile11 null_blk-$(CONFIG_BLK_DEV_ZONED) += zoned.o
H A Dnull_blk.h80 unsigned long zone_size; /* zone size in MB if device is zoned */
81 unsigned long zone_capacity; /* zone capacity in MB if device is zoned */
102 bool zoned; /* if device is zoned */ member in struct:nullb_device
H A Dmain.c233 module_param_named(zoned, g_zoned, bool, S_IRUGO);
234 MODULE_PARM_DESC(zoned, "Make device as a host-managed zoned block device. Default: false");
238 MODULE_PARM_DESC(zone_size, "Zone size in MB when block device is zoned. Must be power-of-two: Default: 256");
242 MODULE_PARM_DESC(zone_capacity, "Zone capacity in MB when block device is zoned. Can be less than or equal to zone size. Default: Zone size");
246 MODULE_PARM_DESC(zone_nr_conv, "Number of conventional zones when block device is zoned. Default: 0");
250 MODULE_PARM_DESC(zone_max_open, "Maximum number of open zones when block device is zoned. Default: 0 (no limit)");
254 MODULE_PARM_DESC(zone_max_active, "Maximum number of active zones when block device is zoned. Default: 0 (no limit)");
433 NULLB_DEVICE_ATTR(zoned, bool, NULL);
672 "virt_boundary,zoned,zone_capacit
[all...]
H A Dzoned.c155 lim->zoned = true;
731 if (!dev->zoned) {
732 pr_err("null_blk device is not zoned\n");
/linux-master/drivers/md/
H A DMakefile28 dm-zoned-y += dm-zoned-target.o dm-zoned-metadata.o dm-zoned-reclaim.o
79 obj-$(CONFIG_DM_ZONED) += dm-zoned.o
H A Ddm-table.c253 * If the target is mapped to zoned block device(s), check
268 * Note: The last zone of a zoned block device may be smaller
270 * zoned block device with such a zone, len would not be zone
1590 bool *zoned = data; local
1592 return bdev_is_zoned(dev->bdev) != *zoned;
1602 * Check the device zoned model based on the target feature flag. If the target
1603 * has the DM_TARGET_ZONED_HM feature flag set, host-managed zoned devices are
1604 * also accepted but all devices must have the same zoned model. If the target
1606 * zoned model with all zoned device
1608 dm_table_supports_zoned(struct dm_table *t, bool zoned) argument
1654 validate_hardware_zoned(struct dm_table *t, bool zoned, unsigned int zone_sectors) argument
1687 bool zoned = false; local
[all...]
H A Ddm-zoned-target.c8 #include "dm-zoned.h"
12 #define DM_MSG_PREFIX "zoned"
686 * Get zoned device information.
722 ti->error = "Too many zoned devices";
749 * Cleanup zoned device information.
772 * regular block device and the others zoned block devices.
785 ti->error = "Secondary disk is not a zoned device";
802 ti->error = "Disk is not a zoned device";
843 ti->error = "Unable to allocate the zoned target descriptor";
848 ti->error = "Unable to allocate the zoned devic
1156 module_dm(zoned); variable
[all...]
/linux-master/block/
H A DMakefile33 obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o
36 obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
H A Dblk-settings.c71 if (!lim->zoned) {
552 * @q: the request queue for the zoned device
557 * sequential zones of a zoned block device.
880 t->zoned = max(t->zoned, b->zoned);
881 if (!t->zoned) {
1082 * disk_set_zoned - inidicate a zoned device
1095 q->limits.zoned = true;
/linux-master/include/uapi/linux/
H A Dvirtio_blk.h150 } zoned; member in struct:virtio_blk_config
229 * Supported zoned device models.
234 /* Host-managed zoned device */
236 /* Host-aware zoned device */
321 /* Error codes that are specific to zoned block devices */
H A Dublk_cmd.h182 * User space sets this flag when setting up the device to request zoned storage support. Kernel may
397 struct ublk_param_zoned zoned; member in struct:ublk_params
/linux-master/drivers/scsi/
H A Dsd.h152 unsigned zoned: 2; member in struct:scsi_disk
243 return sdkp->zoned == 1 || sdkp->device->type == TYPE_ZBC;
H A Dsd.c594 if (sdkp->zoned == 1)
596 if (sdkp->zoned == 2)
3291 sdkp->zoned = (vpd->data[8] >> 4) & 3;
3325 sd_printk(KERN_NOTICE, sdkp, "Host-managed zoned block device\n");
3326 else if (sdkp->zoned == 1)
3328 else if (sdkp->zoned == 2)
3718 * For a zoned drive, revalidating the zones can be done only once
H A Dscsi_debug.c343 bool zoned; member in struct:sdebug_dev_info
1908 is_zbc = devip->zoned;
2215 if (devip->zoned)
2706 is_zbc = devip->zoned;
5456 if (devip->zoned) {
5481 if (devip->zoned)
5524 devip->zoned = sdeb_zbc_model == BLK_ZONED_HM;
5530 devip->zoned = false;
7496 * check for host managed zoned block device specified with
/linux-master/fs/btrfs/
H A DMakefile40 btrfs-$(CONFIG_BLK_DEV_ZONED) += zoned.o
H A Dtree-log.c152 const bool zoned = btrfs_is_zoned(fs_info); local
185 if (zoned && atomic_read(&root->log_commit[index])) {
203 if (zoned && !created) {
236 const bool zoned = btrfs_is_zoned(root->fs_info); local
248 if (zoned && atomic_read(&root->log_commit[index])) {
2974 * and we cannot proceed on a zoned filesystem, requiring
H A Dsysfs.c296 BTRFS_FEAT_ATTR_INCOMPAT(zoned, ZONED);
330 BTRFS_FEAT_ATTR_PTR(zoned),
H A Dblock-group.c20 #include "zoned.h"
924 /* Allocator for zoned filesystems does not use the cache at all */
1659 * DISCARD can flip during remount. On zoned filesystems, we
2141 const bool zoned = btrfs_is_zoned(fs_info); local
2165 if (zoned && nr) {
2168 "zoned: block group %llu must not contain super block",
2333 btrfs_err(info, "zoned: failed to load zone info of bg %llu",
2351 * For zoned filesystem, space after the allocation offset is the only
2985 * grant metadata tickets for zoned filesystem.
4228 * zoned filesyste
[all...]
H A Dinode.c53 #include "zoned.h"
1392 * btrfs_reserve_extent only returns -EAGAIN for zoned
1990 * Normally on a zoned device we're only doing COW writes, but in case
1991 * of relocation on a zoned filesystem serializes I/O so that we're only
2265 const bool zoned = btrfs_is_zoned(inode->root->fs_info);
2285 if (zoned)
2266 const bool zoned = btrfs_is_zoned(inode->root->fs_info); local
/linux-master/drivers/block/
H A Dvirtio_blk.c85 /* For zoned device */
729 dev_dbg(&vdev->dev, "probing host-managed zoned device\n");
731 lim->zoned = true;
734 zoned.max_open_zones, &v);
739 zoned.max_active_zones, &v);
744 zoned.write_granularity, &wg);
758 virtio_cread(vdev, struct virtio_blk_config, zoned.zone_sectors,
762 "zoned device with non power of two zone size %u\n",
771 "ignoring negotiated F_DISCARD for zoned device\n");
776 zoned
[all...]
H A Dublk_drv.c229 const struct ublk_param_zoned *p = &ub->params.zoned;
2201 const struct ublk_param_zoned *p = &ub->params.zoned;
2206 lim.zoned = true;
/linux-master/drivers/nvme/host/
H A Dzns.c51 "Zone Append supported for zoned namespace:%d. Remove read-only mode\n",
56 "Zone Append not supported for zoned namespace:%d. Forcing to read-only mode\n",
60 /* Lazily query controller append limit for the first zoned namespace */
81 * We currently do not handle devices requiring any of the zoned
111 lim->zoned = 1;
/linux-master/drivers/scsi/pm8001/
H A Dpm8001_init.c61 MODULE_PARM_DESC(zoned, "Use MSIX interrupts. Default: true");
65 MODULE_PARM_DESC(zoned, "Use MSIX interrupts. Default: true");
69 MODULE_PARM_DESC(zoned, "Get WWN from the controller. Default: true");
/linux-master/include/linux/
H A Dblkdev.h312 bool zoned; member in struct:queue_limits
618 return IS_ENABLED(CONFIG_BLK_DEV_ZONED) && q->limits.zoned;
948 /* Supports zoned block devices sequential write constraint */
1306 /* Whether write serialization is required for @op on zoned devices. */
/linux-master/drivers/ata/
H A Dlibata-scsi.c1887 0xb6, /* page 0xb6, zoned block device characteristics */
2065 u8 zoned = ata_id_zoned_cap(args->id); local
2072 if (zoned)
2073 rbuf[8] = (zoned << 4);

Completed in 748 milliseconds