Home
last modified time | relevance | path

Searched refs:handle_idr (Results 1 – 4 of 4) sorted by relevance

/net/sched/
Dcls_basic.c24 struct idr handle_idr; member
82 idr_init(&head->handle_idr); in basic_init()
115 idr_remove(&head->handle_idr, f->handle); in basic_destroy()
121 idr_destroy(&head->handle_idr); in basic_destroy()
133 idr_remove(&head->handle_idr, f->handle); in basic_delete()
204 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in basic_change()
207 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in basic_change()
223 idr_remove(&head->handle_idr, fnew->handle); in basic_change()
230 idr_replace(&head->handle_idr, fnew, fnew->handle); in basic_change()
Dcls_u32.c75 struct idr handle_idr; member
89 struct idr handle_idr; member
308 int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); in gen_new_htid()
364 idr_init(&root_ht->handle_idr); in u32_init()
374 idr_init(&tp_c->handle_idr); in u32_init()
464 idr_remove(&ht->handle_idr, key->handle); in u32_delete_key()
586 idr_remove(&ht->handle_idr, n->handle); in u32_clear_hnode()
612 idr_destroy(&ht->handle_idr); in u32_destroy_hnode()
613 idr_remove(&tp_c->handle_idr, ht->handle); in u32_destroy_hnode()
650 idr_destroy(&tp_c->handle_idr); in u32_destroy()
[all …]
Dcls_bpf.c33 struct idr handle_idr; member
248 idr_init(&head->handle_idr); in cls_bpf_init()
289 idr_remove(&head->handle_idr, prog->handle); in __cls_bpf_delete()
318 idr_destroy(&head->handle_idr); in cls_bpf_destroy()
445 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
448 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
509 idr_replace(&head->handle_idr, prog, handle); in cls_bpf_change()
527 idr_remove(&head->handle_idr, prog->handle); in cls_bpf_change()
Dcls_flower.c108 struct idr handle_idr; member
357 idr_init(&head->handle_idr); in fl_init()
529 f = idr_find(&head->handle_idr, handle); in __fl_get()
554 idr_remove(&head->handle_idr, f->handle); in __fl_delete()
593 idr_destroy(&head->handle_idr); in fl_destroy()
2117 idr_replace(&head->handle_idr, fnew, fnew->handle); in fl_change()
2135 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in fl_change()
2148 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in fl_change()
2215 idr_for_each_entry_continue_ul(&head->handle_idr, f, tmp, id) { in fl_walk()
3218 tp->deleting = idr_is_empty(&head->handle_idr); in fl_delete_empty()