Searched refs:ruleno (Results 1 – 3 of 3) sorted by relevance
/linux/include/linux/crush/ |
H A D | mapper.h | 16 int ruleno, int x, int *result, int result_max,
|
/linux/net/ceph/crush/ |
H A D | mapper.c | 898 int ruleno, int x, int *result, int result_max, in crush_do_rule() argument 933 if ((__u32)ruleno >= map->max_rules) { in crush_do_rule() 934 dprintk(" bad ruleno %d\n", ruleno); in crush_do_rule() 938 rule = map->rules[ruleno]; in crush_do_rule()
|
/linux/net/ceph/ |
H A D | osdmap.c | 2490 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush() argument 2508 r = crush_do_rule(map->crush, ruleno, x, result, result_max, in do_crush() 2556 int ruleno; in pg_to_raw_osds() local 2563 ruleno = crush_find_rule(osdmap->crush, pi->crush_ruleset, pi->type, in pg_to_raw_osds() 2565 if (ruleno < 0) { in pg_to_raw_osds() 2578 len = do_crush(osdmap, ruleno, pps, raw->osds, pi->size, in pg_to_raw_osds() 2582 len, ruleno, pi->id, pi->crush_ruleset, pi->type, in pg_to_raw_osds()
|