Searched refs:i_port (Results 1 - 6 of 6) sorted by relevance

/drivers/target/loopback/
H A Dtcm_loop.c1121 unsigned char i_port[TL_WWN_ADDR_LEN], *ptr, *port_ptr; local
1140 snprintf(&i_port[0], TL_WWN_ADDR_LEN, "%s", page);
1142 ptr = strstr(i_port, "naa.");
1146 " match target port protoid: %s\n", i_port,
1150 port_ptr = &i_port[0];
1153 ptr = strstr(i_port, "fc.");
1157 " match target port protoid: %s\n", i_port,
1161 port_ptr = &i_port[3]; /* Skip over "fc." */
1164 ptr = strstr(i_port, "iqn.");
1168 " match target port protoid: %s\n", i_port,
[all...]
/drivers/xen/
H A Dxen-scsiback.c1759 unsigned char i_port[VSCSI_NAMELEN], *ptr, *port_ptr; local
1778 snprintf(&i_port[0], VSCSI_NAMELEN, "%s", page);
1780 ptr = strstr(i_port, "naa.");
1784 i_port, scsiback_dump_proto_id(tport_wwn));
1787 port_ptr = &i_port[0];
1790 ptr = strstr(i_port, "fc.");
1794 i_port, scsiback_dump_proto_id(tport_wwn));
1797 port_ptr = &i_port[3]; /* Skip over "fc." */
1800 ptr = strstr(i_port, "iqn.");
1804 i_port, scsiback_dump_proto_i
[all...]
/drivers/vhost/
H A Dscsi.c2020 unsigned char i_port[TCM_VHOST_NAMELEN], *ptr, *port_ptr; local
2039 snprintf(&i_port[0], TCM_VHOST_NAMELEN, "%s", page);
2041 ptr = strstr(i_port, "naa.");
2045 " match target port protoid: %s\n", i_port,
2049 port_ptr = &i_port[0];
2052 ptr = strstr(i_port, "fc.");
2056 " match target port protoid: %s\n", i_port,
2060 port_ptr = &i_port[3]; /* Skip over "fc." */
2063 ptr = strstr(i_port, "iqn.");
2067 " match target port protoid: %s\n", i_port,
[all...]
/drivers/usb/gadget/legacy/
H A Dtcm_usb_gadget.c1805 unsigned char i_port[USBG_NAMELEN], *ptr; local
1817 snprintf(i_port, USBG_NAMELEN, "%s", page);
1819 ptr = strstr(i_port, "naa.");
1825 if (i_port[strlen(i_port) - 1] == '\n')
1826 i_port[strlen(i_port) - 1] = '\0';
1828 ret = tcm_usbg_make_nexus(tpg, &i_port[4]);
/drivers/target/
H A Dtarget_core_configfs.c1268 unsigned char *i_fabric = NULL, *i_port = NULL, *isid = NULL; local
1309 i_port = match_strdup(args);
1310 if (!i_port) {
1314 if (strlen(i_port) >= PR_APTPL_MAX_IPORT_LEN) {
1408 if (!i_port || !t_port || !sa_res_key) {
1422 i_port, isid, mapped_lun, t_port, tpgt, target_lun,
1426 kfree(i_port);
H A Dtarget_core_pr.c770 unsigned char *i_port,
782 if (!i_port || !t_port || !sa_res_key) {
819 * Copy the i_port and t_port information from caller.
821 snprintf(pr_reg->pr_iport, PR_APTPL_MAX_IPORT_LEN, "%s", i_port);
876 unsigned char i_port[PR_APTPL_MAX_IPORT_LEN]; local
880 memset(i_port, 0, PR_APTPL_MAX_IPORT_LEN);
885 snprintf(i_port, PR_APTPL_MAX_IPORT_LEN, "%s", nacl->initiatorname);
899 if (!strcmp(pr_reg->pr_iport, i_port) &&
767 core_scsi3_alloc_aptpl_registration( struct t10_reservation *pr_tmpl, u64 sa_res_key, unsigned char *i_port, unsigned char *isid, u32 mapped_lun, unsigned char *t_port, u16 tpgt, u32 target_lun, int res_holder, int all_tg_pt, u8 type) argument

Completed in 170 milliseconds