Home
last modified time | relevance | path

Searched refs:max_open_zones (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/hw/nvme/
H A Dns.c279 id_ns_z->mor = cpu_to_le32(ns->params.max_open_zones - 1); in nvme_ns_init_zoned()
588 if (ns->params.max_open_zones > ns->params.max_active_zones) { in nvme_ns_check_constraints()
590 "max_active_zones (%u)", ns->params.max_open_zones, in nvme_ns_check_constraints()
595 if (!ns->params.max_open_zones) { in nvme_ns_check_constraints()
596 ns->params.max_open_zones = ns->params.max_active_zones; in nvme_ns_check_constraints()
821 params.max_open_zones, 0),
H A Dnvme.h211 uint32_t max_open_zones; member
344 if (ns->params.max_open_zones) { in nvme_aor_inc_open()
346 assert(ns->nr_open_zones <= ns->params.max_open_zones); in nvme_aor_inc_open()
352 if (ns->params.max_open_zones) { in nvme_aor_dec_open()
H A Dctrl.c426 if (ns->params.max_open_zones != 0 && in nvme_zns_check_resources()
427 ns->nr_open_zones + opn > ns->params.max_open_zones) { in nvme_zns_check_resources()
428 trace_pci_nvme_err_insuff_open_res(ns->params.max_open_zones); in nvme_zns_check_resources()
2003 if (ns->params.max_open_zones && in nvme_zrm_auto_transition_zone()
2004 ns->nr_open_zones == ns->params.max_open_zones) { in nvme_zrm_auto_transition_zone()
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_blk.h142 __virtio32 max_open_zones; member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_blk.h144 __virtio32 max_open_zones; member
H A Dublk_cmd.h378 __u32 max_open_zones; member
/openbmc/linux/include/linux/
H A Dblkdev.h190 unsigned int max_open_zones; member
681 unsigned int max_open_zones) in disk_set_max_open_zones() argument
683 disk->max_open_zones = max_open_zones; in disk_set_max_open_zones()
694 return bdev->bd_disk->max_open_zones; in bdev_max_open_zones()
/openbmc/linux/block/
H A Dblk-zoned.c629 disk->max_open_zones = 0; in disk_clear_zone_settings()
/openbmc/qemu/include/block/
H A Dblock_int-common.h893 uint32_t max_open_zones; member
/openbmc/qemu/hw/block/
H A Dvirtio-blk.c1213 virtio_stl_p(vdev, &blkcfg.zoned.max_open_zones, in virtio_blk_update_config()
1214 bs->bl.max_open_zones); in virtio_blk_update_config()
/openbmc/linux/drivers/block/
H A Dublk_drv.c271 if (p->max_open_zones > nr_zones) in ublk_dev_param_zoned_validate()
286 disk_set_max_open_zones(ub->ub_disk, p->max_open_zones); in ublk_dev_param_zoned_apply()
H A Dvirtio_blk.c776 zoned.max_open_zones, &v); in virtblk_probe_zoned_device()
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-block422 What: /sys/block/<disk>/queue/max_open_zones
/openbmc/qemu/block/
H A Dfile-posix.c1412 bs->bl.max_open_zones = ret; in raw_refresh_zoned_limits()