Home
last modified time | relevance | path

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

/net/core/
Dflow.c32 struct list_head gc_list; member
85 struct list_head gc_list; in flow_cache_gc_task() local
90 INIT_LIST_HEAD(&gc_list); in flow_cache_gc_task()
92 list_splice_tail_init(&xfrm->flow_cache_gc_list, &gc_list); in flow_cache_gc_task()
95 list_for_each_entry_safe(fce, n, &gc_list, u.gc_list) in flow_cache_gc_task()
100 int deleted, struct list_head *gc_list, in flow_cache_queue_garbage() argument
106 list_splice_tail(gc_list, &xfrm->flow_cache_gc_list); in flow_cache_queue_garbage()
118 LIST_HEAD(gc_list); in __flow_cache_shrink()
134 list_add_tail(&fle->u.gc_list, &gc_list); in __flow_cache_shrink()
139 flow_cache_queue_garbage(fcp, deleted, &gc_list, xfrm); in __flow_cache_shrink()
[all …]
/net/ipv4/
Dinetpeer.c56 static LIST_HEAD(gc_list);
93 list_replace_init(&gc_list, &list); in inetpeer_gc_worker()
99 list_for_each_entry_safe(p, n, &list, gc_list) { in inetpeer_gc_worker()
106 list_add_tail(&c->gc_list, &list); in inetpeer_gc_worker()
112 list_add_tail(&c->gc_list, &list); in inetpeer_gc_worker()
116 n = list_entry(p->gc_list.next, struct inet_peer, gc_list); in inetpeer_gc_worker()
119 list_del(&p->gc_list); in inetpeer_gc_worker()
128 list_splice(&list, &gc_list); in inetpeer_gc_worker()
471 INIT_LIST_HEAD(&p->gc_list); in inet_getpeer()
537 list_add_tail(&p->gc_list, &gc_list); in inetpeer_inval_rcu()
/net/xfrm/
Dxfrm_state.c361 struct hlist_head gc_list; in xfrm_state_gc_task() local
364 hlist_move_list(&net->xfrm.state_gc_list, &gc_list); in xfrm_state_gc_task()
367 hlist_for_each_entry_safe(x, tmp, &gc_list, gclist) in xfrm_state_gc_task()