函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:lib\rbtree.c Create Date:2022-07-27 07:10:01
首页 Copyright©Brick

478
479
480
481
482
483
484
485
486
487
488
struct rb_node *rb_last(const struct rb_root *root)
{
    struct rb_node  *n;
 
    n = root->rb_node;
    if (!n)
        return NULL;
    while (n->rb_right)
        n = n->rb_right;
    return n;
}