Home
last modified time | relevance | path

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

/Linux-v6.1/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
250 idr_init(&head->handle_idr); in cls_bpf_init()
291 idr_remove(&head->handle_idr, prog->handle); in __cls_bpf_delete()
320 idr_destroy(&head->handle_idr); in cls_bpf_destroy()
494 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
497 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
518 idr_replace(&head->handle_idr, prog, handle); in cls_bpf_change()
534 idr_remove(&head->handle_idr, prog->handle); in cls_bpf_change()
Dcls_flower.c107 struct idr handle_idr; member
357 idr_init(&head->handle_idr); in fl_init()
527 f = idr_find(&head->handle_idr, handle); in __fl_get()
552 idr_remove(&head->handle_idr, f->handle); in __fl_delete()
591 idr_destroy(&head->handle_idr); in fl_destroy()
2264 idr_replace(&head->handle_idr, fnew, fnew->handle); in fl_change()
2282 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in fl_change()
2295 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in fl_change()
2362 idr_for_each_entry_continue_ul(&head->handle_idr, f, tmp, id) { in fl_walk()
3416 tp->deleting = idr_is_empty(&head->handle_idr); in fl_delete_empty()