Home
last modified time | relevance | path

Searched refs:nprocs (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c46 int nprocs; variable
146 for (i = 0; i < nprocs; i++) { in perf_systemwide_event_open()
540 int *fd1 = malloc(nprocs * sizeof(int)); in test_syswide_multi_diff_addr()
541 int *fd2 = malloc(nprocs * sizeof(int)); in test_syswide_multi_diff_addr()
553 close_fds(fd1, nprocs); in test_syswide_multi_diff_addr()
558 reset_fds(fd1, nprocs); in test_syswide_multi_diff_addr()
559 reset_fds(fd2, nprocs); in test_syswide_multi_diff_addr()
560 enable_fds(fd1, nprocs); in test_syswide_multi_diff_addr()
561 enable_fds(fd2, nprocs); in test_syswide_multi_diff_addr()
563 disable_fds(fd1, nprocs); in test_syswide_multi_diff_addr()
[all …]
/linux-5.19.10/tools/testing/selftests/cgroup/
Dtest_cpu.c29 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()