Files
android_kernel_xiaomi_sm8450/net/ceph
Ilya Dryomov fcd00b68bb libceph: DEFINE_RB_FUNCS macro
Given

    struct foo {
        u64 id;
        struct rb_node bar_node;
    };

generate insert_bar(), erase_bar() and lookup_bar() functions with

    DEFINE_RB_FUNCS(bar, struct foo, id, bar_node)

The key is assumed to be an integer (u64, int, etc), compared with
< and >.  nodefld has to be initialized with RB_CLEAR_NODE().

Start using it for MDS, MON and OSD requests and OSD sessions.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-05-26 00:36:23 +02:00
..
2014-12-17 20:09:50 +03:00
2016-03-25 18:51:39 +01:00
2011-07-19 11:25:04 -07:00
2016-05-26 00:36:23 +02:00
2016-05-26 00:36:23 +02:00