/linux-6.1.9/net/bridge/ |
D | br_mrp.c | 27 static bool br_mrp_is_in_port(struct net_bridge_port *i_port, in br_mrp_is_in_port() argument 30 if (port == i_port) in br_mrp_is_in_port() 100 p = rtnl_dereference(mrp->i_port); in br_mrp_unique_ifindex() 118 rcu_access_pointer(mrp->i_port) == p) { in br_mrp_find_port() 404 p = rcu_dereference(mrp->i_port); in br_mrp_in_test_work_expired() 443 p = rtnl_dereference(mrp->i_port); in br_mrp_del_impl() 475 p = rtnl_dereference(mrp->i_port); in br_mrp_del_impl() 484 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_del_impl() 774 p = rtnl_dereference(mrp->i_port); in br_mrp_set_in_role() 790 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_set_in_role() [all …]
|
D | br_mrp_switchdev.c | 150 .i_port = rtnl_dereference(mrp->i_port)->dev, in br_mrp_switchdev_set_in_role()
|
D | br_private_mrp.h | 17 struct net_bridge_port __rcu *i_port; member
|
D | br_mrp_netlink.c | 477 p = rcu_dereference(mrp->i_port); in br_mrp_fill_info()
|
/linux-6.1.9/drivers/target/loopback/ |
D | tcm_loop.c | 812 unsigned char i_port[TL_WWN_ADDR_LEN], *ptr, *port_ptr; in tcm_loop_tpg_nexus_store() local 831 snprintf(&i_port[0], TL_WWN_ADDR_LEN, "%s", page); in tcm_loop_tpg_nexus_store() 833 ptr = strstr(i_port, "naa."); in tcm_loop_tpg_nexus_store() 837 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store() 840 port_ptr = &i_port[0]; in tcm_loop_tpg_nexus_store() 843 ptr = strstr(i_port, "fc."); in tcm_loop_tpg_nexus_store() 847 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store() 850 port_ptr = &i_port[3]; /* Skip over "fc." */ in tcm_loop_tpg_nexus_store() 853 ptr = strstr(i_port, "iqn."); in tcm_loop_tpg_nexus_store() 857 i_port, tcm_loop_dump_proto_id(tl_hba)); in tcm_loop_tpg_nexus_store() [all …]
|
/linux-6.1.9/drivers/xen/ |
D | xen-scsiback.c | 1651 unsigned char i_port[VSCSI_NAMELEN], *ptr, *port_ptr; in scsiback_tpg_nexus_store() local 1670 snprintf(&i_port[0], VSCSI_NAMELEN, "%s", page); in scsiback_tpg_nexus_store() 1672 ptr = strstr(i_port, "naa."); in scsiback_tpg_nexus_store() 1676 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store() 1679 port_ptr = &i_port[0]; in scsiback_tpg_nexus_store() 1682 ptr = strstr(i_port, "fc."); in scsiback_tpg_nexus_store() 1686 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store() 1689 port_ptr = &i_port[3]; /* Skip over "fc." */ in scsiback_tpg_nexus_store() 1692 ptr = strstr(i_port, "iqn."); in scsiback_tpg_nexus_store() 1696 i_port, scsiback_dump_proto_id(tport_wwn)); in scsiback_tpg_nexus_store() [all …]
|
/linux-6.1.9/drivers/vhost/ |
D | scsi.c | 2219 unsigned char i_port[VHOST_SCSI_NAMELEN], *ptr, *port_ptr; in vhost_scsi_tpg_nexus_store() local 2238 snprintf(&i_port[0], VHOST_SCSI_NAMELEN, "%s", page); in vhost_scsi_tpg_nexus_store() 2240 ptr = strstr(i_port, "naa."); in vhost_scsi_tpg_nexus_store() 2244 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store() 2248 port_ptr = &i_port[0]; in vhost_scsi_tpg_nexus_store() 2251 ptr = strstr(i_port, "fc."); in vhost_scsi_tpg_nexus_store() 2255 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store() 2259 port_ptr = &i_port[3]; /* Skip over "fc." */ in vhost_scsi_tpg_nexus_store() 2262 ptr = strstr(i_port, "iqn."); in vhost_scsi_tpg_nexus_store() 2266 " match target port protoid: %s\n", i_port, in vhost_scsi_tpg_nexus_store() [all …]
|
/linux-6.1.9/drivers/usb/gadget/function/ |
D | f_tcm.c | 1627 unsigned char i_port[USBG_NAMELEN], *ptr; in tcm_usbg_tpg_nexus_store() local 1641 snprintf(i_port, USBG_NAMELEN, "%s", page); in tcm_usbg_tpg_nexus_store() 1643 ptr = strstr(i_port, "naa."); in tcm_usbg_tpg_nexus_store() 1649 if (i_port[strlen(i_port) - 1] == '\n') in tcm_usbg_tpg_nexus_store() 1650 i_port[strlen(i_port) - 1] = '\0'; in tcm_usbg_tpg_nexus_store() 1652 ret = tcm_usbg_make_nexus(tpg, &i_port[0]); in tcm_usbg_tpg_nexus_store()
|
/linux-6.1.9/drivers/target/ |
D | target_core_configfs.c | 1978 unsigned char *i_fabric = NULL, *i_port = NULL, *isid = NULL; in target_pr_res_aptpl_metadata_store() local 2020 i_port = match_strdup(args); in target_pr_res_aptpl_metadata_store() 2021 if (!i_port) { in target_pr_res_aptpl_metadata_store() 2025 if (strlen(i_port) >= PR_APTPL_MAX_IPORT_LEN) { in target_pr_res_aptpl_metadata_store() 2133 if (!i_port || !t_port || !sa_res_key) { in target_pr_res_aptpl_metadata_store() 2147 i_port, isid, mapped_lun, t_port, tpgt, target_lun, in target_pr_res_aptpl_metadata_store() 2151 kfree(i_port); in target_pr_res_aptpl_metadata_store()
|
D | target_core_pr.c | 824 unsigned char *i_port, in core_scsi3_alloc_aptpl_registration() argument 836 if (!i_port || !t_port || !sa_res_key) { in core_scsi3_alloc_aptpl_registration() 874 snprintf(pr_reg->pr_iport, PR_APTPL_MAX_IPORT_LEN, "%s", i_port); in core_scsi3_alloc_aptpl_registration() 928 unsigned char i_port[PR_APTPL_MAX_IPORT_LEN] = { }; in __core_scsi3_check_aptpl_registration() local 935 snprintf(i_port, PR_APTPL_MAX_IPORT_LEN, "%s", nacl->initiatorname); in __core_scsi3_check_aptpl_registration() 949 if (!strcmp(pr_reg->pr_iport, i_port) && in __core_scsi3_check_aptpl_registration()
|
/linux-6.1.9/include/net/ |
D | switchdev.h | 185 struct net_device *i_port; member
|