Lines Matching refs:crush_loc_node
2855 static struct crush_loc_node *alloc_crush_loc(size_t type_name_len, in alloc_crush_loc()
2858 struct crush_loc_node *loc; in alloc_crush_loc()
2868 static void free_crush_loc(struct crush_loc_node *loc) in free_crush_loc()
2882 DEFINE_RB_FUNCS2(crush_loc, struct crush_loc_node, cl_loc, crush_loc_compare, in DEFINE_RB_FUNCS2() argument
2893 struct crush_loc_node *loc; in DEFINE_RB_FUNCS2()
2943 struct crush_loc_node *loc1 = in ceph_compare_crush_locs()
2944 rb_entry(n1, struct crush_loc_node, cl_node); in ceph_compare_crush_locs()
2945 struct crush_loc_node *loc2 = in ceph_compare_crush_locs()
2946 rb_entry(n2, struct crush_loc_node, cl_node); in ceph_compare_crush_locs()
2963 struct crush_loc_node *loc = in ceph_clear_crush_locs()
2964 rb_entry(rb_first(locs), struct crush_loc_node, cl_node); in ceph_clear_crush_locs()