summaryrefslogtreecommitdiff
path: root/lib/maple_tree.c
AgeCommit message (Expand)AuthorFilesLines
2023-06-10maple_tree: simplify and clean up mas_wr_node_store()Peng Zhang1-61/+26
2023-06-10maple_tree: rework mas_wr_slot_store() to be cleaner and more efficient.Peng Zhang1-34/+19
2023-06-10maple_tree: add comments and some minor cleanups to mas_wr_append()Peng Zhang1-24/+23
2023-06-10maple_tree: add mas_wr_new_end() to calculate new_end accuratelyPeng Zhang1-11/+23
2023-06-10maple_tree: make the code symmetrical in mas_wr_extend_null()Peng Zhang1-12/+14
2023-06-10maple_tree: simplify mas_is_span_wr()Peng Zhang1-23/+11
2023-06-10maple_tree: fix the arguments to __must_hold()Peng Zhang1-3/+3
2023-06-10maple_tree: drop mas_{rev_}alloc() and mas_fill_gap()Peng Zhang1-108/+0
2023-06-10maple_tree: rework mtree_alloc_{range,rrange}()Peng Zhang1-25/+32
2023-06-10maple_tree: clear up index and last setting in single entry treeLiam R. Howlett1-10/+11
2023-06-10maple_tree: add mas_prev_range() and mas_find_range_rev interfaceLiam R. Howlett1-39/+122
2023-06-10maple_tree: introduce mas_prev_slot() interfaceLiam R. Howlett1-142/+90
2023-06-10maple_tree: relocate mas_rewalk() and mas_rewalk_if_dead()Liam R. Howlett1-19/+19
2023-06-10maple_tree: add mas_next_range() and mas_find_range() interfacesLiam R. Howlett1-50/+122
2023-06-10maple_tree: introduce mas_next_slot() interfaceLiam R. Howlett1-125/+104
2023-06-10maple_tree: revise limit checks in mas_empty_area{_rev}()Liam R. Howlett1-7/+13
2023-06-10maple_tree: try harder to keep active node with mas_prev()Liam R. Howlett1-42/+83
2023-06-10maple_tree: try harder to keep active node after mas_next()Liam R. Howlett1-42/+47
2023-06-10maple_tree: mas_start() reset depth on dead nodeLiam R. Howlett1-1/+1
2023-06-10maple_tree: remove unnecessary check from mas_destroy()Liam R. Howlett1-3/+1
2023-06-10maple_tree: return error on mte_pivots() out of rangeLiam R. Howlett1-11/+14
2023-06-10maple_tree: use MAS_BUG_ON() prior to calling mas_meta_gap()Liam R. Howlett1-2/+2
2023-06-10maple_tree: use MAS_WR_BUG_ON() in mas_store_prealloc()Liam R. Howlett1-1/+1
2023-06-10maple_tree: use MAS_BUG_ON() from mas_topiary_range()Liam R. Howlett1-1/+2
2023-06-10maple_tree: use MAS_BUG_ON() in mas_set_height()Liam R. Howlett1-1/+1
2023-06-10maple_tree: use MAS_BUG_ON() when setting a leaf node as a parentLiam R. Howlett1-13/+13
2023-06-10maple_tree: convert debug code to use MT_WARN_ON() and MAS_WARN_ON()Liam R. Howlett1-16/+14
2023-06-10maple_tree: convert BUG_ON() to MT_BUG_ON()Liam R. Howlett1-1/+1
2023-06-10maple_tree: add debug BUG_ON and WARN_ON variantsLiam R. Howlett1-2/+32
2023-06-10maple_tree: add format option to mt_dump()Liam R. Howlett1-29/+58
2023-06-10maple_tree: clean up mas_dfs_postorder()Liam R. Howlett1-5/+2
2023-06-10maple_tree: avoid unnecessary ascendingLiam R. Howlett1-3/+8
2023-06-10maple_tree: clean up mas_parent_enum() and rename to mas_parent_type()Liam R. Howlett1-28/+22
2023-06-10maple_tree: fix static analyser cppcheck issueLiam R. Howlett1-2/+3
2023-06-10maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()Peng Zhang1-5/+6
2023-05-18maple_tree: make maple state reusable after mas_empty_area()Peng Zhang1-9/+3
2023-04-22maple_tree: fix allocation in mas_sparse_area()Peng Zhang1-21/+20
2023-04-19maple_tree: use correct variable type in sizeofPeng Zhang1-1/+1
2023-04-19maple_tree: simplify mas_wr_node_walk()Peng Zhang1-29/+5
2023-04-19sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changesAndrew Morton1-23/+24
2023-04-19maple_tree: fix mas_empty_area() searchLiam R. Howlett1-9/+11
2023-04-19maple_tree: make maple state reusable after mas_empty_area_rev()Liam R. Howlett1-14/+13
2023-04-16sync mm-stable with mm-hotfixes-stable to pick up depended-upon upstream changesAndrew Morton1-109/+197
2023-04-16maple_tree: fix a potential memory leak, OOB access, or other unpredictable bugPeng Zhang1-12/+7
2023-04-06maple_tree: fix a potential concurrency bug in RCU modePeng Zhang1-2/+1
2023-04-06maple_tree: fix get wrong data_end in mtree_lookup_walk()Peng Zhang1-10/+5
2023-04-06maple_tree: add RCU lock checking to rcu callback functionsLiam R. Howlett1-92/+96
2023-04-06maple_tree: add smp_rmb() to dead node detectionLiam R. Howlett1-2/+6
2023-04-06maple_tree: fix write memory barrier of nodes once dead for RCU modeLiam R. Howlett1-2/+5
2023-04-06maple_tree: remove extra smp_wmb() from mas_dead_leaves()Liam Howlett1-1/+0