Lines Matching defs:host

5  *  Simulate a host adapter with 2 disks attached.  Do a lot of checking
114 /* With these defaults, this driver will make 1 host with 1 target
369 int si_idx; /* sdeb_store_info (per host) xarray index */
375 /* There is an xarray of pointers to this struct's objects, one per host */
808 static int sdebug_host_max_queue; /* per host */
818 static int sdebug_num_tgts = DEF_NUM_TGTS; /* targets per host */
896 static bool sdeb_zbc_in_use; /* true for host-aware and host-managed disks */
2213 * total disk capacity, set RC BASIS = 1 for host-managed ZBC devices.
3271 /* For host-managed, reads cannot cross zone types boundaries */
4722 * "cd /sys/class/scsi_host/host<n> ; echo '- - 49409' > scan"
4723 * where <n> is a host number. If there are multiple targets in a host then
5547 sdbg_host = shost_to_sdebug_host(sdev->host);
5580 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun);
5593 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun);
5594 if (sdp->host->max_cmd_len != SDEBUG_MAX_CMD_LEN)
5595 sdp->host->max_cmd_len = SDEBUG_MAX_CMD_LEN;
5632 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun);
5806 struct Scsi_Host *shost = sdp->host;
5879 struct sdebug_host_info *sdbg_host = shost_to_sdebug_host(sdp->host);
5912 struct sdebug_host_info *sdbg_host = shost_to_sdebug_host(sdp->host);
5928 "%s: %d device(s) found in host\n", __func__, k);
6340 MODULE_PARM_DESC(add_host, "add n hosts, in sysfs if negative remove host(s) (def=1)");
6341 MODULE_PARM_DESC(ato, "application tag ownership: 0=disk 1=host (def=1)");
6354 "host max # of queued cmds (0 to max(def) [max_queue fixed equal for !0])");
6375 MODULE_PARM_DESC(num_tgts, "number of targets per host to simulate(def=1)");
6401 MODULE_PARM_DESC(zbc, "'none' [0]; 'aware' [1]; 'managed' [2] (def=0). Can have 'host-' prefix");
6427 static int scsi_debug_write_info(struct Scsi_Host *host, char *buffer,
6475 * same for each scsi_debug host (if more than one). Some of the counters
6477 static int scsi_debug_show_info(struct seq_file *m, struct Scsi_Host *host)
6493 seq_printf(m, "RESETs: device=%d, target=%d, bus=%d, host=%d\n",
6516 blk_mq_tagset_busy_iter(&host->tag_set, sdebug_submit_queue_iter,
6524 seq_printf(m, "this host_no=%d\n", host->host_no);
7273 [BLK_ZONED_HA] = "host-aware",
7274 [BLK_ZONED_HM] = "host-managed",
7491 pr_warn("fixing max submit queue depth to host max queue depth, %d\n",
7496 * check for host managed zoned block device specified with
7621 pr_info("built %d host(s)\n", sdebug_num_hosts);
8448 * following should give the same answer for each host.
8516 pr_info("host protection%s%s%s%s%s%s%s\n",