Searched refs:tmp_nexus (Results 1 – 1 of 1) sorted by relevance
1958 struct srpt_nexus *nexus = NULL, *tmp_nexus = NULL, *n; in srpt_get_nexus() local1969 if (!nexus && tmp_nexus) { in srpt_get_nexus()1970 list_add_tail_rcu(&tmp_nexus->entry, in srpt_get_nexus()1972 swap(nexus, tmp_nexus); in srpt_get_nexus()1978 tmp_nexus = kzalloc(sizeof(*nexus), GFP_KERNEL); in srpt_get_nexus()1979 if (!tmp_nexus) { in srpt_get_nexus()1983 INIT_LIST_HEAD(&tmp_nexus->ch_list); in srpt_get_nexus()1984 memcpy(tmp_nexus->i_port_id, i_port_id, 16); in srpt_get_nexus()1985 memcpy(tmp_nexus->t_port_id, t_port_id, 16); in srpt_get_nexus()1988 kfree(tmp_nexus); in srpt_get_nexus()