Home
last modified time | relevance | path

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

12345678910>>...281

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
Dverifier.c113 #define RUN(skel) run_tests_aux(#skel, skel##__elf_bytes, NULL) macro
115 void test_verifier_and(void) { RUN(verifier_and); } in test_verifier_and()
116 void test_verifier_basic_stack(void) { RUN(verifier_basic_stack); } in test_verifier_basic_stack()
117 void test_verifier_bounds(void) { RUN(verifier_bounds); } in test_verifier_bounds()
118 void test_verifier_bounds_deduction(void) { RUN(verifier_bounds_deduction); } in test_verifier_bounds_deduction()
119 void test_verifier_bounds_deduction_non_const(void) { RUN(verifier_bounds_deduction_non_const);… in test_verifier_bounds_deduction_non_const()
120 void test_verifier_bounds_mix_sign_unsign(void) { RUN(verifier_bounds_mix_sign_unsign); } in test_verifier_bounds_mix_sign_unsign()
121 void test_verifier_bpf_get_stack(void) { RUN(verifier_bpf_get_stack); } in test_verifier_bpf_get_stack()
122 void test_verifier_bswap(void) { RUN(verifier_bswap); } in test_verifier_bswap()
123 void test_verifier_btf_ctx_access(void) { RUN(verifier_btf_ctx_access); } in test_verifier_btf_ctx_access()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/
Dvisl-dec.c37 __kernel_size_t buflen, struct visl_run *run) in visl_get_ref_frames() argument
55 vb2_buf = vb2_find_buffer(cap_q, run->fwht.params->backward_ref_ts); in visl_get_ref_frames()
58 run->fwht.params->backward_ref_ts, in visl_get_ref_frames()
67 b_ref = vb2_find_buffer(cap_q, run->mpeg2.pic->backward_ref_ts); in visl_get_ref_frames()
68 f_ref = vb2_find_buffer(cap_q, run->mpeg2.pic->forward_ref_ts); in visl_get_ref_frames()
73 run->mpeg2.pic->backward_ref_ts, in visl_get_ref_frames()
75 run->mpeg2.pic->forward_ref_ts, in visl_get_ref_frames()
85 last = vb2_find_buffer(cap_q, run->vp8.frame->last_frame_ts); in visl_get_ref_frames()
86 golden = vb2_find_buffer(cap_q, run->vp8.frame->golden_frame_ts); in visl_get_ref_frames()
87 alt = vb2_find_buffer(cap_q, run->vp8.frame->alt_frame_ts); in visl_get_ref_frames()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c83 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 …]
Ddebug_regs.c69 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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c91 struct kvm_run *run = (struct kvm_run *)arg; in race_events_inj_pen() local
92 struct kvm_vcpu_events *events = &run->s.regs.events; in race_events_inj_pen()
97 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_EVENTS); in race_events_inj_pen()
114 struct kvm_run *run = (struct kvm_run *)arg; in race_events_exc() local
115 struct kvm_vcpu_events *events = &run->s.regs.events; in race_events_exc()
118 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_EVENTS); in race_events_exc()
136 struct kvm_run *run = (struct kvm_run *)arg; in race_sregs_cr4() local
137 __u64 *cr4 = &run->s.regs.sregs.cr4; in race_sregs_cr4()
142 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_SREGS); in race_sregs_cr4()
161 struct kvm_run *run; in race_sync_regs() local
[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 …]
/kernel/linux/linux-5.10/arch/loongarch/kvm/
Demulate.c37 vcpu->run->exit_reason = KVM_EXIT_IRQ_WINDOW_OPEN; in _kvm_emu_idle()
50 struct kvm_run *run = vcpu->run; in _kvm_emu_mmio_write() local
53 void *data = run->mmio.data; in _kvm_emu_mmio_write()
65 run->mmio.phys_addr = vcpu->arch.badv; in _kvm_emu_mmio_write()
66 if (run->mmio.phys_addr == KVM_INVALID_ADDR) in _kvm_emu_mmio_write()
76 run->mmio.len = 8; in _kvm_emu_mmio_write()
80 run->mmio.len = 4; in _kvm_emu_mmio_write()
94 run->mmio.len = 8; in _kvm_emu_mmio_write()
98 run->mmio.len = 4; in _kvm_emu_mmio_write()
102 run->mmio.len = 2; in _kvm_emu_mmio_write()
[all …]
Dcsr.c300 int (*get) (struct kvm_run *run, struct kvm_vcpu *vcpu, u32 addr, u64 *res);
301 int (*set) (struct kvm_run *run, struct kvm_vcpu *vcpu, u32 addr, u64 val);
316 static int kvm_iocsr_common_get(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvm_iocsr_common_get() argument
332 static int kvm_iocsr_common_set(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvm_iocsr_common_set() argument
348 static int kvm_misc_set(struct kvm_run *run, struct kvm_vcpu *vcpu, u32 addr, in kvm_misc_set() argument
351 return kvm_iocsr_common_set(run, vcpu, addr, val); in kvm_misc_set()
354 static int kvm_ipi_get(struct kvm_run *run, struct kvm_vcpu *vcpu, u32 addr, in kvm_ipi_get() argument
360 run->mmio.phys_addr = KVM_IPI_REG_ADDRESS(vcpu->vcpu_id, (addr & 0xff)); in kvm_ipi_get()
361 ret = kvm_io_bus_read(vcpu, KVM_MMIO_BUS, run->mmio.phys_addr, in kvm_ipi_get()
362 run->mmio.len, res); in kvm_ipi_get()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c79 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-6.6/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 …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dmake10 # 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-6.6/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 …]
/kernel/linux/linux-6.6/tools/perf/tests/
Dmake10 # run only specific test over 'Makefile'
127 # $(run) contains all available tests
128 run := make_pure
129 # Targets 'clean all' can be run together only through top level
133 run += make_clean_all
138 run += make_python_perf_so
139 run += make_debug
140 run += make_nondistro
141 run += make_build_bpf_skel
142 run += make_gen_vmlinux_h
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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.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-6.6/arch/riscv/kvm/
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
226 * @run: The VCPU run struct containing the CSR data
230 int kvm_riscv_vcpu_csr_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_csr_return() argument
242 run->riscv_csr.ret_value); in kvm_riscv_vcpu_csr_return()
250 static int csr_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in csr_insn() argument
294 run->riscv_csr.csr_num = csr_num; in csr_insn()
295 run->riscv_csr.new_value = new_val; in csr_insn()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/mte/
Dcheck_mmap_options.c63 int run, result, map_size; in check_anonymous_memory_mapping() local
67 for (run = 0; run < item; run++) { in check_anonymous_memory_mapping()
68 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping()
74 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_anonymous_memory_mapping()
76 ptr = mte_insert_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
82 result = check_mte_memory(ptr, sizes[run], mode, tag_check); in check_anonymous_memory_mapping()
83 mte_clear_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping()
94 int run, fd, map_size; in check_file_memory_mapping() local
99 for (run = 0; run < total; run++) { in check_file_memory_mapping()
104 map_size = sizes[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping()
[all …]
/kernel/linux/linux-6.6/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 …]

12345678910>>...281