Lines Matching defs:locs
2891 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs)
2924 if (!__insert_crush_loc(locs, loc)) {
2960 void ceph_clear_crush_locs(struct rb_root *locs)
2962 while (!RB_EMPTY_ROOT(locs)) {
2964 rb_entry(rb_first(locs), struct crush_loc_node, cl_node);
2966 erase_crush_loc(locs, loc);
3035 * @id matches one of the locations in @locs, so for standard
3041 * as "rack=foo1 rack=foo2 datacenter=bar" is allowed -- @locs
3053 struct rb_root *locs)
3068 if (lookup_crush_loc(locs, &loc))