Searched refs:max_active_zones (Results 1 – 16 of 16) sorted by relevance
| /linux/drivers/nvme/host/ |
| H A D | zns.c | 101 zi->max_active_zones = le32_to_cpu(id->mar) + 1; in nvme_query_zone_info() 113 lim->max_active_zones = zi->max_active_zones; in nvme_update_zone_info()
|
| H A D | nvme.h | 1223 unsigned int max_active_zones; member
|
| H A D | core.c | 2535 t->max_active_zones = in nvme_stack_zone_resources() 2536 min_not_zero(t->max_active_zones, b->max_active_zones); in nvme_stack_zone_resources()
|
| /linux/fs/btrfs/ |
| H A D | zoned.c | 363 int max_active_zones; in btrfs_get_max_active_zones() local 371 max_active_zones = min_not_zero(bdev_max_active_zones(bdev), in btrfs_get_max_active_zones() 373 if (max_active_zones == 0) in btrfs_get_max_active_zones() 374 max_active_zones = min(zone_info->nr_zones / 4, in btrfs_get_max_active_zones() 377 zone_info->max_active_zones = max(max_active_zones, BTRFS_MIN_ACTIVE_ZONES); in btrfs_get_max_active_zones() 533 if (unlikely(nactive > zone_info->max_active_zones)) { in btrfs_get_dev_zone_info() 536 "zoned: %u active zones on %s exceeds max_active_zones %u", in btrfs_get_dev_zone_info() 538 zone_info->max_active_zones); in btrfs_get_dev_zone_info() 549 zone_info->max_active_zones in btrfs_get_dev_zone_info() [all...] |
| /linux/tools/testing/selftests/ublk/ |
| H A D | test_params_01.sh | 107 --dev_sectors $((128 * 4)) --max_active_zones 5 ||
|
| H A D | kublk.h | 78 __u32 max_active_zones; member
|
| H A D | kublk.c | 280 .max_active_zones = p->max_active_zones, in ublk_init_params_from_ctx() 2447 ctx.params.max_active_zones = strtoul(optarg, NULL, 0); in main()
|
| /linux/include/uapi/linux/ |
| H A D | virtio_blk.h | 145 __virtio32 max_active_zones; member
|
| H A D | ublk_cmd.h | 732 __u32 max_active_zones; member
|
| /linux/block/ |
| H A D | blk-settings.c | 92 WARN_ON_ONCE(lim->max_active_zones) || in blk_validate_zoned_limits() 106 if (lim->max_active_zones && in blk_validate_zoned_limits() 107 lim->max_open_zones > lim->max_active_zones) in blk_validate_zoned_limits()
|
| H A D | blk-zoned.c | 2045 pool_size = max(lim->max_open_zones, lim->max_active_zones); in disk_revalidate_zone_resources() 2099 if (lim.max_active_zones >= nr_seq_zones) in disk_update_zone_resources() 2100 lim.max_active_zones = 0; in disk_update_zone_resources() 2112 pool_size = max(lim.max_open_zones, lim.max_active_zones); in disk_update_zone_resources() 2118 if (!lim.max_open_zones && !lim.max_active_zones) { in disk_update_zone_resources()
|
| /linux/drivers/scsi/ |
| H A D | sd_zbc.c | 638 lim->max_active_zones = 0; in sd_zbc_read_zones()
|
| /linux/include/linux/ |
| H A D | blkdev.h | 430 unsigned int max_active_zones; member 770 return bdev->bd_disk->queue->limits.max_active_zones; in bdev_max_active_zones()
|
| /linux/drivers/block/ |
| H A D | virtio_blk.c | 736 zoned.max_active_zones, &v); in virtblk_read_zoned_limits() 737 lim->max_active_zones = v; in virtblk_read_zoned_limits()
|
| H A D | ublk_drv.c | 585 if (p->max_active_zones > nr_zones) in ublk_dev_param_zoned_validate() 4496 lim.max_active_zones = p->max_active_zones; in ublk_ctrl_start_dev()
|
| /linux/drivers/block/null_blk/ |
| H A D | zoned.c | 177 lim->max_active_zones = dev->zone_max_active; in null_init_zoned_dev()
|