| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | netcnt.c | 20 int cpu, nproc; in serial_test_netcnt() local 28 nproc = bpf_num_possible_cpus(); in serial_test_netcnt() 29 percpu_netcnt = malloc(sizeof(*percpu_netcnt) * nproc); in serial_test_netcnt() 62 for (cpu = 0; cpu < nproc; cpu++) { in serial_test_netcnt()
|
| /linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
| H A D | func_hotplug.tc | 6 if ! which nproc ; then 7 nproc() { 12 NP=`nproc`
|
| H A D | func_cpumask.tc | 6 if ! which nproc ; then 7 nproc() { 12 NP=`nproc`
|
| /linux/tools/testing/selftests/nolibc/ |
| H A D | run-tests.sh | 12 nproc=$(( $(nproc) + 2)) 50 -j [N] Allow N jobs at once (default: ${nproc}) 65 nproc="$2" 174 …MAKE=(make -f Makefile.nolibc -j"${nproc}" XARCH="${arch}" CROSS_COMPILE="${cross_compile}" LLVM="…
|
| /linux/tools/testing/selftests/drivers/net/netconsole/ |
| H A D | netcons_sysdata.sh | 229 CPU=$((RANDOM % $(nproc))) 249 CPU=$((RANDOM % $(nproc))) 261 CPU=$((RANDOM % $(nproc)))
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | rseq_test.c | 168 int i, cnt, nproc; in calc_min_max_cpu() local 178 nproc = get_nprocs_conf(); in calc_min_max_cpu() 183 for (i = 0; i < nproc; i++) { in calc_min_max_cpu()
|
| /linux/Documentation/devicetree/bindings/ |
| H A D | Makefile | 40 xargs -n200 -P$$(nproc) \ 46 xargs -n200 -P$$(nproc) $(DT_DOC_CHECKER) -u $(src)) \
|
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | gcs-stress.c | 50 long nproc = sysconf(_SC_NPROCESSORS_CONF); in num_processors() local 51 if (nproc < 0) { in num_processors() 56 return nproc; in num_processors()
|
| /linux/tools/testing/selftests/verification/test.d/ |
| H A D | rv_wwnr_printk.tc | 8 num=$((($(nproc) + 1) / 2))
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | topology_common.c | 129 nproc : 8, in parse_topology() member 156 tscan->ebx1_nproc_shift = get_count_order(ebx.nproc); in parse_topology()
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | za-stress | 8 NR_CPUS=`nproc`
|
| H A D | sve-stress | 8 NR_CPUS=`nproc`
|
| H A D | ssve-stress | 8 NR_CPUS=`nproc`
|
| H A D | fpsimd-stress | 8 NR_CPUS=`nproc`
|
| H A D | fp-stress.c | 54 long nproc = sysconf(_SC_NPROCESSORS_CONF); in num_processors() local 55 if (nproc < 0) { in num_processors() 60 return nproc; in num_processors()
|
| /linux/tools/testing/selftests/hid/ |
| H A D | vmtest.sh | 202 if ! make -j$(nproc) -C "${HID_BPF_PROGS}"; then 206 if ! make -j$(nproc) -C "${SCRIPT_DIR}"; then
|
| /linux/Documentation/dev-tools/ |
| H A D | container.rst | 171 scripts/container -i docker.io/tuxmake/korg-clang -- make LLVM=1 -j$(nproc) 196 scripts/container -i kernel.org/clang -- make bzImage -j$(nproc) 200 scripts/container -i kernel.org/gcc:15 -- make bzImage -j$(nproc) 210 scripts/container -i kernel.org/gcc -- make O=build -j$(nproc)
|
| /linux/tools/testing/selftests/drivers/platform/x86/intel/ifs/ |
| H A D | test_ifs.sh | 378 cpu_max_num=$(($(nproc) - 1)) 459 max_cpu=$(($(nproc) - 1))
|
| /linux/tools/testing/selftests/net/ |
| H A D | rps_default_mask.sh | 5 readonly cpus=$(nproc)
|
| H A D | ipv6_route_update_soft_lockup.sh | 228 num_of_iperf_servers=$(( $(nproc)/2 ))
|
| /linux/tools/testing/selftests/intel_pstate/ |
| H A D | run.sh | 52 max_cpus=$(($(nproc)-1))
|
| /linux/tools/testing/selftests/kho/ |
| H A D | vmtest.sh | 132 local jobs=$(($(nproc) * 2))
|
| /linux/tools/perf/tests/shell/ |
| H A D | lock_contention.sh | 43 if [ `nproc` -lt 4 ]; then
|
| /linux/Documentation/admin-guide/ |
| H A D | quickly-build-trimmed-linux.rst | 34 make -j $(nproc --all) 49 make -j $(nproc --all) 253 make -j $(nproc --all) 319 make -j $(nproc --all) 893 error. To make it easier to spot, this command also omits the ``-j $(nproc 923 * ``make -j $(nproc --all) bindeb-pkg`` to generate a deb package 925 * ``make -j $(nproc --all) binrpm-pkg`` to generate a rpm package 927 * ``make -j $(nproc --all) tarbz2-pkg`` to generate a bz2 compressed tarball 931 ``make -j $(nproc --all)``, as they will pick up everything already built.
|
| /linux/scripts/ |
| H A D | check-uapi.sh | 527 MAX_THREADS=$(nproc)
|