Lines Matching defs:host

5  *  Simulate a host adapter with 2 disks attached.  Do a lot of checking
110 /* With these defaults, this driver will make 1 host with 1 target
307 int si_idx; /* sdeb_store_info (per host) xarray index */
313 /* There is an xarray of pointers to this struct's objects, one per host */
742 static int sdebug_host_max_queue; /* per host */
753 static int sdebug_num_tgts = DEF_NUM_TGTS; /* targets per host */
786 /* Following enum: 0: no zbc, def; 1: host aware; 2: host managed */
826 static bool sdeb_zbc_in_use; /* true for host-aware and host-managed disks */
1883 * total disk capacity, set RC BASIS = 1 for host-managed ZBC devices.
2827 /* For host-managed, reads cannot cross zone types boundaries */
4137 * "cd /sys/class/scsi_host/host<n> ; echo '- - 49409' > scan"
4138 * where <n> is a host number. If there are multiple targets in a host then
4981 sdbg_host = *(struct sdebug_host_info **)shost_priv(sdev->host);
5019 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun);
5030 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun);
5031 if (sdp->host->max_cmd_len != SDEBUG_MAX_CMD_LEN)
5032 sdp->host->max_cmd_len = SDEBUG_MAX_CMD_LEN;
5052 sdp->host->host_no, sdp->channel, sdp->id, sdp->lun);
5219 hp = sdp->host;
5253 hp = sdp->host;
5267 "%s: %d device(s) found in host\n", __func__, k);
5461 "report: host busy"));
5679 MODULE_PARM_DESC(add_host, "add n hosts, in sysfs if negative remove host(s) (def=1)");
5680 MODULE_PARM_DESC(ato, "application tag ownership: 0=disk 1=host (def=1)");
5693 "host max # of queued cmds (0 to max(def) [max_queue fixed equal for !0])");
5713 MODULE_PARM_DESC(num_tgts, "number of targets per host to simulate(def=1)");
5738 MODULE_PARM_DESC(zbc, "'none' [0]; 'aware' [1]; 'managed' [2] (def=0). Can have 'host-' prefix");
5762 static int scsi_debug_write_info(struct Scsi_Host *host, char *buffer,
5784 * same for each scsi_debug host (if more than one). Some of the counters
5786 static int scsi_debug_show_info(struct seq_file *m, struct Scsi_Host *host)
5803 seq_printf(m, "RESETs: device=%d, target=%d, bus=%d, host=%d\n",
5827 seq_printf(m, "this host_no=%d\n", host->host_no);
6565 [BLK_ZONED_HA] = "host-aware",
6566 [BLK_ZONED_HM] = "host-managed",
6761 pr_warn("fixing max submit queue depth to host max queue depth, %d\n",
6773 * check for host managed zoned block device specified with
6894 pr_info("built %d host(s)\n", sdebug_num_hosts);
7181 /* allow to exceed max host qc_arr elements for testing */
7471 * following should give the same answer for each host.
7517 pr_info("host protection%s%s%s%s%s%s%s\n",
7555 pr_err("Unable to locate host info\n");