Lines Matching refs:i_port
811 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()
859 port_ptr = &i_port[0]; in tcm_loop_tpg_nexus_store()
863 i_port); in tcm_loop_tpg_nexus_store()
869 if (i_port[strlen(i_port)-1] == '\n') in tcm_loop_tpg_nexus_store()
870 i_port[strlen(i_port)-1] = '\0'; in tcm_loop_tpg_nexus_store()