Searched refs:ruleno (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/include/linux/crush/ |
D | mapper.h | 16 int ruleno, int x, int *result, int result_max,
|
/Linux-v5.10/net/ceph/crush/ |
D | mapper.c | 895 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()
|
/Linux-v5.10/net/ceph/ |
D | osdmap.c | 2455 static int do_crush(struct ceph_osdmap *map, int ruleno, int x, in do_crush() argument 2473 r = crush_do_rule(map->crush, ruleno, x, result, result_max, in do_crush() 2521 int ruleno; in pg_to_raw_osds() local 2528 ruleno = crush_find_rule(osdmap->crush, pi->crush_ruleset, pi->type, in pg_to_raw_osds() 2530 if (ruleno < 0) { in pg_to_raw_osds() 2543 len = do_crush(osdmap, ruleno, pps, raw->osds, pi->size, in pg_to_raw_osds() 2547 len, ruleno, pi->id, pi->crush_ruleset, pi->type, in pg_to_raw_osds()
|