Searched refs:flush_list (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
D | xskmap.c | 15 struct list_head __percpu *flush_list; member 112 m->flush_list = alloc_percpu(struct list_head); in xsk_map_alloc() 113 if (!m->flush_list) in xsk_map_alloc() 117 INIT_LIST_HEAD(per_cpu_ptr(m->flush_list, cpu)); in xsk_map_alloc() 127 free_percpu(m->flush_list); in xsk_map_alloc() 141 free_percpu(m->flush_list); in xsk_map_free() 179 struct list_head *flush_list = this_cpu_ptr(m->flush_list); in __xsk_map_redirect() local 187 list_add(&xs->flush_node, flush_list); in __xsk_map_redirect() 195 struct list_head *flush_list = this_cpu_ptr(m->flush_list); in __xsk_map_flush() local 198 list_for_each_entry_safe(xs, tmp, flush_list, flush_node) { in __xsk_map_flush()
|
D | cpumap.c | 75 struct list_head __percpu *flush_list; member 118 cmap->flush_list = alloc_percpu(struct list_head); in cpu_map_alloc() 119 if (!cmap->flush_list) in cpu_map_alloc() 123 INIT_LIST_HEAD(per_cpu_ptr(cmap->flush_list, cpu)); in cpu_map_alloc() 134 free_percpu(cmap->flush_list); in cpu_map_alloc() 534 struct list_head *flush_list = per_cpu_ptr(cmap->flush_list, cpu); in cpu_map_free() local 536 while (!list_empty(flush_list)) in cpu_map_free() 553 free_percpu(cmap->flush_list); in cpu_map_free() 648 struct list_head *flush_list = this_cpu_ptr(rcpu->cmap->flush_list); in bq_enqueue() local 666 list_add(&bq->flush_node, flush_list); in bq_enqueue() [all …]
|
D | devmap.c | 78 struct list_head __percpu *flush_list; member 147 dtab->flush_list = alloc_percpu(struct list_head); in dev_map_init_map() 148 if (!dtab->flush_list) in dev_map_init_map() 152 INIT_LIST_HEAD(per_cpu_ptr(dtab->flush_list, cpu)); in dev_map_init_map() 172 free_percpu(dtab->flush_list); in dev_map_init_map() 232 struct list_head *flush_list = per_cpu_ptr(dtab->flush_list, cpu); in dev_map_free() local 234 while (!list_empty(flush_list)) in dev_map_free() 271 free_percpu(dtab->flush_list); in dev_map_free() 410 struct list_head *flush_list = this_cpu_ptr(dtab->flush_list); in __dev_map_flush() local 414 list_for_each_entry_safe(bq, tmp, flush_list, flush_node) in __dev_map_flush() [all …]
|