Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/target/loopback/
Dtcm_loop.c816 unsigned char i_port[TL_WWN_ADDR_LEN], *ptr, *port_ptr; in tcm_loop_tpg_nexus_store() local
835 snprintf(&i_port[0], TL_WWN_ADDR_LEN, "%s", page); in tcm_loop_tpg_nexus_store()
837 ptr = strstr(i_port, "naa."); in tcm_loop_tpg_nexus_store()
841 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
844 port_ptr = &i_port[0]; in tcm_loop_tpg_nexus_store()
847 ptr = strstr(i_port, "fc."); in tcm_loop_tpg_nexus_store()
851 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
854 port_ptr = &i_port[3]; /* Skip over "fc." */ in tcm_loop_tpg_nexus_store()
857 ptr = strstr(i_port, "iqn."); in tcm_loop_tpg_nexus_store()
861 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
[all …]
/Linux-v5.4/drivers/xen/
Dxen-scsiback.c1620 unsigned char i_port[VSCSI_NAMELEN], *ptr, *port_ptr; in scsiback_tpg_nexus_store() local
1639 snprintf(&i_port[0], VSCSI_NAMELEN, "%s", page); in scsiback_tpg_nexus_store()
1641 ptr = strstr(i_port, "naa."); in scsiback_tpg_nexus_store()
1645 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1648 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store()
1651 ptr = strstr(i_port, "fc."); in scsiback_tpg_nexus_store()
1655 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
1658 port_ptr = &i_port[3]; /* Skip over "fc." */ in scsiback_tpg_nexus_store()
1661 ptr = strstr(i_port, "iqn."); in scsiback_tpg_nexus_store()
1665 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store()
[all …]
/Linux-v5.4/drivers/vhost/
Dscsi.c2068 unsigned char i_port[VHOST_SCSI_NAMELEN], *ptr, *port_ptr; in vhost_scsi_tpg_nexus_store() local
2087 snprintf(&i_port[0], VHOST_SCSI_NAMELEN, "%s", page); in vhost_scsi_tpg_nexus_store()
2089 ptr = strstr(i_port, "naa."); in vhost_scsi_tpg_nexus_store()
2093 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2097 port_ptr = &i_port[0]; in vhost_scsi_tpg_nexus_store()
2100 ptr = strstr(i_port, "fc."); in vhost_scsi_tpg_nexus_store()
2104 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2108 port_ptr = &i_port[3]; /* Skip over "fc." */ in vhost_scsi_tpg_nexus_store()
2111 ptr = strstr(i_port, "iqn."); in vhost_scsi_tpg_nexus_store()
2115 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
[all …]
/Linux-v5.4/drivers/usb/gadget/function/
Df_tcm.c1643 unsigned char i_port[USBG_NAMELEN], *ptr; in tcm_usbg_tpg_nexus_store() local
1657 snprintf(i_port, USBG_NAMELEN, "%s", page); in tcm_usbg_tpg_nexus_store()
1659 ptr = strstr(i_port, "naa."); in tcm_usbg_tpg_nexus_store()
1665 if (i_port[strlen(i_port) - 1] == '\n') in tcm_usbg_tpg_nexus_store()
1666 i_port[strlen(i_port) - 1] = '\0'; in tcm_usbg_tpg_nexus_store()
1668 ret = tcm_usbg_make_nexus(tpg, &i_port[0]); in tcm_usbg_tpg_nexus_store()
/Linux-v5.4/drivers/target/
Dtarget_core_configfs.c1847 unsigned char *i_fabric = NULL, *i_port = NULL, *isid = NULL; in target_pr_res_aptpl_metadata_store() local
1889 i_port = match_strdup(args); in target_pr_res_aptpl_metadata_store()
1890 if (!i_port) { in target_pr_res_aptpl_metadata_store()
1894 if (strlen(i_port) >= PR_APTPL_MAX_IPORT_LEN) { in target_pr_res_aptpl_metadata_store()
2002 if (!i_port || !t_port || !sa_res_key) { in target_pr_res_aptpl_metadata_store()
2016 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store()
2020 kfree(i_port); in target_pr_res_aptpl_metadata_store()
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()
/Linux-v5.4/net/decnet/
Daf_decnet.c188 unsigned short i_port = port; in port_alloc() local
191 if (port == i_port) in port_alloc()