Lines Matching refs:crush
657 if (map->crush) in ceph_osdmap_destroy()
658 crush_destroy(map->crush); in ceph_osdmap_destroy()
1144 map->crush = crush_decode(*p, min(*p + len, end)); in osdmap_decode()
1145 if (IS_ERR(map->crush)) { in osdmap_decode()
1146 err = PTR_ERR(map->crush); in osdmap_decode()
1147 map->crush = NULL; in osdmap_decode()
1266 if (map->crush) in osdmap_apply_incremental()
1267 crush_destroy(map->crush); in osdmap_apply_incremental()
1268 map->crush = newcrush; in osdmap_apply_incremental()
1483 r = crush_do_rule(map->crush, ruleno, x, result, result_max, in do_crush()
1503 ruleno = crush_find_rule(osdmap->crush, pool->crush_ruleset, in pg_to_raw_osds()