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