Searched refs:nprocs (Results  1 – 2 of 2) sorted by relevance
| /Linux-v6.6/tools/testing/selftests/powerpc/ptrace/ | 
| D | perf-hwbreak.c | 50 int nprocs;  variable 178 	for (i = 0, cpu = 0; i < nprocs && cpu < ncpus; cpu++) {  in perf_systemwide_event_open() 191 	if (i < nprocs) {  in perf_systemwide_event_open() 192 		printf("Error: Number of online cpus reduced since start of test: %d < %d\n", i, nprocs);  in perf_systemwide_event_open() 586 	int *fd1 = malloc(nprocs * sizeof(int));  in test_syswide_multi_diff_addr() 587 	int *fd2 = malloc(nprocs * sizeof(int));  in test_syswide_multi_diff_addr() 597 		close_fds(fd1, nprocs);  in test_syswide_multi_diff_addr() 601 	reset_fds(fd1, nprocs);  in test_syswide_multi_diff_addr() 602 	reset_fds(fd2, nprocs);  in test_syswide_multi_diff_addr() 603 	enable_fds(fd1, nprocs);  in test_syswide_multi_diff_addr() [all …] 
 | 
| /Linux-v6.6/tools/testing/selftests/cgroup/ | 
| D | test_cpu.c | 29 	int nprocs;  member 144 	for (i = 0; i < param->nprocs; i++) {  in hog_cpus_timed() 205 		.nprocs = 1,  in test_cpucg_stats() 305 		.nprocs = ncpus,  in weight_hog_ncpus() 413 	int nprocs = get_nprocs();  in run_cpucg_nested_weight_test()  local 416 		if (nprocs < 4)  in run_cpucg_nested_weight_test() 422 		nprocs /= 4;  in run_cpucg_nested_weight_test() 467 			.nprocs = nprocs,  in run_cpucg_nested_weight_test() 590 		.nprocs = 1,  in test_cpucg_max() 650 		.nprocs = 1,  in test_cpucg_max_nested()
  |