Lines Matching defs:nexus
1978 struct srpt_nexus *nexus;
1983 list_for_each_entry(nexus, &sport->nexus_list, entry) {
1984 list_for_each_entry(ch, &nexus->ch_list, list) {
2003 struct srpt_nexus *nexus = NULL, *tmp_nexus = NULL, *n;
2010 nexus = n;
2014 if (!nexus && tmp_nexus) {
2017 swap(nexus, tmp_nexus);
2021 if (nexus)
2023 tmp_nexus = kzalloc(sizeof(*nexus), GFP_KERNEL);
2025 nexus = ERR_PTR(-ENOMEM);
2035 return nexus;
2146 struct srpt_nexus *nexus;
2167 nexus = srpt_get_nexus(sport, req->initiator_port_id,
2169 if (IS_ERR(nexus)) {
2170 ret = PTR_ERR(nexus);
2216 ch->nexus = nexus;
2304 be64_to_cpu(*(__be64 *)nexus->i_port_id),
2305 be64_to_cpu(*(__be64 *)(nexus->i_port_id + 8)));
2366 list_for_each_entry(ch2, &nexus->ch_list, list) {
2377 list_add_tail_rcu(&ch->list, &nexus->ch_list);
2950 struct srpt_nexus *nexus, *next_n;
2967 list_for_each_entry(nexus, &sport->nexus_list, entry) {
2968 list_for_each_entry(ch, &nexus->ch_list, list) {
2978 list_for_each_entry_safe(nexus, next_n, &sport->nexus_list, entry) {
2979 list_del(&nexus->entry);
2980 kfree_rcu(nexus, rcu);