Home
last modified time | relevance | path

Searched +full:- +full:runs (Results 1 – 25 of 1074) sorted by relevance

12345678910>>...43

/openbmc/linux/tools/testing/selftests/resctrl/
H A Dmbm_test.c1 // SPDX-License-Identifier: GPL-2.0
22 int runs, ret, avg_diff_per; in show_bw_info() local
29 for (runs = 1; runs < NUM_OF_RUNS ; runs++) { in show_bw_info()
30 sum_bw_imc += bw_imc[runs]; in show_bw_info()
31 sum_bw_resc += bw_resc[runs]; in show_bw_info()
36 avg_diff = (float)labs(avg_bw_resc - avg_bw_imc) / avg_bw_imc; in show_bw_info()
55 int runs, ret; in check_results() local
67 runs = 0; in check_results()
77 bw_resc[runs] = strtoul(token_array[5], NULL, 0); in check_results()
78 bw_imc[runs] = strtoul(token_array[3], NULL, 0); in check_results()
[all …]
H A Dmba_test.c1 // SPDX-License-Identifier: GPL-2.0
43 ret = write_schemata(p->ctrlgrp, allocation_str, p->cpu_no, in mba_setup()
44 p->resctrl_val); in mba_setup()
48 allocation -= ALLOCATION_STEP; in mba_setup()
55 int allocation, runs; in show_mba_info() local
71 for (runs = NUM_OF_RUNS * allocation + 1; in show_mba_info()
72 runs < NUM_OF_RUNS * allocation + NUM_OF_RUNS ; runs++) { in show_mba_info()
73 sum_bw_imc += bw_imc[runs]; in show_mba_info()
74 sum_bw_resc += bw_resc[runs]; in show_mba_info()
77 avg_bw_imc = sum_bw_imc / (NUM_OF_RUNS - 1); in show_mba_info()
[all …]
H A Dcmt_test.c1 // SPDX-License-Identifier: GPL-2.0
22 if (p->num_of_runs >= NUM_OF_RUNS) in cmt_setup()
25 p->num_of_runs++; in cmt_setup()
34 int runs = 0; in check_results() local
38 fp = fopen(param->filename, "r"); in check_results()
55 if (runs > 0) in check_results()
57 runs++; in check_results()
62 MAX_DIFF, MAX_DIFF_PERCENT, runs - 1, in check_results()
99 return -1; in cmt_resctrl_val()
123 return -1; in cmt_resctrl_val()
H A Dcat_test.c1 // SPDX-License-Identifier: GPL-2.0
31 if (p->num_of_runs >= NUM_OF_RUNS) in cat_setup()
34 if (p->num_of_runs == 0) { in cat_setup()
35 sprintf(schemata, "%lx", p->mask); in cat_setup()
36 ret = write_schemata(p->ctrlgrp, schemata, p->cpu_no, in cat_setup()
37 p->resctrl_val); in cat_setup()
39 p->num_of_runs++; in cat_setup()
48 int runs = 0, no_of_bits = 0; in check_results() local
52 fp = fopen(param->filename, "r"); in check_results()
71 if (runs > 0) in check_results()
[all …]
/openbmc/linux/fs/ntfs3/
H A Drun.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved.
27 * run_lookup - Lookup the index of a MCB entry that is first <= vcn.
29 * Case of success it will return non-zero value and set
39 if (!run->count) { in run_lookup()
45 max_idx = run->count - 1; in run_lookup()
48 r = run->runs; in run_lookup()
49 if (vcn < r->vcn) { in run_lookup()
54 if (vcn < r->vcn + r->len) { in run_lookup()
60 if (vcn >= r->vcn + r->len) { in run_lookup()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dsleepable.c12 .runs = -1,
25 .runs = -1,
38 .runs = -1,
51 .runs = -1,
64 .runs = -1,
76 .runs = -1,
90 .runs = -1,
H A Djmp32.c7 BPF_JMP32_IMM(BPF_JSET, BPF_REG_7, -2, 1),
18 .runs = 3,
50 .runs = 3,
99 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_7, -1, 1),
106 .runs = 2,
109 .data64 = { -2, }
112 .data64 = { -1, }
130 .runs = 3,
164 BPF_JMP32_IMM(BPF_JNE, BPF_REG_7, -1, 1),
171 .runs = 2,
[all …]
H A Dbpf_st_mem.c2 "BPF_ST_MEM stack imm non-zero",
4 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 42),
5 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8),
6 BPF_ALU64_IMM(BPF_ADD, BPF_REG_0, -42),
14 .runs = -1,
20 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
23 BPF_LDX_MEM(BPF_B, BPF_REG_1, BPF_REG_10, -8),
25 BPF_LDX_MEM(BPF_B, BPF_REG_1, BPF_REG_10, -4),
27 BPF_LDX_MEM(BPF_B, BPF_REG_1, BPF_REG_10, -1),
36 .runs = -1,
[all …]
/openbmc/linux/tools/memory-model/scripts/
H A DREADME6 These scripts are run from the tools/memory-model directory.
10 Run all litmus tests in the litmus-tests directory, checking
17 archive that are C-language and that have "Result:" comment lines
24 initlitmushist.sh or newlitmushist.sh runs, comparing the
25 herd7 output to that of the original runs.
36 followed by "--" followed by pathnames starting from the current
41 Compare output from two different runs of the same litmus tests,
67 Parse command-line arguments. Not normally run manually,
83 # runs for about an hour on an 8-CPU x86 system:
84 scripts/initlitmushist.sh --timeout 10m --procs 10
[all …]
/openbmc/qemu/scripts/simplebench/
H A Dsimplebench.py33 """Benchmark one test-case
35 test_func -- benchmarking function with prototype
43 test_env -- test environment - opaque first argument for test_func
44 test_case -- test case - opaque second argument for test_func
45 count -- how many times to call test_func, to calculate average
46 initial_run -- do initial run of test_func, which don't get into result
47 slow_limit -- stop at slow run (that exceedes the slow_limit by seconds).
49 drop_caches -- drop caches before each run
52 'runs': list of test_func results
58 'n-failed': number of failed runs (exists only if at least one run
[all …]
/openbmc/u-boot/include/
H A Dpost.h1 /* SPDX-License-Identifier: GPL-2.0+ */
65 #define POST_POWERON 0x01 /* test runs on power-on booting */
66 #define POST_NORMAL 0x02 /* test runs on normal booting */
68 #define POST_POWERTEST 0x08 /* test runs after watchdog reset */
70 #define POST_COLDBOOT 0x80 /* first boot after power-on */
72 #define POST_ROM 0x0100 /* test runs in ROM */
73 #define POST_RAM 0x0200 /* test runs in RAM */
74 #define POST_MANUAL 0x0400 /* test runs on diag command */
76 #define POST_PREREL 0x1000 /* test runs before relocation */
132 /* Tag_GNU_Power_ABI_FP/soft-float */
/openbmc/qemu/include/sysemu/
H A Dblock-backend-common.h4 * Copyright (C) 2014-2016 Red Hat, Inc.
10 * or later. See the COPYING.LIB file in the top-level directory.
17 #include "block/throttle-groups.h"
34 * See include/block/block-global-state.h for more information about
39 * Runs when virtual media changed (monitor commands eject, change)
47 * Runs when an eject request is issued from the monitor, the tray
63 * Runs when the backend receives a drain request.
67 * Runs when the backend's last drain request ends.
76 * I/O API functions. These functions are thread-safe.
78 * See include/block/block-io.h for more information about
[all …]
/openbmc/u-boot/test/dm/
H A Dtest-main.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include <dm/uclass-internal.h>
26 struct dm_test_state *dms = uts->priv; in dm_test_init()
29 gd->dm_root = NULL; in dm_test_init()
35 gd->of_root = of_live ? uts->of_root : NULL; in dm_test_init()
38 dms->root = dm_root(); in dm_test_init()
82 const char *fname = strrchr(test->file, '/') + 1; in dm_do_test()
84 printf("Test: %s: %s%s\n", test->name, fname, in dm_do_test()
88 uts->start = mallinfo(); in dm_do_test()
89 if (test->flags & DM_TESTF_SCAN_PDATA) in dm_do_test()
[all …]
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-check-branches.sh2 # SPDX-License-Identifier: GPL-2.0+
5 # unconditionally does three-minute runs on each scenario in CFLIST,
9 # might grow some command-line arguments.
11 # Usage: kvm-check-branches.sh commit1 commit2..commit3 commit4 ...
14 # specification of commits is needed, please use "git rev-list" to
19 # This script creates a yyyy.mm.dd-hh.mm.ss-group entry in the "res"
21 # moves them under the yyyy.mm.dd-hh.mm.ss-group entry, each in its own
23 # For successful runs, the large build artifacts are removed. Doing this
25 # successful runs.
39 curcommit="`git status | head -1 | awk '{ print $NF }'`"
[all …]
H A Dkvm-recheck.sh2 # SPDX-License-Identifier: GPL-2.0+
4 # Given the results directories for previous KVM-based torture runs,
8 # Usage: kvm-recheck.sh resdir ...
16 T=/tmp/kvm-recheck.sh.$$
17 trap 'rm -f $T' 0 2
26 dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u`
29 if test -n "$firsttime"
32 resdir=`echo $i | sed -e 's,/$,,' -e 's,/[^/]*$,,'`
33 head -1 $resdir/log
36 configfile=`echo $i | sed -e 's,^.*/,,'`
[all …]
/openbmc/linux/arch/mips/jazz/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
8 kernel that runs on these, say Y here. For details about Linux on
10 <http://www.linux-mips.org/>.
19 kernel that runs on these, say Y here. For details about Linux on
21 <http://www.linux-mips.org/>.
24 bool "Support for Olivetti M700-10"
29 kernel that runs on these, say Y here. For details about Linux on
31 <http://www.linux-mips.org/>.
/openbmc/webui-vue/docs/guide/coding-standards/
H A Dreadme.md6 - [ESLint](https://eslint.org/)
7 - [Prettier](https://prettier.io/)
8 - [ESLint Plugin for Vue](https://eslint.vuejs.org/)
12 - [Vue Recommended](https://eslint.vuejs.org/rules/#priority-c-recommended-minimizing-arbitrary-cho…
13 - [ESLint Recommended](https://eslint.org/docs/rules/)
14 - [Prettier](https://prettier.io/docs/en/options.html)
33 The linting script runs when code is committed, during pre-commit, and when the
34 CI tool runs after a push to Gerrit. There is a shell script named
35 `format-code.sh` that installs node package dependencies and runs the test
/openbmc/qemu/hw/nvme/
H A Dsubsys.c2 * QEMU NVM Express Subsystem: nvme-subsys
19 NvmeSubsystem *subsys = n->subsys; in nvme_subsys_reserve_cntlids()
20 NvmeSecCtrlEntry *list = n->sec_ctrl_list; in nvme_subsys_reserve_cntlids()
24 for (i = start; i < ARRAY_SIZE(subsys->ctrls) && cnt < num; i++) { in nvme_subsys_reserve_cntlids()
25 if (!subsys->ctrls[i]) { in nvme_subsys_reserve_cntlids()
27 sctrl->scid = cpu_to_le16(i); in nvme_subsys_reserve_cntlids()
28 subsys->ctrls[i] = SUBSYS_SLOT_RSVD; in nvme_subsys_reserve_cntlids()
38 NvmeSubsystem *subsys = n->subsys; in nvme_subsys_unreserve_cntlids()
39 NvmeSecCtrlEntry *list = n->sec_ctrl_list; in nvme_subsys_unreserve_cntlids()
43 for (i = 0; i < n->params.sriov_max_vfs; i++) { in nvme_subsys_unreserve_cntlids()
[all …]
/openbmc/linux/Documentation/virt/
H A Dne_overview.rst1 .. SPDX-License-Identifier: GPL-2.0
14 For example, an application that processes sensitive data and runs in a VM,
16 application then runs in a separate VM than the primary VM, namely an enclave.
17 It runs alongside the VM that spawned it. This setup matches low latency
29 1. An enclave abstraction process - a user space process running in the primary
42 2. The enclave itself - a VM running on the same host as the primary VM that
52 An enclave runs on dedicated cores. CPU 0 and its CPU siblings need to remain
58 using virtio-vsock [5]. The primary VM has virtio-pci vsock emulated device,
59 while the enclave VM has a virtio-mmio vsock emulated device. The vsock device
60 uses eventfd for signaling. The enclave VM sees the usual interfaces - local
[all …]
/openbmc/linux/Documentation/dev-tools/kunit/
H A Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
4 KUnit - Linux Kernel Unit Testing
29 if built-in, or load as a module. KUnit automatically flags and reports
31 :doc:`KTAP (Kernel - Test Anything Protocol) format</dev-tools/ktap>`.
42 KUnit follows the white-box testing approach. The test has access to
43 internal system functionality. KUnit runs in kernel space and is not
44 restricted to things exposed to user-space.
47 that configures the Linux kernel, runs KUnit tests under QEMU or UML
53 --------
55 - Provides a framework for writing unit tests.
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Dlockup-watchdogs.rst14 "softlockup_panic" (see "Documentation/admin-guide/kernel-parameters.rst" for
26 (see "Documentation/admin-guide/kernel-parameters.rst" for details).
41 A periodic hrtimer runs to generate interrupts and kick the watchdog
43 (compile-time initialized to 10 and configurable through sysctl of the
50 The watchdog job runs in a stop scheduling thread that updates a
64 event. The right value for a particular environment is a trade-off
67 By default, the watchdog runs on all online cores. However, on a
68 kernel configured with NO_HZ_FULL, by default the watchdog runs only
77 to continue to run on the housekeeping (non-tickless) cores means
/openbmc/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_tags_inclusion.c1 // SPDX-License-Identifier: GPL-2.0
19 #define RUNS (MT_TAG_COUNT * 2) macro
29 ksft_print_msg("Unexpected fault recorded for %p-%p in mode %x\n", in verify_mte_pointer_validity()
64 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_single_included_tags()
92 for (tag = 0; (tag < MT_TAG_COUNT - 1) && (result == KSFT_PASS); tag++) { in check_multiple_included_tags()
96 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_multiple_included_tags()
127 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_all_included_tags()
152 for (run = 0; run < RUNS; run++) { in check_none_included_tags()
/openbmc/linux/tools/testing/selftests/mm/
H A Dtest_vmalloc.sh2 # SPDX-License-Identifier: GPL-2.0
14 NUM_CPUS=`grep -c ^processor /proc/cpuinfo`
19 # Kselftest framework requirement - SKIP code is 4.
32 uid=$(id -u)
33 if [ $uid -ne 0 ]; then
53 echo "It runs all test cases on one single CPU with sequential order."
84 echo -n "Usage: $0 [ performance ] | [ stress ] | | [ smoke ] | "
96 echo "# Runs 1 test(id_1), repeats it 5 times by NUM_CPUS workers"
99 echo -n "# Runs 4 tests(id_1|id_2|id_4|id_16) on one CPU with "
101 echo -n "./${DRIVER}.sh sequential_test_order=1 "
[all …]
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_rng-test.c21 #include "libqtest-single.h"
77 while (retries-- > 0) { in rng_wait_ready()
87 * Perform a frequency (monobit) test, as defined by NIST SP 800-22, on the
88 * sequence in buf and return the P-value. This represents the probability of a
104 * Each 1 counts as 1, each 0 counts as -1. in calc_monobit_p()
105 * s = cp - (8 - cp) = 2 * cp - 8 in calc_monobit_p()
107 sn += 2 * ctpop8(buf[i]) - 8; in calc_monobit_p()
116 * Perform a runs test, as defined by NIST SP 800-22, and return the P-value.
118 * number of runs (i.e. uninterrupted sequences of identical bits) as the
136 for (k = 0; k < nr_bits - 1; k++) { in calc_runs_p()
[all …]
/openbmc/linux/Documentation/powerpc/
H A Dkasan.txt1 KASAN is supported on powerpc on 32-bit and Radix 64-bit only.
6 KASAN is supported on both hash and nohash MMUs on 32-bit.
23 - It would be good to support inline instrumentation so as to be able to catch
26 - Inline instrumentation requires a fixed offset.
28 - Book3S runs code with translations off ("real mode") during boot, including a
29 lot of generic device-tree parsing code which is used to determine MMU
32 - Some code - most notably a lot of KVM code - also runs with translations off
35 - Therefore any offset has to point to memory that is valid with
38 One approach is just to give up on inline instrumentation. This way boot-time
40 instrument any code that runs with translations off after booting. This is the
[all …]

12345678910>>...43