summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
Commit message (Expand)AuthorAgeFilesLines
* ida: Fix crash in ida_free when the bitmap is emptyMatthew Wilcox (Oracle)2024-01-201-1/+1
* idr: fix param name in idr_alloc_cyclic() docAriel Marcovitch2023-09-191-1/+1
* ida: don't use BUG_ON() for debuggingLinus Torvalds2022-07-101-1/+2
* Merge tag 'xarray-5.9' of git://git.infradead.org/users/willy/xarrayLinus Torvalds2020-10-201-0/+1
|\
| * ida: Free allocated bitmap in error pathMatthew Wilcox (Oracle)2020-10-071-0/+1
* | lib/idr.c: document calling context for IDA APIs mustn't use locksStephen Boyd2020-10-161-3/+6
|/
* idr: Fix idr_get_next_ul race with idr_removeMatthew Wilcox (Oracle)2019-11-011-20/+11
* idr: Fix idr_get_next race with idr_removeMatthew Wilcox (Oracle)2019-06-021-2/+12
* treewide: Add SPDX license identifier for missed filesThomas Gleixner2019-05-211-0/+1
* radix tree: Remove radix_tree_update_node_tMatthew Wilcox2018-10-211-1/+1
* ida: Convert to XArrayMatthew Wilcox2018-10-211-176/+203
* xarray: Add definition of struct xarrayMatthew Wilcox2018-10-211-2/+2
* xarray: Replace exceptional entriesMatthew Wilcox2018-09-291-35/+25
* idr: Permit any valid kernel pointer to be storedMatthew Wilcox2018-09-291-4/+0
* ida: Change ida_get_new_above to return the idMatthew Wilcox2018-08-211-18/+12
* ida: Remove old APIMatthew Wilcox2018-08-211-41/+7
* ida: Add new APIMatthew Wilcox2018-08-211-39/+31
* ida: Lock the IDA in ida_destroyMatthew Wilcox2018-08-211-6/+11
* lib/idr.c: remove simple_ida_lockMatthew Wilcox2018-06-071-5/+5
* idr: Fix handling of IDs above INT_MAXMatthew Wilcox2018-02-261-6/+7
* ida: do zeroing in ida_pre_get()Rasmus Villemoes2018-02-211-2/+0
* idr: Make 1-based IDRs more efficientMatthew Wilcox2018-02-061-9/+61
* idr: Warn if old iterators see large IDsMatthew Wilcox2018-02-061-1/+8
* idr: Rename idr_for_each_entry_extMatthew Wilcox2018-02-061-10/+20
* idr: Remove idr_alloc_extMatthew Wilcox2018-02-061-44/+84
* idr: Add idr_alloc_u32 helperMatthew Wilcox2018-02-061-0/+31
* idr: Delete idr_replace_ext functionMatthew Wilcox2018-02-061-12/+3
* mm, truncate: do not check mapping for every page being truncatedMel Gorman2017-11-151-1/+1
* lib/idr.c: fix comment for idr_replace()Eric Biggers2017-10-031-2/+2
* idr: remove WARN_ON_ONCE() when trying to replace negative IDEric Biggers2017-09-131-1/+1
* idr: Add new APIs to support unsigned longChris Mi2017-08-301-29/+37
* idr: Add missing __rcu annotationsMatthew Wilcox2017-02-131-7/+7
* ida: Use exceptional entries for small IDAsMatthew Wilcox2017-02-131-6/+81
* ida: Move ida_bitmap to a percpu variableMatthew Wilcox2017-02-131-37/+2
* Reimplement IDR and IDA using the radix treeMatthew Wilcox2017-02-131-946/+232
* lib/ida: document locking requirements a bit betterDaniel Vetter2016-12-121-0/+11
* mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep...Mel Gorman2015-11-061-2/+2
* lib/idr.c: remove redundant includeRasmus Villemoes2015-02-121-1/+0
* Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds2014-10-071-1/+1
|\
| * Documentation: Docbook: Fix generated DocBook/kernel-api.xmlMasanari Iida2014-09-091-1/+1
* | lib/idr.c: fix out-of-bounds pointer dereferenceAndrey Ryabinin2014-08-081-11/+14
|/
* idr: reduce the unneeded check in free_layer()Lai Jiangshan2014-06-061-1/+1
* idr: don't need to shink the free list when idr_remove()Lai Jiangshan2014-06-061-16/+0
* idr: fix idr_replace()'s returned error codeLai Jiangshan2014-06-061-2/+2
* idr: fix NULL pointer dereference when ida_remove(unallocated_id)Lai Jiangshan2014-06-061-1/+1
* idr: fix unexpected ID-removal when idr_remove(unallocated_id)Lai Jiangshan2014-06-061-0/+8
* idr: fix overflow bug during maximum ID calculation at maximum heightLai Jiangshan2014-06-061-5/+3
* lib/idr.c: use RCU_INIT_POINTER(x, NULL)Monam Agarwal2014-04-071-2/+2
* idr: remove dead codeStephen Hemminger2014-04-071-18/+2
* idr: Add new function idr_is_empty()Andreas Gruenbacher2014-02-171-0/+10