Lines Matching defs:locs
2926 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs)
2959 if (!__insert_crush_loc(locs, loc)) {
2995 void ceph_clear_crush_locs(struct rb_root *locs)
2997 while (!RB_EMPTY_ROOT(locs)) {
2999 rb_entry(rb_first(locs), struct crush_loc_node, cl_node);
3001 erase_crush_loc(locs, loc);
3070 * @id matches one of the locations in @locs, so for standard
3076 * as "rack=foo1 rack=foo2 datacenter=bar" is allowed -- @locs
3088 struct rb_root *locs)
3103 if (lookup_crush_loc(locs, &loc))