Lines Matching defs:nexus
1987 struct srpt_nexus *nexus;
1992 list_for_each_entry(nexus, &sport->nexus_list, entry) {
1993 list_for_each_entry(ch, &nexus->ch_list, list) {
2012 struct srpt_nexus *nexus = NULL, *tmp_nexus = NULL, *n;
2019 nexus = n;
2023 if (!nexus && tmp_nexus) {
2026 swap(nexus, tmp_nexus);
2030 if (nexus)
2032 tmp_nexus = kzalloc(sizeof(*nexus), GFP_KERNEL);
2034 nexus = ERR_PTR(-ENOMEM);
2044 return nexus;
2155 struct srpt_nexus *nexus;
2176 nexus = srpt_get_nexus(sport, req->initiator_port_id,
2178 if (IS_ERR(nexus)) {
2179 ret = PTR_ERR(nexus);
2225 ch->nexus = nexus;
2313 be64_to_cpu(*(__be64 *)nexus->i_port_id),
2314 be64_to_cpu(*(__be64 *)(nexus->i_port_id + 8)));
2375 list_for_each_entry(ch2, &nexus->ch_list, list) {
2386 list_add_tail_rcu(&ch->list, &nexus->ch_list);
2958 struct srpt_nexus *nexus, *next_n;
2975 list_for_each_entry(nexus, &sport->nexus_list, entry) {
2976 list_for_each_entry(ch, &nexus->ch_list, list) {
2986 list_for_each_entry_safe(nexus, next_n, &sport->nexus_list, entry) {
2987 list_del(&nexus->entry);
2988 kfree_rcu(nexus, rcu);