Searched refs:max_active_zones (Results 1 – 16 of 16) sorted by relevance
278 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),
210 uint32_t max_active_zones; member362 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()
420 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()
365 unsigned int max_active_zones; in btrfs_get_dev_zone_info() local431 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 …]
24 unsigned int max_active_zones; member
143 __virtio32 max_active_zones; member
145 __virtio32 max_active_zones; member
379 __u32 max_active_zones; member
191 unsigned int max_active_zones; member687 unsigned int max_active_zones) in disk_set_max_active_zones() argument689 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()
630 disk->max_active_zones = 0; in disk_clear_zone_settings()
896 uint32_t max_active_zones; member
1211 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()
268 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()
781 zoned.max_active_zones, &v); in virtblk_probe_zoned_device()
383 What: /sys/block/<disk>/queue/max_active_zones
1417 bs->bl.max_active_zones = ret; in raw_refresh_zoned_limits()