Searched refs:tmp_nexus (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 2003 struct srpt_nexus *nexus = NULL, *tmp_nexus = NULL, *n; in srpt_get_nexus() local 2014 if (!nexus && tmp_nexus) { in srpt_get_nexus() 2015 list_add_tail_rcu(&tmp_nexus->entry, in srpt_get_nexus() 2017 swap(nexus, tmp_nexus); in srpt_get_nexus() 2023 tmp_nexus = kzalloc(sizeof(*nexus), GFP_KERNEL); in srpt_get_nexus() 2024 if (!tmp_nexus) { in srpt_get_nexus() 2028 INIT_LIST_HEAD(&tmp_nexus->ch_list); in srpt_get_nexus() 2029 memcpy(tmp_nexus->i_port_id, i_port_id, 16); in srpt_get_nexus() 2030 memcpy(tmp_nexus->t_port_id, t_port_id, 16); in srpt_get_nexus() 2033 kfree(tmp_nexus); in srpt_get_nexus() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 2012 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() [all...] |
Completed in 7 milliseconds