Searched refs:tmp_nexus (Results 1 – 1 of 1) sorted by relevance
2071 struct srpt_nexus *nexus = NULL, *tmp_nexus = NULL, *n; in srpt_get_nexus() local2082 if (!nexus && tmp_nexus) { in srpt_get_nexus()2083 list_add_tail_rcu(&tmp_nexus->entry, in srpt_get_nexus()2085 swap(nexus, tmp_nexus); in srpt_get_nexus()2091 tmp_nexus = kzalloc(sizeof(*nexus), GFP_KERNEL); in srpt_get_nexus()2092 if (!tmp_nexus) { in srpt_get_nexus()2096 INIT_LIST_HEAD(&tmp_nexus->ch_list); in srpt_get_nexus()2097 memcpy(tmp_nexus->i_port_id, i_port_id, 16); in srpt_get_nexus()2098 memcpy(tmp_nexus->t_port_id, t_port_id, 16); in srpt_get_nexus()2101 kfree(tmp_nexus); in srpt_get_nexus()