| /kernel/linux/linux-4.19/tools/testing/selftests/kvm/ |
| D | sync_regs_test.c | 77 struct kvm_run *run; in main() local 99 run = vcpu_state(vm, VCPU_ID); in main() 102 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main() 109 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main() 117 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main() 124 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main() 133 run->kvm_valid_regs = TEST_SYNC_FIELDS; in main() 135 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main() 137 run->exit_reason, in main() 138 exit_reason_str(run->exit_reason)); in main() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
| D | sync_regs_test.c | 83 struct kvm_run *run; in main() local 105 run = vcpu_state(vm, VCPU_ID); in main() 108 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main() 115 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main() 123 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main() 130 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main() 139 run->kvm_valid_regs = TEST_SYNC_FIELDS; in main() 141 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main() 143 run->exit_reason, in main() 144 exit_reason_str(run->exit_reason)); in main() [all …]
|
| D | debug_regs.c | 69 struct kvm_run *run; in main() local 89 run = vcpu_state(vm, VCPU_ID); in main() 96 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 97 run->debug.arch.exception == BP_VECTOR && in main() 98 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main() 100 run->exit_reason, run->debug.arch.exception, in main() 101 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main() 113 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 114 run->debug.arch.exception == DB_VECTOR && in main() 115 run->debug.arch.pc == CAST_TO_RIP(hw_bp) && in main() [all …]
|
| D | user_msr_test.c | 154 static void handle_rdmsr(struct kvm_run *run) in handle_rdmsr() argument 156 run->msr.data = run->msr.index; in handle_rdmsr() 159 if (run->msr.index == MSR_SYSCALL_MASK || in handle_rdmsr() 160 run->msr.index == MSR_GS_BASE) { in handle_rdmsr() 161 TEST_ASSERT(run->msr.reason == KVM_MSR_EXIT_REASON_FILTER, in handle_rdmsr() 165 if (run->msr.index == 0xdeadbeef) { in handle_rdmsr() 166 TEST_ASSERT(run->msr.reason == KVM_MSR_EXIT_REASON_UNKNOWN, in handle_rdmsr() 171 static void handle_wrmsr(struct kvm_run *run) in handle_wrmsr() argument 176 if (run->msr.index == MSR_IA32_POWER_CTL) { in handle_wrmsr() 177 TEST_ASSERT(run->msr.data == 0x1234, in handle_wrmsr() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/ |
| D | sync_regs_test.c | 79 struct kvm_run *run; in main() local 96 run = vcpu_state(vm, VCPU_ID); in main() 99 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main() 106 run->kvm_valid_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main() 114 run->kvm_dirty_regs = INVALID_SYNC_FIELD; in main() 121 run->kvm_dirty_regs = INVALID_SYNC_FIELD | TEST_SYNC_FIELDS; in main() 129 run->kvm_valid_regs = TEST_SYNC_FIELDS; in main() 132 TEST_ASSERT(run->exit_reason == KVM_EXIT_S390_SIEIC, in main() 134 run->exit_reason, in main() 135 exit_reason_str(run->exit_reason)); in main() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/ |
| D | make | 10 # run only specific test over 'Makefile' 121 # $(run) contains all available tests 122 run := make_pure 123 # Targets 'clean all' can be run together only through top level 127 run += make_clean_all 132 run += make_python_perf_so 133 run += make_debug 134 run += make_no_libperl 135 run += make_no_libpython 136 run += make_no_scripts [all …]
|
| /kernel/linux/linux-4.19/tools/perf/tests/ |
| D | make | 10 # run only specific test over 'Makefile' 112 # $(run) contains all available tests 113 run := make_pure 114 # Targets 'clean all' can be run together only through top level 118 run += make_clean_all 123 run += make_python_perf_so 124 run += make_debug 125 run += make_no_libperl 126 run += make_no_libpython 127 run += make_no_scripts [all …]
|
| /kernel/linux/linux-4.19/tools/testing/ktest/examples/ |
| D | crosstests.conf | 32 # 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/ktest/examples/ |
| D | crosstests.conf | 32 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
| D | cedrus_dec.c | 29 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.slice_params = cedrus_find_control_data(ctx, in cedrus_device_run() 45 run.mpeg2.quantization = cedrus_find_control_data(ctx, in cedrus_device_run() 50 run.h264.decode_params = cedrus_find_control_data(ctx, in cedrus_device_run() 52 run.h264.pps = cedrus_find_control_data(ctx, in cedrus_device_run() 54 run.h264.scaling_matrix = cedrus_find_control_data(ctx, in cedrus_device_run() 56 run.h264.slice_params = cedrus_find_control_data(ctx, in cedrus_device_run() [all …]
|
| /kernel/linux/linux-5.10/include/video/ |
| D | imx-ipu-image-convert.h | 15 * 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/ |
| D | check_mmap_options.c | 63 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 …]
|
| /kernel/linux/linux-5.10/fs/befs/ |
| D | datastream.c | 26 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 …]
|
| D | endian.h | 74 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 …]
|
| /kernel/linux/linux-4.19/fs/befs/ |
| D | datastream.c | 26 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 …]
|
| D | endian.h | 74 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 …]
|
| /kernel/linux/linux-4.19/include/video/ |
| D | imx-ipu-image-convert.h | 24 * struct ipu_image_convert_run - image conversion run request struct 27 * @in_phys: dma addr of input image buffer for this run 28 * @out_phys: dma addr of output image buffer for this run 29 * @status: completion status of this run 46 * @run: the completed conversion run pointer 49 typedef void (*ipu_image_convert_cb_t)(struct ipu_image_convert_run *run, 99 * @complete: run completion callback 123 * error run status. 131 * ipu_image_convert_queue() - queue a conversion run 133 * @run: the run request pointer [all …]
|
| /kernel/linux/linux-4.19/tools/perf/scripts/python/ |
| D | stat-cpi.py | 22 def store(time, event, cpu, thread, val, ena, run): argument 23 #print "event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" % \ 24 # (event, cpu, thread, time, val, ena, run) 28 data[key] = [ val, ena, run] 34 def stat__cycles_k(cpu, thread, time, val, ena, run): argument 35 store(time, "cycles", cpu, thread, val, ena, run); 37 def stat__instructions_k(cpu, thread, time, val, ena, run): argument 38 store(time, "instructions", cpu, thread, val, ena, run); 40 def stat__cycles_u(cpu, thread, time, val, ena, run): argument 41 store(time, "cycles", cpu, thread, val, ena, run); [all …]
|
| /kernel/linux/linux-5.10/tools/perf/scripts/python/ |
| D | stat-cpi.py | 23 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
| D | README | 20 * 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 …]
|
| /kernel/linux/linux-4.19/Documentation/dev-tools/ |
| D | kselftest.rst | 7 paths in the kernel. Tests are intended to be run after building, installing 12 to run full range of hot-plug tests. In default mode, hot-plug tests run 14 run on a single cpu as opposed to all hotplug capable cpus, and memory 15 hotplug test is run on 2% of hotplug capable memory instead of 10%. 17 Running the selftests (hotplug tests are run in limited mode) 24 To run the tests:: 28 To build and run the tests with a single command, use:: 34 Build and run from user specific object directory (make O=dir):: 38 Build and run KBUILD_OUTPUT directory (make KBUILD_OUTPUT=):: 42 The above commands run the tests and print pass/fail summary to make it [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/tc-testing/ |
| D | README | 20 * 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 59 Running tdc without any arguments will run all tests. Refer to the section 60 on command line arguments for more information, or run: 63 tdc will list the test names as they are being run, and print a summary in [all …]
|
| /kernel/linux/linux-5.10/tools/memory-model/scripts/ |
| D | README | 6 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 …]
|
| /kernel/linux/linux-4.19/arch/mips/kvm/ |
| D | trap_emul.c | 63 vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_no_handler() 70 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_cop_unusable() local 84 er = kvm_mips_emulate_fpu_exc(cause, opc, run, vcpu); in kvm_trap_emul_handle_cop_unusable() 91 er = kvm_mips_emulate_inst(cause, opc, run, vcpu); in kvm_trap_emul_handle_cop_unusable() 100 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_trap_emul_handle_cop_unusable() 105 run->exit_reason = KVM_EXIT_INTR; in kvm_trap_emul_handle_cop_unusable() 119 static int kvm_mips_bad_load(u32 cause, u32 *opc, struct kvm_run *run, in kvm_mips_bad_load() argument 128 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_load() 137 run->exit_reason = KVM_EXIT_INTERNAL_ERROR; in kvm_mips_bad_load() 142 er = kvm_mips_emulate_load(inst, cause, run, vcpu); in kvm_mips_bad_load() [all …]
|
| /kernel/linux/linux-4.19/arch/s390/kvm/ |
| D | diag.c | 26 start = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in diag_release_pages() 27 end = vcpu->run->s.regs.gprs[vcpu->arch.sie_block->ipa & 0xf] + PAGE_SIZE; in diag_release_pages() 77 vcpu->run->s.regs.gprs[rx]); in __diag_page_ref_service() 79 if (vcpu->run->s.regs.gprs[rx] & 7) in __diag_page_ref_service() 81 rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm)); in __diag_page_ref_service() 98 vcpu->run->s.regs.gprs[ry] = 8; in __diag_page_ref_service() 112 vcpu->run->s.regs.gprs[ry] = 0; in __diag_page_ref_service() 126 vcpu->run->s.regs.gprs[ry] = 0; in __diag_page_ref_service() 132 vcpu->run->s.regs.gprs[ry] = 4; in __diag_page_ref_service() 159 tid = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in __diag_time_slice_end_directed() [all …]
|