Home
last modified time | relevance | path

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

12345678910>>...160

/Linux-v5.15/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c80 struct kvm_run *run; in main() local
97 run = vcpu_state(vm, VCPU_ID); in main()
100 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main()
107 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
115 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main()
122 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
130 run->kvm_valid_regs = TEST_SYNC_FIELDS; in main()
133 TEST_ASSERT(run->exit_reason == KVM_EXIT_S390_SIEIC, in main()
135 run->exit_reason, in main()
136 exit_reason_str(run->exit_reason)); in main()
[all …]
/Linux-v5.15/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c88 struct kvm_run *run; in main() local
110 run = vcpu_state(vm, VCPU_ID); in main()
113 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main()
120 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
128 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main()
135 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main()
144 run->kvm_valid_regs = TEST_SYNC_FIELDS; in main()
146 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main()
148 run->exit_reason, in main()
149 exit_reason_str(run->exit_reason)); in main()
[all …]
Ddebug_regs.c84 struct kvm_run *run; in main() local
105 run = vcpu_state(vm, VCPU_ID); in main()
112 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
113 run->debug.arch.exception == BP_VECTOR && in main()
114 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main()
116 run->exit_reason, run->debug.arch.exception, in main()
117 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main()
129 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main()
130 run->debug.arch.exception == DB_VECTOR && in main()
131 run->debug.arch.pc == CAST_TO_RIP(hw_bp) && in main()
[all …]
Duserspace_msr_exit_test.c276 * Now run the same tests with the instruction emulator. in guest_code_filter_allow()
408 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in check_for_guest_assert() local
411 if (run->exit_reason == KVM_EXIT_IO && in check_for_guest_assert()
420 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_rdmsr() local
424 TEST_ASSERT(run->exit_reason == KVM_EXIT_X86_RDMSR, in process_rdmsr()
426 run->exit_reason, in process_rdmsr()
427 exit_reason_str(run->exit_reason)); in process_rdmsr()
428 TEST_ASSERT(run->msr.index == msr_index, in process_rdmsr()
430 run->msr.index, msr_index); in process_rdmsr()
432 switch (run->msr.index) { in process_rdmsr()
[all …]
Demulator_error_test.c62 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in process_exit_on_emulation_error() local
68 TEST_ASSERT(run->exit_reason == KVM_EXIT_INTERNAL_ERROR, in process_exit_on_emulation_error()
70 run->exit_reason, in process_exit_on_emulation_error()
71 exit_reason_str(run->exit_reason)); in process_exit_on_emulation_error()
73 TEST_ASSERT(run->emulation_failure.suberror == KVM_INTERNAL_ERROR_EMULATION, in process_exit_on_emulation_error()
75 run->emulation_failure.suberror); in process_exit_on_emulation_error()
77 if (run->emulation_failure.ndata >= 1) { in process_exit_on_emulation_error()
78 flags = run->emulation_failure.flags; in process_exit_on_emulation_error()
80 run->emulation_failure.ndata >= 3) { in process_exit_on_emulation_error()
81 insn_size = run->emulation_failure.insn_size; in process_exit_on_emulation_error()
[all …]
Dxen_vmcall_test.c109 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main() local
114 if (run->exit_reason == KVM_EXIT_XEN) { in main()
115 ASSERT_EQ(run->xen.type, KVM_EXIT_XEN_HCALL); in main()
116 ASSERT_EQ(run->xen.u.hcall.cpl, 0); in main()
117 ASSERT_EQ(run->xen.u.hcall.longmode, 1); in main()
118 ASSERT_EQ(run->xen.u.hcall.input, INPUTVALUE); in main()
119 ASSERT_EQ(run->xen.u.hcall.params[0], ARGVALUE(1)); in main()
120 ASSERT_EQ(run->xen.u.hcall.params[1], ARGVALUE(2)); in main()
121 ASSERT_EQ(run->xen.u.hcall.params[2], ARGVALUE(3)); in main()
122 ASSERT_EQ(run->xen.u.hcall.params[3], ARGVALUE(4)); in main()
[all …]
/Linux-v5.15/fs/ntfs3/
Drun.c34 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 …]
Dattrib.c88 struct runs_tree *run, const CLST *vcn) in attr_load_runs() argument
96 if (svcn >= evcn + 1 || run_is_mapped_full(run, svcn, evcn)) in attr_load_runs()
104 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, in attr_load_runs()
116 static int run_deallocate_ex(struct ntfs_sb_info *sbi, struct runs_tree *run, in run_deallocate_ex() argument
126 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) { in run_deallocate_ex()
128 run_truncate(run, vcn0); in run_deallocate_ex()
152 if (!run_get_entry(run, ++idx, &vcn, &lcn, &clen) || in run_deallocate_ex()
154 /* Save memory - don't load entire run. */ in run_deallocate_ex()
167 * attr_allocate_clusters - Find free space, mark it as used and store in @run.
169 int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run, in attr_allocate_clusters() argument
[all …]
/Linux-v5.15/drivers/staging/media/sunxi/cedrus/
Dcedrus_dec.c29 struct cedrus_run run = {}; in cedrus_device_run() local
32 run.src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in cedrus_device_run()
33 run.dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in cedrus_device_run()
36 src_req = run.src->vb2_buf.req_obj.req; in cedrus_device_run()
43 run.mpeg2.sequence = cedrus_find_control_data(ctx, in cedrus_device_run()
45 run.mpeg2.picture = cedrus_find_control_data(ctx, in cedrus_device_run()
47 run.mpeg2.quantisation = cedrus_find_control_data(ctx, in cedrus_device_run()
52 run.h264.decode_params = cedrus_find_control_data(ctx, in cedrus_device_run()
54 run.h264.pps = cedrus_find_control_data(ctx, in cedrus_device_run()
56 run.h264.scaling_matrix = cedrus_find_control_data(ctx, in cedrus_device_run()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/tools/testing/selftests/sgx/
Dmain.c112 struct sgx_enclave_run run; in FIXTURE() local
169 memset(&self->run, 0, sizeof(self->run)); in FIXTURE_SETUP()
170 self->run.tcs = self->encl.encl_base; in FIXTURE_SETUP()
196 #define ENCL_CALL(op, run, clobbered) \ argument
201 EENTER, 0, 0, (run)); \
204 (run)); \
208 #define EXPECT_EEXIT(run) \ argument
210 EXPECT_EQ((run)->function, EEXIT); \
211 if ((run)->function != EEXIT) \
212 TH_LOG("0x%02x 0x%02x 0x%016llx", (run)->exception_vector, \
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/Documentation/dev-tools/kunit/
Dkunit-tool.rst15 kunit_tool addresses the problem of being able to run tests without needing a
18 compiles the kernel as a standalone Linux executable that can be run like any
33 to run independently, or if you want to use pre-defined test configs for
43 ./tools/testing/kunit/kunit.py run
49 ./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all`
51 - ``--timeout`` sets a maximum amount of time to allow tests to run.
63 ./tools/testing/kunit/kunit.py run --kunitconfig=fs/ext4/.kunitconfig
65 For a list of all the flags supported by kunit_tool, you can run:
69 ./tools/testing/kunit/kunit.py run --help
74 It's also possible to run just parts of the KUnit build process independently,
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/Documentation/dev-tools/
Dkselftest.rst7 paths in the kernel. Tests are intended to be run after building, installing
17 to run the full range of hot-plug tests. In default mode, hot-plug tests run
19 run on a single cpu as opposed to all hotplug capable cpus, and memory
20 hotplug test is run on 2% of hotplug capable memory instead of 10%.
22 kselftest runs as a userspace process. Tests that can be written/run in
24 run in kernel space may wish to use a `Test Module`_.
26 Running the selftests (hotplug tests are run in limited mode)
33 To run the tests::
37 To build and run the tests with a single command, use::
60 The above commands by default run the tests and print full pass/fail report.
[all …]
/Linux-v5.15/arch/arm64/kvm/
Dmmio.c94 struct kvm_run *run = vcpu->run; in kvm_handle_mmio_return() local
97 data = kvm_mmio_read_buf(run->mmio.data, len); in kvm_handle_mmio_return()
108 trace_kvm_mmio(KVM_TRACE_MMIO_READ, len, run->mmio.phys_addr, in kvm_handle_mmio_return()
125 struct kvm_run *run = vcpu->run; in io_mem_abort() local
139 run->exit_reason = KVM_EXIT_ARM_NISV; in io_mem_abort()
140 run->arm_nisv.esr_iss = kvm_vcpu_dabt_iss_nisv_sanitized(vcpu); in io_mem_abort()
141 run->arm_nisv.fault_ipa = fault_ipa; in io_mem_abort()
176 run->mmio.is_write = is_write; in io_mem_abort()
177 run->mmio.phys_addr = fault_ipa; in io_mem_abort()
178 run->mmio.len = len; in io_mem_abort()
[all …]
/Linux-v5.15/Documentation/driver-api/dmaengine/
Ddmatest.rst33 % modprobe dmatest timeout=2000 iterations=1 channel=dma0chan0 run=1
41 % echo 1 > /sys/module/dmatest/parameters/run
45 dmatest.timeout=2000 dmatest.iterations=1 dmatest.channel=dma0chan0 dmatest.run=1
55 % echo 1 > /sys/module/dmatest/parameters/run
65 begin execution when the run parameter is set to 1.
74 pending thread is started once run is to 1.
80 % cat /sys/module/dmatest/parameters/run
82 To wait for test completion userpace can poll 'run' until it is false, or use
84 initialization to pause until a test run has completed, while reading
92 % modprobe dmatest run=1 iterations=42 wait=1
[all …]
/Linux-v5.15/arch/arm/mach-lpc32xx/
Dpm.c16 * The LPC32XX has three CPU modes for controlling system power: run,
17 * direct-run, and halt modes. When switching between halt and run modes,
18 * the CPU transistions through direct-run mode. For Linux, direct-run
22 * Run mode:
27 * Direct-run mode:
38 * wake the system up back into direct-run mode.
43 * SDRAM will still be accessible in direct-run mode. In DDR based systems,
44 * a transition to direct-run mode will stop all DDR accesses (no clocks).
54 * Enter direct-run mode
58 * System enters direct-run mode when an enabled event occurs
[all …]

12345678910>>...160