Home
last modified time | relevance | path

Searched refs:max_active_zones (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/hw/nvme/
H A Dns.c278 id_ns_z->mar = cpu_to_le32(ns->params.max_active_zones - 1); in nvme_ns_init_zoned()
587 if (ns->params.max_active_zones) { in nvme_ns_check_constraints()
588 if (ns->params.max_open_zones > ns->params.max_active_zones) { in nvme_ns_check_constraints()
591 ns->params.max_active_zones); in nvme_ns_check_constraints()
596 ns->params.max_open_zones = ns->params.max_active_zones; in nvme_ns_check_constraints()
634 if (ns->params.max_active_zones) { in nvme_ns_check_constraints()
635 if (ns->params.numzrwa > ns->params.max_active_zones) { in nvme_ns_check_constraints()
641 ns->params.max_active_zones); in nvme_ns_check_constraints()
819 params.max_active_zones, 0),
H A Dnvme.h210 uint32_t max_active_zones; member
362 if (ns->params.max_active_zones) { in nvme_aor_inc_active()
364 assert(ns->nr_active_zones <= ns->params.max_active_zones); in nvme_aor_inc_active()
370 if (ns->params.max_active_zones) { in nvme_aor_dec_active()
H A Dctrl.c420 if (ns->params.max_active_zones != 0 && in nvme_zns_check_resources()
421 ns->nr_active_zones + act > ns->params.max_active_zones) { in nvme_zns_check_resources()
422 trace_pci_nvme_err_insuff_active_res(ns->params.max_active_zones); in nvme_zns_check_resources()
/openbmc/linux/fs/btrfs/
H A Dzoned.c365 unsigned int max_active_zones; in btrfs_get_dev_zone_info() local
431 if (max_active_zones && max_active_zones < BTRFS_MIN_ACTIVE_ZONES) { in btrfs_get_dev_zone_info()
439 zone_info->max_active_zones = max_active_zones; in btrfs_get_dev_zone_info()
519 if (max_active_zones) { in btrfs_get_dev_zone_info()
520 if (nactive > max_active_zones) { in btrfs_get_dev_zone_info()
524 max_active_zones); in btrfs_get_dev_zone_info()
529 max_active_zones - nactive); in btrfs_get_dev_zone_info()
1109 if (zone_info->max_active_zones == 0) in btrfs_dev_set_active_zone()
2009 if (zinfo->max_active_zones == 0) in btrfs_zone_activate()
2168 if (zinfo->max_active_zones == 0) in do_zone_finish()
[all …]
H A Dzoned.h24 unsigned int max_active_zones; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_blk.h143 __virtio32 max_active_zones; member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_blk.h145 __virtio32 max_active_zones; member
H A Dublk_cmd.h379 __u32 max_active_zones; member
/openbmc/linux/include/linux/
H A Dblkdev.h191 unsigned int max_active_zones; member
687 unsigned int max_active_zones) in disk_set_max_active_zones() argument
689 disk->max_active_zones = max_active_zones; in disk_set_max_active_zones()
699 return bdev->bd_disk->max_active_zones; in bdev_max_active_zones()
/openbmc/linux/block/
H A Dblk-zoned.c630 disk->max_active_zones = 0; in disk_clear_zone_settings()
/openbmc/qemu/include/block/
H A Dblock_int-common.h896 uint32_t max_active_zones; member
/openbmc/qemu/hw/block/
H A Dvirtio-blk.c1211 virtio_stl_p(vdev, &blkcfg.zoned.max_active_zones, in virtio_blk_update_config()
1212 bs->bl.max_active_zones); in virtio_blk_update_config()
/openbmc/linux/drivers/block/
H A Dublk_drv.c268 if (p->max_active_zones > nr_zones) in ublk_dev_param_zoned_validate()
285 disk_set_max_active_zones(ub->ub_disk, p->max_active_zones); in ublk_dev_param_zoned_apply()
H A Dvirtio_blk.c781 zoned.max_active_zones, &v); in virtblk_probe_zoned_device()
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-block383 What: /sys/block/<disk>/queue/max_active_zones
/openbmc/qemu/block/
H A Dfile-posix.c1417 bs->bl.max_active_zones = ret; in raw_refresh_zoned_limits()