Home
last modified time | relevance | path

Searched refs:ruleno (Results 1 – 2 of 2) sorted by relevance

/net/ceph/crush/
Dmapper.c895 int ruleno, int x, int *result, int result_max, in crush_do_rule() argument
931 if ((__u32)ruleno >= map->max_rules) { in crush_do_rule()
932 dprintk(" bad ruleno %d\n", ruleno); in crush_do_rule()
936 rule = map->rules[ruleno]; in crush_do_rule()
/net/ceph/
Dosdmap.c2276 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush() argument
2293 r = crush_do_rule(map->crush, ruleno, x, result, result_max, in do_crush()
2342 int ruleno; in pg_to_raw_osds() local
2349 ruleno = crush_find_rule(osdmap->crush, pi->crush_ruleset, pi->type, in pg_to_raw_osds()
2351 if (ruleno < 0) { in pg_to_raw_osds()
2364 len = do_crush(osdmap, ruleno, pps, raw->osds, pi->size, in pg_to_raw_osds()
2368 len, ruleno, pi->id, pi->crush_ruleset, pi->type, in pg_to_raw_osds()