Searched refs:zone_max_open (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/block/null_blk/ |
D | zoned.c | 112 if (dev->zone_max_active && dev->zone_max_open > dev->zone_max_active) { in null_init_zoned_dev() 113 dev->zone_max_open = dev->zone_max_active; in null_init_zoned_dev() 116 } else if (dev->zone_max_open >= dev->nr_zones - dev->zone_nr_conv) { in null_init_zoned_dev() 117 dev->zone_max_open = 0; in null_init_zoned_dev() 120 dev->need_zone_res_mgmt = dev->zone_max_active || dev->zone_max_open; in null_init_zoned_dev() 177 disk_set_max_open_zones(nullb->disk, dev->zone_max_open); in null_register_zoned_dev() 320 if (!dev->zone_max_open) in null_check_open() 323 if (dev->nr_zones_exp_open + dev->nr_zones_imp_open < dev->zone_max_open) in null_check_open()
|
D | null_blk.h | 95 unsigned int zone_max_open; /* max number of open zones */ member
|
D | main.c | 237 module_param_named(zone_max_open, g_zone_max_open, uint, 0444); 238 MODULE_PARM_DESC(zone_max_open, "Maximum number of open zones when block device is zoned. Default: … 425 NULLB_DEVICE_ATTR(zone_max_open, uint, NULL); 688 dev->zone_max_open = g_zone_max_open; in null_alloc_dev()
|
/linux-6.1.9/drivers/scsi/ |
D | scsi_debug.c | 5885 module_param_named(zone_max_open, sdeb_zbc_max_open, int, S_IRUGO); 5957 MODULE_PARM_DESC(zone_max_open, "Maximum number of open zones; [0] for no limit (def=auto)");
|