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
251 idr_init(&head->handle_idr); in cls_bpf_init()
292 idr_remove(&head->handle_idr, prog->handle); in __cls_bpf_delete()
321 idr_destroy(&head->handle_idr); in cls_bpf_destroy()
495 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
498 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
519 idr_replace(&head->handle_idr, prog, handle); in cls_bpf_change()
535 idr_remove(&head->handle_idr, prog->handle); in cls_bpf_change()
Dcls_flower.c99 struct idr handle_idr; member
342 idr_init(&head->handle_idr); in fl_init()
512 f = idr_find(&head->handle_idr, handle); in __fl_get()
537 idr_remove(&head->handle_idr, f->handle); in __fl_delete()
576 idr_destroy(&head->handle_idr); in fl_destroy()
1677 idr_replace(&head->handle_idr, fnew, fnew->handle); in fl_change()
1695 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in fl_change()
1708 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in fl_change()
1775 idr_for_each_entry_continue_ul(&head->handle_idr, f, tmp, id) { in fl_walk()
2570 tp->deleting = idr_is_empty(&head->handle_idr); in fl_delete_empty()