/openbmc/linux/include/linux/ceph/ |
H A D | libceph.h | fcd00b68 Thu Apr 28 09:07:22 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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> fcd00b68 Thu Apr 28 09:07:22 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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>
|
/openbmc/linux/net/ceph/ |
H A D | mon_client.c | fcd00b68 Thu Apr 28 09:07:22 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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>
|
H A D | osd_client.c | fcd00b68 Thu Apr 28 09:07:22 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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> fcd00b68 Thu Apr 28 09:07:22 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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>
|
/openbmc/linux/fs/ceph/ |
H A D | mds_client.c | fcd00b68 Thu Apr 28 09:07:22 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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> fcd00b68 Thu Apr 28 09:07:22 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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>
|