Home
last modified time | relevance | path

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

/linux-6.12.1/net/sched/
Dcls_basic.c25 struct idr handle_idr; member
84 idr_init(&head->handle_idr); in basic_init()
117 idr_remove(&head->handle_idr, f->handle); in basic_destroy()
123 idr_destroy(&head->handle_idr); in basic_destroy()
135 idr_remove(&head->handle_idr, f->handle); in basic_delete()
206 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in basic_change()
209 err = idr_alloc_u32(&head->handle_idr, fnew, &handle, in basic_change()
225 idr_remove(&head->handle_idr, fnew->handle); in basic_change()
232 idr_replace(&head->handle_idr, fnew, fnew->handle); in basic_change()
Dcls_u32.c76 struct idr handle_idr; member
90 struct idr handle_idr; member
320 int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); in gen_new_htid()
376 idr_init(&root_ht->handle_idr); in u32_init()
387 idr_init(&tp_c->handle_idr); in u32_init()
478 idr_remove(&ht->handle_idr, key->handle); in u32_delete_key()
600 idr_remove(&ht->handle_idr, n->handle); in u32_clear_hnode()
624 idr_destroy(&ht->handle_idr); in u32_destroy_hnode()
625 idr_remove(&tp_c->handle_idr, handle2id(ht->handle)); in u32_destroy_hnode()
662 idr_destroy(&tp_c->handle_idr); in u32_destroy()
[all …]
Dcls_bpf.c34 struct idr handle_idr; member
252 idr_init(&head->handle_idr); in cls_bpf_init()
293 idr_remove(&head->handle_idr, prog->handle); in __cls_bpf_delete()
322 idr_destroy(&head->handle_idr); in cls_bpf_destroy()
449 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
452 ret = idr_alloc_u32(&head->handle_idr, prog, &handle, in cls_bpf_change()
513 idr_replace(&head->handle_idr, prog, handle); in cls_bpf_change()
531 idr_remove(&head->handle_idr, prog->handle); in cls_bpf_change()
Dcls_flower.c122 struct idr handle_idr; member
374 idr_init(&head->handle_idr); in fl_init()
541 f = idr_find(&head->handle_idr, handle); in __fl_get()
554 f = idr_find(&head->handle_idr, handle); in fl_get_exts()
575 idr_remove(&head->handle_idr, f->handle); in __fl_delete()
614 idr_destroy(&head->handle_idr); in fl_destroy()
2422 err = idr_alloc_u32(&head->handle_idr, NULL, &handle, in fl_change()
2425 err = idr_alloc_u32(&head->handle_idr, NULL, &handle, in fl_change()
2540 idr_replace(&head->handle_idr, fnew, fnew->handle); in fl_change()
2556 idr_replace(&head->handle_idr, fnew, fnew->handle); in fl_change()
[all …]