Searched refs:result_max (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/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-6.6.21/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() 1008 numrep += result_max; in crush_do_rule() 1037 result_max-osize, in crush_do_rule() 1049 out_size = ((numrep < (result_max-osize)) ? in crush_do_rule() 1050 numrep : (result_max-osize)); in crush_do_rule() 1081 for (i = 0; i < wsize && result_len < result_max; i++) { in crush_do_rule()
|
/linux-6.6.21/net/ceph/ |
D | osdmap.c | 2491 int *result, int result_max, in do_crush() argument 2499 BUG_ON(result_max > CEPH_PG_MAX_SIZE); in do_crush() 2508 r = crush_do_rule(map->crush, ruleno, x, result, result_max, in do_crush()
|