Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/net/ax25/
Dax25_iface.c35 struct listen_struct *next; member
48 ap->next = protocol_list; in ax25_register_pid()
65 protocol_list = protocol->next; in ax25_protocol_release()
69 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release()
70 if (protocol->next->pid == pid) { in ax25_protocol_release()
71 protocol->next = protocol->next->next; in ax25_protocol_release()
75 protocol = protocol->next; in ax25_protocol_release()
115 listen->next = listen_list; in ax25_listen_register()
136 listen_list = listen->next; in ax25_listen_release()
142 while (listen != NULL && listen->next != NULL) { in ax25_listen_release()
[all …]
Dax25_route.c50 ax25_rt = ax25_rt->next; in ax25_rt_device_down()
54 ax25_route_list = s->next; in ax25_rt_device_down()
58 for (t = ax25_route_list; t != NULL; t = t->next) { in ax25_rt_device_down()
59 if (t->next == s) { in ax25_rt_device_down()
60 t->next = s->next; in ax25_rt_device_down()
110 ax25_rt = ax25_rt->next; in ax25_rt_add()
138 ax25_rt->next = ax25_route_list; in ax25_rt_add()
165 ax25_rt = ax25_rt->next; in ax25_rt_del()
169 ax25_route_list = s->next; in ax25_rt_del()
172 for (t = ax25_route_list; t != NULL; t = t->next) { in ax25_rt_del()
[all …]
Dax25_dev.c37 for (ax25_dev = ax25_dev_list; ax25_dev != NULL; ax25_dev = ax25_dev->next) in ax25_addr_ax25dev()
86 ax25_dev->next = ax25_dev_list; in ax25_dev_device_up()
112 for (s = ax25_dev_list; s != NULL; s = s->next) in ax25_dev_device_down()
117 ax25_dev_list = s->next; in ax25_dev_device_down()
126 while (s != NULL && s->next != NULL) { in ax25_dev_device_down()
127 if (s->next == ax25_dev) { in ax25_dev_device_down()
128 s->next = ax25_dev->next; in ax25_dev_device_down()
137 s = s->next; in ax25_dev_device_down()
210 ax25_dev = ax25_dev->next; in ax25_dev_free()
/net/rose/
Drose_route.c67 rose_node = rose_node->next; in rose_add_node()
81 rose_neigh = rose_neigh->next; in rose_add_node()
126 rose_neigh->next = rose_neigh_list; in rose_add_node()
144 rose_tmpn = rose_tmpn->next; in rose_add_node()
166 rose_node->next = NULL; in rose_add_node()
168 rose_tmpp->next = rose_node; in rose_add_node()
169 rose_node->next = NULL; in rose_add_node()
173 rose_node->next = rose_node_list; in rose_add_node()
176 rose_tmpp->next = rose_node; in rose_add_node()
177 rose_node->next = rose_tmpn; in rose_add_node()
[all …]
/net/netlabel/
Dnetlabel_addrlist.h64 i = i->next; in __af4list_valid()
83 for (iter = __af4list_valid((head)->next, head); \
85 iter = __af4list_valid(iter->list.next, head))
88 for (iter = __af4list_valid_rcu((head)->next, head); \
90 iter = __af4list_valid_rcu(iter->list.next, head))
93 for (iter = __af4list_valid((head)->next, head), \
94 tmp = __af4list_valid(iter->list.next, head); \
96 iter = tmp, tmp = __af4list_valid(iter->list.next, head))
131 i = i->next; in __af6list_valid()
150 for (iter = __af6list_valid((head)->next, head); \
[all …]
/net/atm/
Dmpoa_caches.c48 entry = entry->next; in in_cache_get()
69 entry = entry->next; in in_cache_get_with_mask()
90 entry = entry->next; in in_cache_get_by_vcc()
112 entry->next = client->in_cache; in in_cache_add_entry()
201 entry->prev->next = entry->next; in in_cache_remove_entry()
203 client->in_cache = entry->next; in in_cache_remove_entry()
204 if (entry->next != NULL) in in_cache_remove_entry()
205 entry->next->prev = entry->prev; in in_cache_remove_entry()
237 next_entry = entry->next; in clear_count_and_expired()
266 entry = entry->next; /* Entry in hold down */ in check_resolving_entries()
[all …]
Dlec.c839 for (; e; e = e->next) { in lec_tbl_walk()
975 next); in lec_seq_show()
985 .next = lec_seq_next,
1288 hlist_add_head(&entry->next, tmp); in lec_arp_add()
1305 hlist_del(&to_remove->next); in lec_arp_remove()
1318 &priv->lec_arp_tables[i], next) { in lec_arp_remove()
1362 &priv->lec_arp_tables[i], next) { in dump_arp_table()
1389 hlist_for_each_entry(rulla, &priv->lec_no_forward, next) { in dump_arp_table()
1411 hlist_for_each_entry(rulla, &priv->lec_arp_empty_ones, next) { in dump_arp_table()
1433 hlist_for_each_entry(rulla, &priv->mcast_fwds, next) { in dump_arp_table()
[all …]
/net/unix/
Dgarbage.c95 struct sk_buff *next; in scan_inflight() local
98 skb_queue_walk_safe(&x->sk_receive_queue, skb, next) { in scan_inflight()
140 struct sk_buff *next; in scan_children() local
148 skb_queue_walk_safe(&x->sk_receive_queue, skb, next) { in scan_children()
160 u = list_entry(embryos.next, struct unix_sock, link); in scan_children()
210 struct unix_sock *next; in unix_gc() local
249 list_for_each_entry_safe(u, next, &gc_inflight_list, link) { in unix_gc()
283 while (cursor.next != &gc_candidates) { in unix_gc()
284 u = list_entry(cursor.next, struct unix_sock, link); in unix_gc()
317 u = list_entry(not_cycle_list.next, struct unix_sock, link); in unix_gc()
[all …]
/net/sched/
Dsch_sfq.c96 sfq_index next; member
104 sfq_index next; /* next slot in sfq RR chain */ member
210 n = q->dep[qlen].next; in sfq_link()
212 slot->dep.next = n; in sfq_link()
215 q->dep[qlen].next = x; /* sfq_dep_head(q, p)->next = x */ in sfq_link()
221 n = q->slots[x].dep.next; \
223 sfq_dep_head(q, p)->next = n; \
262 skb->prev->next = (struct sk_buff *)slot; in slot_dequeue_tail()
263 skb->next = skb->prev = NULL; in slot_dequeue_tail()
272 slot->skblist_next = skb->next; in slot_dequeue_head()
[all …]
Dcls_route.c47 struct route4_filter __rcu *next; member
166 f = rcu_dereference_bh(f->next)) in route4_classify()
172 f = rcu_dereference_bh(f->next)) in route4_classify()
178 f = rcu_dereference_bh(f->next)) in route4_classify()
234 f = rtnl_dereference(f->next)) in route4_get()
293 struct route4_filter *next; in route4_destroy() local
295 next = rtnl_dereference(f->next); in route4_destroy()
296 RCU_INIT_POINTER(b->ht[h2], next); in route4_destroy()
330 fp = &nf->next, nf = rtnl_dereference(*fp)) { in route4_delete()
333 RCU_INIT_POINTER(*fp, rtnl_dereference(f->next)); in route4_delete()
[all …]
Dcls_u32.c44 struct tc_u_knode __rcu *next; member
70 struct tc_u_hnode __rcu *next; member
135 n = rcu_dereference_bh(n->next); in u32_classify()
141 n = rcu_dereference_bh(n->next); in u32_classify()
159 n = rcu_dereference_bh(n->next); in u32_classify()
175 n = rcu_dereference_bh(n->next); in u32_classify()
183 n = rcu_dereference_bh(n->next); in u32_classify()
189 n = rcu_dereference_bh(n->next); in u32_classify()
260 ht = rtnl_dereference(ht->next)) in u32_lookup_ht()
278 n = rtnl_dereference(n->next)) in u32_lookup_key()
[all …]
Dcls_fw.c34 struct fw_filter __rcu *next; member
62 f = rcu_dereference_bh(f->next)) { in fw_classify()
98 for (; f; f = rtnl_dereference(f->next)) { in fw_get()
143 rtnl_dereference(f->next)); in fw_destroy()
170 fp = &pfp->next, pfp = rtnl_dereference(*fp)) { in fw_delete()
172 RCU_INIT_POINTER(*fp, rtnl_dereference(f->next)); in fw_delete()
287 fp = &pfp->next, pfp = rtnl_dereference(*fp)) in fw_change()
291 RCU_INIT_POINTER(fnew->next, rtnl_dereference(pfp->next)); in fw_change()
331 RCU_INIT_POINTER(f->next, head->ht[fw_hash(handle)]); in fw_change()
359 f = rtnl_dereference(f->next)) { in fw_walk()
/net/sctp/
Dstream_sched_prio.c51 p->next = NULL; in sctp_sched_prio_new_head()
97 pos = p->next->prio_list.next; in sctp_sched_prio_next_stream()
99 pos = pos->next; in sctp_sched_prio_next_stream()
100 p->next = list_entry(pos, struct sctp_stream_out_ext, prio_list); in sctp_sched_prio_next_stream()
113 if (prio_head->next == soute) in sctp_sched_prio_unsched()
123 prio_head->next = NULL; in sctp_sched_prio_unsched()
145 if (prio_head->next) { in sctp_sched_prio_sched()
146 list_add(&soute->prio_list, prio_head->next->prio_list.prev); in sctp_sched_prio_sched()
151 prio_head->next = soute; in sctp_sched_prio_sched()
271 prio = list_entry(stream->prio_list.next, in sctp_sched_prio_dequeue()
[all …]
/net/ipv6/ila/
Dila_xlat.c21 struct ila_map __rcu *next; member
138 ila = rcu_access_pointer(ila->next); in ila_lookup_wildcards()
156 ila = rcu_access_pointer(ila->next); in ila_lookup_by_params()
169 struct ila_map *next; in ila_free_node() local
173 next = rcu_access_pointer(ila->next); in ila_free_node()
175 ila = next; in ila_free_node()
255 tila = rcu_dereference_protected(tila->next, in ila_add_mapping()
261 RCU_INIT_POINTER(ila->next, tila); in ila_add_mapping()
262 rcu_assign_pointer(prev->next, ila); in ila_add_mapping()
265 RCU_INIT_POINTER(ila->next, head); in ila_add_mapping()
[all …]
/net/netfilter/ipvs/
Dip_vs_proto.c53 pp->next = ip_vs_proto_table[hash]; in register_ip_vs_protocol()
76 pd->next = ipvs->proto_data_table[hash]; in register_ip_vs_proto_netns()
84 ipvs->proto_data_table[hash] = pd->next; in register_ip_vs_proto_netns()
102 for (; *pp_p; pp_p = &(*pp_p)->next) { in unregister_ip_vs_protocol()
104 *pp_p = pp->next; in unregister_ip_vs_protocol()
124 for (; *pd_p; pd_p = &(*pd_p)->next) { in unregister_ip_vs_proto_netns()
126 *pd_p = pd->next; in unregister_ip_vs_proto_netns()
145 for (pp = ip_vs_proto_table[hash]; pp; pp = pp->next) { in ip_vs_proto_get()
163 for (pd = ipvs->proto_data_table[hash]; pd; pd = pd->next) { in ip_vs_proto_data_get()
181 for (pd = ipvs->proto_data_table[i]; pd; pd = pd->next) { in ip_vs_protocol_timeout_change()
/net/wireless/
Dsme.c958 u8 *next; in cfg80211_connect_done() local
982 next = ((u8 *)ev) + sizeof(*ev); in cfg80211_connect_done()
984 ev->cr.ap_mld_addr = next; in cfg80211_connect_done()
987 next += ETH_ALEN; in cfg80211_connect_done()
990 ev->cr.req_ie = next; in cfg80211_connect_done()
994 next += params->req_ie_len; in cfg80211_connect_done()
997 ev->cr.resp_ie = next; in cfg80211_connect_done()
1001 next += params->resp_ie_len; in cfg80211_connect_done()
1004 ev->cr.fils.kek = next; in cfg80211_connect_done()
1008 next += params->fils.kek_len; in cfg80211_connect_done()
[all …]
/net/appletalk/
Datalk_proc.c21 for (i = atalk_interfaces; pos && i; i = i->next) in atalk_get_interface_idx()
48 i = i->next; in atalk_seq_interface_next()
82 for (r = atalk_routes; pos && r; r = r->next) in atalk_get_route_idx()
109 r = r->next; in atalk_seq_route_next()
191 .next = atalk_seq_interface_next,
198 .next = atalk_seq_route_next,
205 .next = atalk_seq_socket_next,
Daarp.c67 struct aarp_entry *next; member
260 *n = (*n)->next; in __aarp_expire_timer()
263 n = &((*n)->next); in __aarp_expire_timer()
279 *n = (*n)->next; in __aarp_kick()
283 n = &((*n)->next); in __aarp_kick()
300 *n = (*n)->next; in __aarp_expire_device()
303 n = &((*n)->next); in __aarp_expire_device()
357 *n = (*n)->next; in __aarp_expire_all()
404 list = list->next; in __aarp_find_entry()
513 entry->next = proxies[hash]; in aarp_proxy_probe_network()
[all …]
/net/core/
Dnet-procfs.c181 .next = dev_seq_next,
188 .next = softnet_seq_next,
245 nxt = pt->list.next; in ptype_seq_next()
253 nxt = dev->ptype_all.next; in ptype_seq_next()
258 nxt = ptype_all.next; in ptype_seq_next()
267 nxt = ptype_base[0].next; in ptype_seq_next()
274 nxt = ptype_base[hash].next; in ptype_seq_next()
308 .next = ptype_seq_next,
376 .next = dev_seq_next,
Dneighbour.c189 neigh = rcu_dereference_protected(n->next, in neigh_del()
219 np = &n->next; in neigh_remove_one()
341 np = &n->next; in neigh_flush_dev()
345 np = &n->next; in neigh_flush_dev()
349 rcu_dereference_protected(n->next, in neigh_flush_dev()
535 struct neighbour *n, *next; in neigh_hash_grow() local
540 n = next) { in neigh_hash_grow()
545 next = rcu_dereference_protected(n->next, in neigh_hash_grow()
548 rcu_assign_pointer(n->next, in neigh_hash_grow()
642 n1 = rcu_dereference_protected(n1->next, in ___neigh_create()
[all …]
/net/netfilter/ipset/
Dip_set_hash_ipport.c76 hash_ipport4_data_next(struct hash_ipport4_elem *next, in hash_ipport4_data_next() argument
79 next->ip = d->ip; in hash_ipport4_data_next()
80 next->port = d->port; in hash_ipport4_data_next()
177 ip = ntohl(h->next.ip); in hash_ipport4_uadt()
179 p = retried && ip == ntohl(h->next.ip) ? ntohs(h->next.port) in hash_ipport4_uadt()
185 hash_ipport4_data_next(&h->next, &e); in hash_ipport4_uadt()
235 hash_ipport6_data_next(struct hash_ipport6_elem *next, in hash_ipport6_data_next() argument
238 next->port = d->port; in hash_ipport6_data_next()
328 port = ntohs(h->next.port); in hash_ipport6_uadt()
Dip_set_hash_ipportip.c77 hash_ipportip4_data_next(struct hash_ipportip4_elem *next, in hash_ipportip4_data_next() argument
80 next->ip = d->ip; in hash_ipportip4_data_next()
81 next->port = d->port; in hash_ipportip4_data_next()
184 ip = ntohl(h->next.ip); in hash_ipportip4_uadt()
186 p = retried && ip == ntohl(h->next.ip) ? ntohs(h->next.port) in hash_ipportip4_uadt()
192 hash_ipportip4_data_next(&h->next, &e); in hash_ipportip4_uadt()
245 hash_ipportip6_data_next(struct hash_ipportip6_elem *next, in hash_ipportip6_data_next() argument
248 next->port = d->port; in hash_ipportip6_data_next()
343 port = ntohs(h->next.port); in hash_ipportip6_uadt()
Dip_set_list_set.c190 struct set_elem *e, *next, *prev = NULL; in list_set_utest() local
205 next = list_next_entry(e, list); in list_set_utest()
207 next->id == d->refid; in list_set_utest()
237 struct set_elem *e, *n, *prev, *next; in list_set_uadd() local
241 n = prev = next = NULL; in list_set_uadd()
251 next = e; in list_set_uadd()
257 if ((d->before > 0 && !next) || in list_set_uadd()
280 if (!list_is_last(&next->list, &map->members)) in list_set_uadd()
281 n = list_next_entry(next, list); in list_set_uadd()
302 else if (next) in list_set_uadd()
[all …]
/net/ipv4/
Dinetpeer.c99 struct rb_node **pp, *parent, *next; in lookup() local
107 next = rcu_dereference_raw(*pp); in lookup()
108 if (!next) in lookup()
110 parent = next; in lookup()
125 pp = &next->rb_left; in lookup()
127 pp = &next->rb_right; in lookup()
/net/llc/
Dllc_proc.c82 struct sock* sk, *next; in llc_seq_next() local
92 next = sk_nulls_next(sk); in llc_seq_next()
93 if (next) { in llc_seq_next()
94 sk = next; in llc_seq_next()
205 .next = llc_seq_next,
212 .next = llc_seq_next,

12345678910>>...13