Searched refs:locs (Results 1 – 2 of 2) sorted by relevance
326 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs);328 void ceph_clear_crush_locs(struct rb_root *locs);331 struct rb_root *locs);
2938 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs) in DEFINE_RB_FUNCS2()2971 if (!__insert_crush_loc(locs, loc)) { in DEFINE_RB_FUNCS2()3007 void ceph_clear_crush_locs(struct rb_root *locs) in ceph_clear_crush_locs() argument3009 while (!RB_EMPTY_ROOT(locs)) { in ceph_clear_crush_locs()3011 rb_entry(rb_first(locs), struct crush_loc_node, cl_node); in ceph_clear_crush_locs()3013 erase_crush_loc(locs, loc); in ceph_clear_crush_locs()3103 struct rb_root *locs) in ceph_get_crush_locality() argument3118 if (lookup_crush_loc(locs, &loc)) in ceph_get_crush_locality()