Searched refs:nproc (Results 1 - 23 of 23) sorted by relevance

/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_cpumask.tc6 if ! which nproc ; then
7 nproc() {
12 NP=`nproc`
H A Dfunc_hotplug.tc6 if ! which nproc ; then
7 nproc() {
12 NP=`nproc`
/linux-master/tools/testing/selftests/bpf/
H A Dtest_cgroup_storage.c45 int cpu, nproc; local
47 nproc = bpf_num_possible_cpus();
48 percpu_value = malloc(sizeof(*percpu_value) * nproc);
50 printf("Not enough memory for per-cpu area (%d cpus)\n", nproc);
99 for (cpu = 0; cpu < nproc; cpu++)
148 for (cpu = 0; cpu < nproc; cpu++)
157 for (cpu = 0; cpu < nproc; cpu++)
160 if (value != nproc * 1000 + 6) {
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dnetcnt.c20 int cpu, nproc; local
28 nproc = bpf_num_possible_cpus();
29 percpu_netcnt = malloc(sizeof(*percpu_netcnt) * nproc);
62 for (cpu = 0; cpu < nproc; cpu++) {
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfpsimd-stress8 NR_CPUS=`nproc`
H A Dsve-stress8 NR_CPUS=`nproc`
H A Dza-stress8 NR_CPUS=`nproc`
H A Dssve-stress8 NR_CPUS=`nproc`
H A Dfp-stress.c51 long nproc = sysconf(_SC_NPROCESSORS_CONF); local
52 if (nproc < 0) {
57 return nproc;
/linux-master/tools/testing/selftests/nolibc/
H A Drun-tests.sh12 nproc=$(( $(nproc) + 2))
36 -j [N] Allow N jobs at once (default: ${nproc})
49 nproc="$2"
138 MAKE=(make -j"${nproc}" XARCH="${arch}" CROSS_COMPILE="${cross_compile}" O="${build_dir}")
/linux-master/tools/testing/selftests/kvm/
H A Drseq_test.c161 int i, cnt, nproc; local
171 nproc = get_nprocs_conf();
176 for (i = 0; i < nproc; i++) {
/linux-master/Documentation/devicetree/bindings/
H A DMakefile39 xargs -n200 -P$$(nproc) \
44 xargs -n200 -P$$(nproc) $(DT_DOC_CHECKER) -u $(srctree)/$(src)) || true
/linux-master/tools/testing/selftests/tc-testing/
H A Dtdc.sh66 ./tdc.py -J`nproc`
/linux-master/tools/testing/selftests/intel_pstate/
H A Drun.sh47 max_cpus=$(($(nproc)-1))
/linux-master/tools/testing/selftests/net/
H A Drps_default_mask.sh5 readonly cpus=$(nproc)
H A Dudpgro_fwd.sh21 readonly NPROCS=`nproc`
H A Dveth.sh17 readonly CPUS=`nproc`
/linux-master/arch/x86/kernel/cpu/
H A Dtopology_common.c94 nproc : 8, member in struct:__anon4
121 tscan->ebx1_nproc_shift = get_count_order(ebx.nproc);
/linux-master/tools/perf/tests/shell/
H A Dlock_contention.sh37 if [ `nproc` -lt 4 ]; then
38 echo "[Skip] Low number of CPUs (`nproc`), lock event cannot be triggered certainly"
/linux-master/scripts/
H A Dcheck-uapi.sh527 MAX_THREADS=$(nproc)
/linux-master/tools/testing/selftests/mm/
H A Drun_vmtests.sh154 nr_cpus=$(nproc)
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_concat_range.sh966 -t $(($(nproc) / 5 + 1)) -b10000 -n0 2>/dev/null &
973 -t $(($(nproc) / 5 + 1)) -b10000 -n0 2>/dev/null &
1331 for c in $(seq 1 "$(nproc)"); do (
/linux-master/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py1563 nproc = multiprocessing.cpu_count()
1565 for i in range(1, nproc):

Completed in 214 milliseconds