Lines Matching refs:n_configs
379 int alloc, n_configs; in query_perf_config_list() local
395 n_configs = 1; in query_perf_config_list()
402 n_configs * sizeof(*oa_config_ids), in query_perf_config_list()
407 alloc = fetch_and_zero(&n_configs); in query_perf_config_list()
409 ids[n_configs++] = 1ull; /* reserved for test_config */ in query_perf_config_list()
412 if (n_configs < alloc) in query_perf_config_list()
413 ids[n_configs] = id; in query_perf_config_list()
414 n_configs++; in query_perf_config_list()
419 } while (n_configs > alloc); in query_perf_config_list()
421 if (query_item->length < sizeof_perf_config_list(n_configs)) { in query_perf_config_list()
425 sizeof_perf_config_list(n_configs)); in query_perf_config_list()
430 if (put_user(n_configs, &user_query_config_ptr->config)) { in query_perf_config_list()
437 n_configs * sizeof(*oa_config_ids)); in query_perf_config_list()
442 return sizeof_perf_config_list(n_configs); in query_perf_config_list()