Lines Matching refs:handle_idr
75 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()
692 if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, GFP_KERNEL)) { in gen_new_kid()
694 if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, in gen_new_kid()
792 idr_replace(&ht->handle_idr, n, n->handle); in u32_replace_knode()
952 err = idr_alloc_u32(&tp_c->handle_idr, ht, &handle, in u32_change()
963 idr_init(&ht->handle_idr); in u32_change()
968 idr_remove(&tp_c->handle_idr, handle); in u32_change()
1008 err = idr_alloc_u32(&ht->handle_idr, NULL, &handle, handle, in u32_change()
1112 idr_remove(&ht->handle_idr, handle); in u32_change()