Searched refs:result_max (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, 27 int result_max) in crush_work_size() argument 29 return map->working_size + result_max * 3 * sizeof(__u32); in crush_work_size()
|
/Linux-v5.10/net/ceph/crush/ |
D | mapper.c | 895 int ruleno, int x, int *result, int result_max, in crush_do_rule() argument 902 int *b = a + result_max; in crush_do_rule() 903 int *c = b + result_max; in crush_do_rule() 1009 numrep += result_max; in crush_do_rule() 1038 result_max-osize, in crush_do_rule() 1050 out_size = ((numrep < (result_max-osize)) ? in crush_do_rule() 1051 numrep : (result_max-osize)); in crush_do_rule() 1084 for (i = 0; i < wsize && result_len < result_max; i++) { in crush_do_rule()
|
/Linux-v5.10/net/ceph/ |
D | osdmap.c | 2456 int *result, int result_max, in do_crush() argument 2464 BUG_ON(result_max > CEPH_PG_MAX_SIZE); in do_crush() 2473 r = crush_do_rule(map->crush, ruleno, x, result, result_max, in do_crush()
|