Lines Matching refs:crush_loc_node
2890 static struct crush_loc_node *alloc_crush_loc(size_t type_name_len, in alloc_crush_loc()
2893 struct crush_loc_node *loc; in alloc_crush_loc()
2903 static void free_crush_loc(struct crush_loc_node *loc) in free_crush_loc()
2917 DEFINE_RB_FUNCS2(crush_loc, struct crush_loc_node, cl_loc, crush_loc_compare, in DEFINE_RB_FUNCS2() argument
2928 struct crush_loc_node *loc; in DEFINE_RB_FUNCS2()
2978 struct crush_loc_node *loc1 = in ceph_compare_crush_locs()
2979 rb_entry(n1, struct crush_loc_node, cl_node); in ceph_compare_crush_locs()
2980 struct crush_loc_node *loc2 = in ceph_compare_crush_locs()
2981 rb_entry(n2, struct crush_loc_node, cl_node); in ceph_compare_crush_locs()
2998 struct crush_loc_node *loc = in ceph_clear_crush_locs()
2999 rb_entry(rb_first(locs), struct crush_loc_node, cl_node); in ceph_clear_crush_locs()