Home
last modified time | relevance | path

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

/drivers/target/loopback/
Dtcm_loop.c811 unsigned char i_port[TL_WWN_ADDR_LEN], *ptr, *port_ptr; in tcm_loop_tpg_nexus_store() local
830 snprintf(&i_port[0], TL_WWN_ADDR_LEN, "%s", page); in tcm_loop_tpg_nexus_store()
832 ptr = strstr(i_port, "naa."); in tcm_loop_tpg_nexus_store()
836 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
839 port_ptr = &i_port[0]; in tcm_loop_tpg_nexus_store()
842 ptr = strstr(i_port, "fc."); in tcm_loop_tpg_nexus_store()
846 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
849 port_ptr = &i_port[3]; /* Skip over "fc." */ in tcm_loop_tpg_nexus_store()
852 ptr = strstr(i_port, "iqn."); in tcm_loop_tpg_nexus_store()
856 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
[all …]
/drivers/xen/
Dxen-scsiback.c1593 unsigned char i_port[VSCSI_NAMELEN], *ptr, *port_ptr; in scsiback_tpg_nexus_store() local
1612 snprintf(&i_port[0], VSCSI_NAMELEN, "%s", page); in scsiback_tpg_nexus_store()
1614 ptr = strstr(i_port, "naa."); in scsiback_tpg_nexus_store()
1618 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1621 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store()
1624 ptr = strstr(i_port, "fc."); in scsiback_tpg_nexus_store()
1628 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1631 port_ptr = &i_port[3]; /* Skip over "fc." */ in scsiback_tpg_nexus_store()
1634 ptr = strstr(i_port, "iqn."); in scsiback_tpg_nexus_store()
1638 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
[all …]
/drivers/vhost/
Dscsi.c2223 unsigned char i_port[VHOST_SCSI_NAMELEN], *ptr, *port_ptr; in vhost_scsi_tpg_nexus_store() local
2242 snprintf(&i_port[0], VHOST_SCSI_NAMELEN, "%s", page); in vhost_scsi_tpg_nexus_store()
2244 ptr = strstr(i_port, "naa."); in vhost_scsi_tpg_nexus_store()
2248 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2252 port_ptr = &i_port[0]; in vhost_scsi_tpg_nexus_store()
2255 ptr = strstr(i_port, "fc."); in vhost_scsi_tpg_nexus_store()
2259 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2263 port_ptr = &i_port[3]; /* Skip over "fc." */ in vhost_scsi_tpg_nexus_store()
2266 ptr = strstr(i_port, "iqn."); in vhost_scsi_tpg_nexus_store()
2270 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
[all …]
/drivers/usb/gadget/function/
Df_tcm.c1649 unsigned char i_port[USBG_NAMELEN], *ptr; in tcm_usbg_tpg_nexus_store() local
1663 snprintf(i_port, USBG_NAMELEN, "%s", page); in tcm_usbg_tpg_nexus_store()
1665 ptr = strstr(i_port, "naa."); in tcm_usbg_tpg_nexus_store()
1671 if (i_port[strlen(i_port) - 1] == '\n') in tcm_usbg_tpg_nexus_store()
1672 i_port[strlen(i_port) - 1] = '\0'; in tcm_usbg_tpg_nexus_store()
1674 ret = tcm_usbg_make_nexus(tpg, &i_port[0]); in tcm_usbg_tpg_nexus_store()
/drivers/target/
Dtarget_core_pr.c825 unsigned char *i_port, in core_scsi3_alloc_aptpl_registration() argument
837 if (!i_port || !t_port || !sa_res_key) { in core_scsi3_alloc_aptpl_registration()
875 snprintf(pr_reg->pr_iport, PR_APTPL_MAX_IPORT_LEN, "%s", i_port); in core_scsi3_alloc_aptpl_registration()
930 unsigned char i_port[PR_APTPL_MAX_IPORT_LEN]; in __core_scsi3_check_aptpl_registration() local
934 memset(i_port, 0, PR_APTPL_MAX_IPORT_LEN); in __core_scsi3_check_aptpl_registration()
939 snprintf(i_port, PR_APTPL_MAX_IPORT_LEN, "%s", nacl->initiatorname); in __core_scsi3_check_aptpl_registration()
953 if (!strcmp(pr_reg->pr_iport, i_port) && in __core_scsi3_check_aptpl_registration()
Dtarget_core_configfs.c1921 unsigned char *i_fabric = NULL, *i_port = NULL, *isid = NULL; in target_pr_res_aptpl_metadata_store() local
1963 i_port = match_strdup(args); in target_pr_res_aptpl_metadata_store()
1964 if (!i_port) { in target_pr_res_aptpl_metadata_store()
1968 if (strlen(i_port) >= PR_APTPL_MAX_IPORT_LEN) { in target_pr_res_aptpl_metadata_store()
2076 if (!i_port || !t_port || !sa_res_key) { in target_pr_res_aptpl_metadata_store()
2090 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store()
2094 kfree(i_port); in target_pr_res_aptpl_metadata_store()