Searched refs:tmp_nexus (Results 1 – 1 of 1) sorted by relevance
2007 struct srpt_nexus *nexus = NULL, *tmp_nexus = NULL, *n; in srpt_get_nexus() local2018 if (!nexus && tmp_nexus) { in srpt_get_nexus()2019 list_add_tail_rcu(&tmp_nexus->entry, in srpt_get_nexus()2021 swap(nexus, tmp_nexus); in srpt_get_nexus()2027 tmp_nexus = kzalloc(sizeof(*nexus), GFP_KERNEL); in srpt_get_nexus()2028 if (!tmp_nexus) { in srpt_get_nexus()2032 INIT_LIST_HEAD(&tmp_nexus->ch_list); in srpt_get_nexus()2033 memcpy(tmp_nexus->i_port_id, i_port_id, 16); in srpt_get_nexus()2034 memcpy(tmp_nexus->t_port_id, t_port_id, 16); in srpt_get_nexus()2037 kfree(tmp_nexus); in srpt_get_nexus()