Home
last modified time | relevance | path

Searched full:run (Results 1 – 25 of 3949) sorted by relevance

12345678910>>...158

/Linux-v6.1/tools/testing/selftests/sgx/
Dmain.c172 struct sgx_enclave_run run; in FIXTURE() local
262 #define ENCL_CALL(op, run, clobbered) \ argument
267 EENTER, 0, 0, (run)); \
270 (run)); \
274 #define EXPECT_EEXIT(run) \ argument
276 EXPECT_EQ((run)->function, EEXIT); \
277 if ((run)->function != EEXIT) \
278 TH_LOG("0x%02x 0x%02x 0x%016llx", (run)->exception_vector, \
279 (run)->exception_error_code, (run)->exception_addr); \
289 memset(&self->run, 0, sizeof(self->run)); in TEST_F()
[all …]
/Linux-v6.1/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c78 struct kvm_run *run = vcpu->run; in test_read_invalid() local
82 run->kvm_valid_regs = INVALID_SYNC_FIELD; in test_read_invalid()
87 run->kvm_valid_regs = 0; in test_read_invalid()
89 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in test_read_invalid()
94 run->kvm_valid_regs = 0; in test_read_invalid()
99 struct kvm_run *run = vcpu->run; in test_set_invalid() local
103 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in test_set_invalid()
108 run->kvm_dirty_regs = 0; in test_set_invalid()
110 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in test_set_invalid()
115 run->kvm_dirty_regs = 0; in test_set_invalid()
[all …]
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c87 struct kvm_run *run; in main() local
102 run = vcpu->run; in main()
105 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main()
110 run->kvm_valid_regs = 0; in main()
112 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
117 run->kvm_valid_regs = 0; in main()
120 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main()
125 run->kvm_dirty_regs = 0; in main()
127 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
132 run->kvm_dirty_regs = 0; in main()
[all …]
Ddebug_regs.c83 struct kvm_run *run; in main() local
101 run = vcpu->run; in main()
108 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
109 run->debug.arch.exception == BP_VECTOR && in main()
110 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main()
112 run->exit_reason, run->debug.arch.exception, in main()
113 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main()
125 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
126 run->debug.arch.exception == DB_VECTOR && in main()
127 run->debug.arch.pc == CAST_TO_RIP(hw_bp) && in main()
[all …]
Duserspace_msr_exit_test.c275 * Now run the same tests with the instruction emulator. in guest_code_filter_allow()
401 if (vcpu->run->exit_reason == KVM_EXIT_IO && in check_for_guest_assert()
409 struct kvm_run *run = vcpu->run; in process_rdmsr() local
413 TEST_ASSERT(run->exit_reason == KVM_EXIT_X86_RDMSR, in process_rdmsr()
415 run->exit_reason, in process_rdmsr()
416 exit_reason_str(run->exit_reason)); in process_rdmsr()
417 TEST_ASSERT(run->msr.index == msr_index, in process_rdmsr()
419 run->msr.index, msr_index); in process_rdmsr()
421 switch (run->msr.index) { in process_rdmsr()
423 run->msr.data = 0; in process_rdmsr()
[all …]
Demulator_error_test.c52 struct kvm_run *run = vcpu->run; in process_exit_on_emulation_error() local
58 TEST_ASSERT(run->exit_reason == KVM_EXIT_INTERNAL_ERROR, in process_exit_on_emulation_error()
60 run->exit_reason, in process_exit_on_emulation_error()
61 exit_reason_str(run->exit_reason)); in process_exit_on_emulation_error()
63 TEST_ASSERT(run->emulation_failure.suberror == KVM_INTERNAL_ERROR_EMULATION, in process_exit_on_emulation_error()
65 run->emulation_failure.suberror); in process_exit_on_emulation_error()
67 if (run->emulation_failure.ndata >= 1) { in process_exit_on_emulation_error()
68 flags = run->emulation_failure.flags; in process_exit_on_emulation_error()
70 run->emulation_failure.ndata >= 3) { in process_exit_on_emulation_error()
71 insn_size = run->emulation_failure.insn_size; in process_exit_on_emulation_error()
[all …]
Dxen_vmcall_test.c105 volatile struct kvm_run *run = vcpu->run; in main() local
110 if (run->exit_reason == KVM_EXIT_XEN) { in main()
111 ASSERT_EQ(run->xen.type, KVM_EXIT_XEN_HCALL); in main()
112 ASSERT_EQ(run->xen.u.hcall.cpl, 0); in main()
113 ASSERT_EQ(run->xen.u.hcall.longmode, 1); in main()
114 ASSERT_EQ(run->xen.u.hcall.input, INPUTVALUE); in main()
115 ASSERT_EQ(run->xen.u.hcall.params[0], ARGVALUE(1)); in main()
116 ASSERT_EQ(run->xen.u.hcall.params[1], ARGVALUE(2)); in main()
117 ASSERT_EQ(run->xen.u.hcall.params[2], ARGVALUE(3)); in main()
118 ASSERT_EQ(run->xen.u.hcall.params[3], ARGVALUE(4)); in main()
[all …]
/Linux-v6.1/fs/ntfs3/
Drun.c34 static bool run_lookup(const struct runs_tree *run, CLST vcn, size_t *index) in run_lookup() argument
39 if (!run->count) { in run_lookup()
45 max_idx = run->count - 1; in run_lookup()
48 r = run->runs; in run_lookup()
61 *index = run->count; in run_lookup()
72 r = run->runs + mid_idx; in run_lookup()
93 static void run_consolidate(struct runs_tree *run, size_t index) in run_consolidate() argument
96 struct ntfs_run *r = run->runs + index; in run_consolidate()
98 while (index + 1 < run->count) { in run_consolidate()
100 * I should merge current run with next in run_consolidate()
[all …]
/Linux-v6.1/drivers/staging/media/sunxi/cedrus/
Dcedrus_dec.c29 struct cedrus_run run = {}; in cedrus_device_run() local
33 run.src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in cedrus_device_run()
34 run.dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in cedrus_device_run()
37 src_req = run.src->vb2_buf.req_obj.req; in cedrus_device_run()
44 run.mpeg2.sequence = cedrus_find_control_data(ctx, in cedrus_device_run()
46 run.mpeg2.picture = cedrus_find_control_data(ctx, in cedrus_device_run()
48 run.mpeg2.quantisation = cedrus_find_control_data(ctx, in cedrus_device_run()
53 run.h264.decode_params = cedrus_find_control_data(ctx, in cedrus_device_run()
55 run.h264.pps = cedrus_find_control_data(ctx, in cedrus_device_run()
57 run.h264.scaling_matrix = cedrus_find_control_data(ctx, in cedrus_device_run()
[all …]
/Linux-v6.1/tools/perf/tests/
Dmake10 # run only specific test over 'Makefile'
123 # $(run) contains all available tests
124 run := make_pure
125 # Targets 'clean all' can be run together only through top level
129 run += make_clean_all
134 run += make_python_perf_so
135 run += make_debug
136 run += make_no_libperl
137 run += make_no_libpython
138 run += make_no_scripts
[all …]
/Linux-v6.1/tools/testing/ktest/examples/
Dcrosstests.conf32 # The build will go into this directory. It will be created when you run the test.
49 # The log file will be cleared each time you run ktest.
61 # arch that you want to test. (uncomment RUN and chose your arch)
62 #RUN := arm
66 # to run the bisect on the arch.
67 #RUN := bisect
96 TEST_START IF ${RUN} == alpha || ${DO_DEFAULT}
105 TEST_START IF ${RUN} == arm || ${DO_DEFAULT}
110 TEST_START IF ${RUN} == ia64 || ${DO_DEFAULT}
115 TEST_START IF ${RUN} == m68k || ${DO_DEFAULT}
[all …]
/Linux-v6.1/arch/riscv/kvm/
Dvcpu_sbi.c55 void kvm_riscv_vcpu_sbi_forward(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_forward() argument
61 run->exit_reason = KVM_EXIT_RISCV_SBI; in kvm_riscv_vcpu_sbi_forward()
62 run->riscv_sbi.extension_id = cp->a7; in kvm_riscv_vcpu_sbi_forward()
63 run->riscv_sbi.function_id = cp->a6; in kvm_riscv_vcpu_sbi_forward()
64 run->riscv_sbi.args[0] = cp->a0; in kvm_riscv_vcpu_sbi_forward()
65 run->riscv_sbi.args[1] = cp->a1; in kvm_riscv_vcpu_sbi_forward()
66 run->riscv_sbi.args[2] = cp->a2; in kvm_riscv_vcpu_sbi_forward()
67 run->riscv_sbi.args[3] = cp->a3; in kvm_riscv_vcpu_sbi_forward()
68 run->riscv_sbi.args[4] = cp->a4; in kvm_riscv_vcpu_sbi_forward()
69 run->riscv_sbi.args[5] = cp->a5; in kvm_riscv_vcpu_sbi_forward()
[all …]
Dvcpu_insn.c148 int (*func)(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn);
151 static int truly_illegal_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in truly_illegal_insn() argument
167 static int truly_virtual_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in truly_virtual_insn() argument
197 static int wfi_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in wfi_insn() argument
223 * @run: The VCPU run struct containing the CSR data
227 int kvm_riscv_vcpu_csr_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_csr_return() argument
239 run->riscv_csr.ret_value); in kvm_riscv_vcpu_csr_return()
247 static int csr_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in csr_insn() argument
291 run->riscv_csr.csr_num = csr_num; in csr_insn()
292 run->riscv_csr.new_value = new_val; in csr_insn()
[all …]
/Linux-v6.1/tools/testing/selftests/arm64/mte/
Dcheck_mmap_options.c63 int run, result, map_size; in check_anonymous_memory_mapping() local
68 for (run = 0; run < item; run++) { in check_anonymous_memory_mapping()
69 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping()
75 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_anonymous_memory_mapping()
77 ptr = mte_insert_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
83 result = check_mte_memory(ptr, sizes[run], mode, tag_check); in check_anonymous_memory_mapping()
84 mte_clear_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
95 int run, fd, map_size; in check_file_memory_mapping() local
100 for (run = 0; run < total; run++) { in check_file_memory_mapping()
105 map_size = sizes[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping()
[all …]
/Linux-v6.1/fs/befs/
Ddatastream.c26 befs_blocknr_t blockno, befs_block_run *run);
31 befs_block_run *run);
36 befs_block_run *run);
53 befs_block_run run; in befs_read_datastream() local
61 if (befs_fblock2brun(sb, ds, block, &run) != BEFS_OK) { in befs_read_datastream()
67 bh = befs_bread_iaddr(sb, run); in befs_read_datastream()
80 * befs_fblock2brun - give back block run for fblock
84 * @run: The found run is passed back through this pointer
96 befs_blocknr_t fblock, befs_block_run *run) in befs_fblock2brun() argument
102 err = befs_find_brun_direct(sb, data, fblock, run); in befs_fblock2brun()
[all …]
Dendian.h74 befs_block_run run; in fsrun_to_cpu() local
77 run.allocation_group = le32_to_cpu((__force __le32)n.allocation_group); in fsrun_to_cpu()
78 run.start = le16_to_cpu((__force __le16)n.start); in fsrun_to_cpu()
79 run.len = le16_to_cpu((__force __le16)n.len); in fsrun_to_cpu()
81 run.allocation_group = be32_to_cpu((__force __be32)n.allocation_group); in fsrun_to_cpu()
82 run.start = be16_to_cpu((__force __be16)n.start); in fsrun_to_cpu()
83 run.len = be16_to_cpu((__force __be16)n.len); in fsrun_to_cpu()
85 return run; in fsrun_to_cpu()
91 befs_disk_block_run run; in cpu_to_fsrun() local
94 run.allocation_group = cpu_to_le32(n.allocation_group); in cpu_to_fsrun()
[all …]
/Linux-v6.1/include/video/
Dimx-ipu-image-convert.h15 * struct ipu_image_convert_run - image conversion run request struct
18 * @in_phys: dma addr of input image buffer for this run
19 * @out_phys: dma addr of output image buffer for this run
20 * @status: completion status of this run
37 * @run: the completed conversion run pointer
40 typedef void (*ipu_image_convert_cb_t)(struct ipu_image_convert_run *run,
90 * @complete: run completion callback
114 * error run status.
122 * ipu_image_convert_queue() - queue a conversion run
124 * @run: the run request pointer
[all …]
/Linux-v6.1/Documentation/dev-tools/kunit/
Drun_wrapper.rst7 We can either run KUnit tests using kunit_tool or can run tests
8 manually, and then use kunit_tool to parse the results. To run tests
10 As long as we can build the kernel, we can run KUnit.
15 Run command:
19 ./tools/testing/kunit/kunit.py run
33 ./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all`
35 - ``--timeout`` sets a maximum amount of time for tests to run.
45 tests we want to run independently, or if we want to use pre-defined
53 ./tools/testing/kunit/kunit.py run --kunitconfig=fs/ext4/.kunitconfig
55 To view kunit_tool flags (optional command-line arguments), run:
[all …]
Dstart.rst8 teaching how to run existing tests and then how to write a simple test case,
14 build the kernel, you can run KUnit.
20 can run kunit_tool:
24 ./tools/testing/kunit/kunit.py run
28 "The source tree is not clean, please run 'make ARCH=um mrproper'"
59 Selecting which tests to run
64 you can select which tests to run by:
67 - `Filtering tests by name`_ to select specifically which compiled tests to run.
72 If you didn't run ``kunit.py run`` yet, you can generate it by running:
91 options required to run the desired tests, including their dependencies.
[all …]
/Linux-v6.1/tools/perf/scripts/python/
Dstat-cpi.py23 def store(time, event, cpu, thread, val, ena, run): argument
24 #print("event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" %
25 # (event, cpu, thread, time, val, ena, run))
29 data[key] = [ val, ena, run]
35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
36 store(time, "cycles", cpu, thread, val, ena, run);
38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
39 store(time, "instructions", cpu, thread, val, ena, run);
41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
42 store(time, "cycles", cpu, thread, val, ena, run);
[all …]
/Linux-v6.1/tools/testing/selftests/tc-testing/
DREADME20 * The kernel must have the appropriate infrastructure enabled to run all tdc
25 modules. To check what is required in current setup run:
29 In the current release, tdc run will abort due to a failure in setup or
30 teardown commands - which includes not being able to run a test simply
32 handled in a future version - the current workaround is to run the tests
36 BEFORE YOU RUN
52 commands being tested must be run as root. The code that enforces
60 to tdc when starting a test run; the veth pair will still be created
63 Running tdc without any arguments will run all tests. Refer to the section
64 on command line arguments for more information, or run:
[all …]
/Linux-v6.1/tools/memory-model/scripts/
DREADME6 These scripts are run from the tools/memory-model directory.
10 Run all litmus tests in the litmus-tests directory, checking
16 Run all litmus tests in the https://github.com/paulmckrcu/litmus
23 Run all litmus tests having .litmus.out files from previous
34 with the absolute pathnames of the tests to run provided one
35 name per line on standard input. Not normally run manually,
40 Run all litmus tests having no more than the specified number
48 judge whether the test ran correctly. Not normally run manually,
54 specified number of processes given a specified timeout, run
59 Parse command-line arguments. Not normally run manually,
[all …]
/Linux-v6.1/arch/s390/kvm/
Ddiag.c25 start = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in diag_release_pages()
26 end = vcpu->run->s.regs.gprs[vcpu->arch.sie_block->ipa & 0xf] + PAGE_SIZE; in diag_release_pages()
76 vcpu->run->s.regs.gprs[rx]); in __diag_page_ref_service()
78 if (vcpu->run->s.regs.gprs[rx] & 7) in __diag_page_ref_service()
80 rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm)); in __diag_page_ref_service()
97 vcpu->run->s.regs.gprs[ry] = 8; in __diag_page_ref_service()
111 vcpu->run->s.regs.gprs[ry] = 0; in __diag_page_ref_service()
125 vcpu->run->s.regs.gprs[ry] = 0; in __diag_page_ref_service()
131 vcpu->run->s.regs.gprs[ry] = 4; in __diag_page_ref_service()
171 tid = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in __diag_time_slice_end_directed()
[all …]
/Linux-v6.1/tools/testing/selftests/nolibc/
DMakefile34 # optional tests to run (default = all)
55 # OUTPUT is only set when run from the main makefile, otherwise
70 @echo " all call the \"run\" target below"
77 @echo " run runs the kernel in QEMU after building it (uses \$$ARCH, \$$TEST)"
81 @echo "The output file is \"run.out\". Test ranges may be passed using \$$TEST."
93 all: run
117 # run the tests after building the kernel
118 run: kernel target
119 …play none -no-reboot -kernel "$(srctree)/$(IMAGE)" -serial stdio $(QEMU_ARGS) > "$(CURDIR)/run.out"
120 …Q)grep -w FAIL "$(CURDIR)/run.out" && echo "See all results in $(CURDIR)/run.out" || echo "$$(grep…
[all …]
/Linux-v6.1/tools/testing/selftests/resctrl/
DREADME15 resctrl_tests can be run with or without kselftest framework.
26 RUN
29 Run resctrl_tests as sudo or root since the test needs to mount resctrl file
31 Using kselftest framework will run all supported tests within resctrl_tests:
47 RUN
50 Run resctrl_tests as sudo or root since the test needs to mount resctrl file
52 Executing the test without any parameter will run all supported tests:
63 - execute: let benchmark run
74 …-b benchmark_cmd [options]: run specified benchmark for MBM, MBA and CMT default benchmark is buil…
75 -t test list: run tests specified in the test list, e.g. -t mbm,mba,cmt,cat
[all …]

12345678910>>...158