aboutsummaryrefslogtreecommitdiff
path: root/lib/rbtree.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-18lib/rbtree: use '+' instead of '|' for setting color.Gravatar Noah Goldstein 1-1/+1
2020-08-12lib/: replace HTTP links with HTTPS onesGravatar Alexander A. Klimov 1-1/+1
2020-04-07lib/rbtree: fix coding style of assignmentsGravatar chenqiwu 1-2/+2
2019-07-16lib/rbtree: avoid generating code twice for the cached versionsGravatar Michel Lespinasse 1-37/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Gravatar Thomas Gleixner 1-13/+1
2017-12-14lib/rbtree,drm/mm: add rbtree_replace_node_cached()Gravatar Chris Wilson 1-0/+10
2017-09-08rbtree: add some additional comments for rebalancing casesGravatar Davidlohr Bueso 1-3/+5
2017-09-08rbtree: optimize root-check during rebalancing loopGravatar Davidlohr Bueso 1-7/+16
2017-09-08rbtree: cache leftmost node internallyGravatar Davidlohr Bueso 1-5/+29
2017-02-24rbtree: use designated initializersGravatar Kees Cook 1-1/+3
2016-12-12lib/rbtree.c: fix typo in comment of ____rb_erase_colorGravatar Jie Chen 1-4/+19
2016-07-06Introduce rb_replace_node_rcu()Gravatar David Howells 1-2/+24
2015-05-28rbtree: Make lockless searches non-fatalGravatar Peter Zijlstra 1-22/+54
2014-08-08lib/rbtree.c: fix typo in comment of __rb_insert()Gravatar Wei Yang 1-1/+1
2013-09-11rbtree: add postorder iteration functionsGravatar Cody P Schafer 1-0/+40
2013-01-11lib/rbtree.c: avoid the use of non-static __always_inlineGravatar Michel Lespinasse 1-3/+17
2012-10-09rbtree: move augmented rbtree functionality to rbtree_augmented.hGravatar Michel Lespinasse 1-151/+11
2012-10-09rbtree: remove prior augmented rbtree implementationGravatar Michel Lespinasse 1-71/+0
2012-10-09rbtree: faster augmented rbtree manipulationGravatar Michel Lespinasse 1-7/+76
2012-10-09rbtree: low level optimizations in rb_erase()Gravatar Michel Lespinasse 1-34/+64
2012-10-09rbtree: handle 1-child recoloring in rb_erase() instead of rb_erase_color()Gravatar Michel Lespinasse 1-43/+62
2012-10-09rbtree: place easiest case first in rb_erase()Gravatar Michel Lespinasse 1-17/+18
2012-10-09rbtree: add __rb_change_child() helper functionGravatar Michel Lespinasse 1-29/+17
2012-10-09rbtree: optimize fetching of sibling nodeGravatar Michel Lespinasse 1-8/+13
2012-10-09rbtree: coding style adjustmentsGravatar Michel Lespinasse 1-19/+23
2012-10-09rbtree: low level optimizations in __rb_erase_color()Gravatar Michel Lespinasse 1-93/+115
2012-10-09rbtree: optimize case selection logic in __rb_erase_color()Gravatar Michel Lespinasse 1-38/+30
2012-10-09rbtree: adjust node color in __rb_erase_color() only when necessaryGravatar Michel Lespinasse 1-11/+17
2012-10-09rbtree: low level optimizations in rb_insert_color()Gravatar Michel Lespinasse 1-35/+131
2012-10-09rbtree: adjust root color in rb_insert_color() only when necessaryGravatar Michel Lespinasse 1-4/+15
2012-10-09rbtree: break out of rb_insert_color loop after tree rotationGravatar Michel Lespinasse 1-10/+4
2012-10-09rbtree: move some implementation details from rbtree.h to rbtree.cGravatar Michel Lespinasse 1-1/+19
2012-10-09rbtree: empty nodes have no colorGravatar Michel Lespinasse 1-2/+2
2012-03-07lib: reduce the use of module.h wherever possibleGravatar Paul Gortmaker 1-1/+1
2011-01-28Export the augmented rbtree helper functionsGravatar Andreas Gruenbacher 1-0/+3
2010-07-05rbtree: Undo augmented trees performance damage and regressionGravatar Peter Zijlstra 1-44/+72
2010-02-18rbtree: Add support for augmented rbtreesGravatar Pallipadi, Venkatesh 1-4/+44
2009-06-16rb_tree: remove redundant if()-condition in rb_erase()Gravatar Wolfram Strepp 1-4/+4
2009-06-16rb_tree: make clear distinction between two different cases in rb_erase()Gravatar Wolfram Strepp 1-4/+4
2009-06-16rb_tree: reorganize code in rb_erase() for additional changesGravatar Wolfram Strepp 1-9/+9
2009-04-01lib/rbtree.c: optimize rb_erase()Gravatar Wolfram Strepp 1-10/+4
2009-01-10rbtree: add const qualifier to some functionsGravatar Artem Bityutskiy 1-6/+6
2006-09-30[PATCH] rbtree: fixed reversed RB_EMPTY_NODE and rb_next/prevGravatar Jens Axboe 1-0/+6
2006-06-05[RBTREE] Switch rb_colour() et al to en_US spelling of 'color' for consistencyGravatar David Woodhouse 1-5/+5
2006-04-21[RBTREE] Merge colour and parent fields of struct rb_node.Gravatar David Woodhouse 1-88/+90
2006-04-21[RBTREE] Remove dead code in rb_erase()Gravatar David Woodhouse 1-10/+5
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Gravatar Linus Torvalds 1-0/+394