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);
2926 int ceph_parse_crush_location(char *crush_location, struct rb_root *locs) in DEFINE_RB_FUNCS2()2959 if (!__insert_crush_loc(locs, loc)) { in DEFINE_RB_FUNCS2()2995 void ceph_clear_crush_locs(struct rb_root *locs) in ceph_clear_crush_locs() argument2997 while (!RB_EMPTY_ROOT(locs)) { in ceph_clear_crush_locs()2999 rb_entry(rb_first(locs), struct crush_loc_node, cl_node); in ceph_clear_crush_locs()3001 erase_crush_loc(locs, loc); in ceph_clear_crush_locs()3088 struct rb_root *locs) in ceph_get_crush_locality() argument3103 if (lookup_crush_loc(locs, &loc)) in ceph_get_crush_locality()