Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/target/loopback/
Dtcm_loop.c810 unsigned char i_port[TL_WWN_ADDR_LEN], *ptr, *port_ptr; in tcm_loop_tpg_nexus_store() local
829 snprintf(&i_port[0], TL_WWN_ADDR_LEN, "%s", page); in tcm_loop_tpg_nexus_store()
831 ptr = strstr(i_port, "naa."); in tcm_loop_tpg_nexus_store()
835 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
838 port_ptr = &i_port[0]; in tcm_loop_tpg_nexus_store()
841 ptr = strstr(i_port, "fc."); in tcm_loop_tpg_nexus_store()
845 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
848 port_ptr = &i_port[3]; /* Skip over "fc." */ in tcm_loop_tpg_nexus_store()
851 ptr = strstr(i_port, "iqn."); in tcm_loop_tpg_nexus_store()
855 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store()
[all …]
/Linux-v5.10/net/bridge/
Dbr_mrp.c20 static bool br_mrp_is_in_port(struct net_bridge_port *i_port, in br_mrp_is_in_port() argument
23 if (port == i_port) in br_mrp_is_in_port()
93 p = rtnl_dereference(mrp->i_port); in br_mrp_unique_ifindex()
111 rcu_access_pointer(mrp->i_port) == p) { in br_mrp_find_port()
370 p = rcu_dereference(mrp->i_port); in br_mrp_in_test_work_expired()
434 p = rtnl_dereference(mrp->i_port); in br_mrp_del_impl()
443 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_del_impl()
721 p = rtnl_dereference(mrp->i_port); in br_mrp_set_in_role()
737 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_set_in_role()
753 if (rcu_access_pointer(mrp->i_port)) in br_mrp_set_in_role()
[all …]
Dbr_mrp_switchdev.c120 .i_port = rtnl_dereference(mrp->i_port)->dev, in br_mrp_switchdev_set_in_role()
Dbr_private_mrp.h15 struct net_bridge_port __rcu *i_port; member
Dbr_mrp_netlink.c477 p = rcu_dereference(mrp->i_port); in br_mrp_fill_info()
/Linux-v5.10/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 …]
/Linux-v5.10/drivers/vhost/
Dscsi.c2222 unsigned char i_port[VHOST_SCSI_NAMELEN], *ptr, *port_ptr; in vhost_scsi_tpg_nexus_store() local
2241 snprintf(&i_port[0], VHOST_SCSI_NAMELEN, "%s", page); in vhost_scsi_tpg_nexus_store()
2243 ptr = strstr(i_port, "naa."); in vhost_scsi_tpg_nexus_store()
2247 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2251 port_ptr = &i_port[0]; in vhost_scsi_tpg_nexus_store()
2254 ptr = strstr(i_port, "fc."); in vhost_scsi_tpg_nexus_store()
2258 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
2262 port_ptr = &i_port[3]; /* Skip over "fc." */ in vhost_scsi_tpg_nexus_store()
2265 ptr = strstr(i_port, "iqn."); in vhost_scsi_tpg_nexus_store()
2269 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store()
[all …]
/Linux-v5.10/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()
/Linux-v5.10/include/net/
Dswitchdev.h178 struct net_device *i_port; member
/Linux-v5.10/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.c1913 unsigned char *i_fabric = NULL, *i_port = NULL, *isid = NULL; in target_pr_res_aptpl_metadata_store() local
1955 i_port = match_strdup(args); in target_pr_res_aptpl_metadata_store()
1956 if (!i_port) { in target_pr_res_aptpl_metadata_store()
1960 if (strlen(i_port) >= PR_APTPL_MAX_IPORT_LEN) { in target_pr_res_aptpl_metadata_store()
2068 if (!i_port || !t_port || !sa_res_key) { in target_pr_res_aptpl_metadata_store()
2082 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store()
2086 kfree(i_port); in target_pr_res_aptpl_metadata_store()
/Linux-v5.10/net/decnet/
Daf_decnet.c189 unsigned short i_port = port; in port_alloc() local
192 if (port == i_port) in port_alloc()