Lines Matching refs:target
110 /* With these defaults, this driver will make 1 host with 1 target
282 unsigned int target;
1062 (devip->target == dp->target))
1120 * on the target, until a REPORT LUNS command is
1260 arr[num++] = 0x94; /* PIV=1, target port, rel port */
1270 arr[num++] = 0x93; /* piv=1, target port, naa */
1277 arr[num++] = 0x95; /* piv=1, target port group id */
1286 arr[num++] = 0xa3; /* piv=1, target device, naa */
1293 arr[num++] = 0xa8; /* piv=1, target device, SCSI name string */
1370 /* naa-5 target port identifier (A) */
1372 arr[num++] = 0x93; /* PIV=1, target port, NAA */
1385 /* naa-5 target port identifier (B) */
1387 arr[num++] = 0x93; /* PIV=1, target port, NAA */
1598 (devip->target * 1000) + devip->lun);
1600 (devip->target * 1000) - 3;
2158 static int resp_err_recov_pg(unsigned char *p, int pcontrol, int target)
2169 static int resp_disconnect_pg(unsigned char *p, int pcontrol, int target)
2180 static int resp_format_pg(unsigned char *p, int pcontrol, int target)
2200 static int resp_caching_pg(unsigned char *p, int pcontrol, int target)
2220 static int resp_ctrl_m_pg(unsigned char *p, int pcontrol, int target)
2244 static int resp_iec_m_pg(unsigned char *p, int pcontrol, int target)
2259 static int resp_sas_sf_m_pg(unsigned char *p, int pcontrol, int target)
2271 static int resp_sas_pcd_m_spg(unsigned char *p, int pcontrol, int target,
2325 int target = scp->device->id;
2350 (devip->target * 1000) - 3;
2397 len = resp_err_recov_pg(ap, pcontrol, target);
2401 len = resp_disconnect_pg(ap, pcontrol, target);
2406 len = resp_format_pg(ap, pcontrol, target);
2413 len = resp_caching_pg(ap, pcontrol, target);
2419 len = resp_ctrl_m_pg(ap, pcontrol, target);
2429 len += resp_sas_sf_m_pg(ap + len, pcontrol, target);
2431 len += resp_sas_pcd_m_spg(ap + len, pcontrol, target,
2438 len = resp_iec_m_pg(ap, pcontrol, target);
2443 len = resp_err_recov_pg(ap, pcontrol, target);
2444 len += resp_disconnect_pg(ap + len, pcontrol, target);
2447 target);
2449 target);
2452 target);
2454 len += resp_ctrl_m_pg(ap + len, pcontrol, target);
2455 len += resp_sas_sf_m_pg(ap + len, pcontrol, target);
2458 target, target_dev_id);
2461 len += resp_iec_m_pg(ap + len, pcontrol, target);
3861 /* set UAs on most devices (LUs) in this target */
3865 if (dp->target == sdp->id) {
3873 /* set UA on all devices (LUs) in this target */
3877 if (dp->target == sdp->id)
4134 /* Even though each pseudo target has a REPORT LUNS "well known logical unit"
4139 * the above will associate a W-LUN to each target. To only get a W-LUN
4140 * for target 2, then use "echo '- 2 49409' > scan" .
4989 (devip->target == sdev->id) &&
5006 open_devip->target = sdev->id;
5227 if (devip->target == sdp->id) {
5234 "%s: %d device(s) found in target\n", __func__, k);
5704 MODULE_PARM_DESC(max_luns, "number of LUNs per target to simulate(def=1)");
5803 seq_printf(m, "RESETs: device=%d, target=%d, bus=%d, host=%d\n",