Searched refs:group_cnt (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/gpu/drm/amd/ras/core/ |
| H A D | cmd.c | 76 uint32_t i = 0, bp_cnt = 0, group_cnt = 0; in ras_cmd_get_group_bad_pages() local 86 group_cnt = bp_cnt / RAS_CMD_MAX_BAD_PAGES_PER_GROUP in ras_cmd_get_group_bad_pages() 89 if (group_index >= group_cnt) { in ras_cmd_get_group_bad_pages()
|
| /linux/drivers/md/ |
| H A D | raid5.h | 680 int group_cnt; member
|
| H A D | raid5.c | 1171 should_defer = conf->batch_bio_dispatch && conf->group_cnt; in ops_run_io() 5641 for (i = 0; i < conf->group_cnt; i++) { in __get_priority_stripe() 7353 int *group_cnt, 7362 int group_cnt; in raid5_store_group_thread_cnt() local 7387 err = alloc_thread_groups(conf, new, &group_cnt, &new_groups); in raid5_store_group_thread_cnt() 7390 conf->group_cnt = group_cnt; in raid5_store_group_thread_cnt() 7429 static int alloc_thread_groups(struct r5conf *conf, int cnt, int *group_cnt, in alloc_thread_groups() argument 7437 *group_cnt = 0; in alloc_thread_groups() 7441 *group_cnt = num_possible_nodes(); in alloc_thread_groups() 7443 workers = kcalloc(size, *group_cnt, GFP_NOIO); in alloc_thread_groups() [all …]
|