Lines Matching refs:idr
304 return xa_alloc(&uobj->ufile->idr, &uobj->id, NULL, xa_limit_32b, in idr_add_uobj()
326 uobj = xa_load(&ufile->idr, id); in lookup_get_idr_uobject()
447 xa_erase(&attrs->ufile->idr, uobj->id); in alloc_begin_idr_uobject()
529 xa_erase(&uobj->ufile->idr, uobj->id); in alloc_abort_idr_uobject()
555 xa_erase(&uobj->ufile->idr, uobj->id); in remove_handle_idr_uobject()
595 old = xa_store(&ufile->idr, uobj->id, uobj, GFP_KERNEL); in alloc_commit_idr_uobject()
609 old = xa_cmpxchg(&ufile->idr, obj_old->id, obj_old, XA_ZERO_ENTRY, in swap_idr_uobjects()
616 old = xa_cmpxchg(&ufile->idr, obj_old->id, NULL, obj_old, GFP_KERNEL); in swap_idr_uobjects()
769 xa_init_flags(&ufile->idr, XA_FLAGS_ALLOC); in setup_ufile_idr_uobject()
785 xa_for_each(&ufile->idr, id, entry) { in release_ufile_idr_uobject()
790 xa_destroy(&ufile->idr); in release_ufile_idr_uobject()