Home
last modified time | relevance | path

Searched refs:tmp_nexus (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c2012 struct srpt_nexus *nexus = NULL, *tmp_nexus = NULL, *n; in srpt_get_nexus() local
2023 if (!nexus && tmp_nexus) { in srpt_get_nexus()
2024 list_add_tail_rcu(&tmp_nexus->entry, in srpt_get_nexus()
2026 swap(nexus, tmp_nexus); in srpt_get_nexus()
2032 tmp_nexus = kzalloc(sizeof(*nexus), GFP_KERNEL); in srpt_get_nexus()
2033 if (!tmp_nexus) { in srpt_get_nexus()
2037 INIT_LIST_HEAD(&tmp_nexus->ch_list); in srpt_get_nexus()
2038 memcpy(tmp_nexus->i_port_id, i_port_id, 16); in srpt_get_nexus()
2039 memcpy(tmp_nexus->t_port_id, t_port_id, 16); in srpt_get_nexus()
2042 kfree(tmp_nexus); in srpt_get_nexus()