/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | verifier.c | 113 #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 …]
|
/openbmc/linux/tools/testing/selftests/sgx/ |
H A D | main.c | 172 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 …]
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A D | visl-dec.c | 37 __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 …]
|
/openbmc/linux/tools/testing/selftests/kvm/s390x/ |
H A D | sync_regs_test.c | 78 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 …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | sync_regs_test.c | 91 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 …]
|
H A D | debug_regs.c | 83 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 …]
|
/openbmc/u-boot/include/configs/ |
H A D | nokia_rx51.h | 187 "sercon=setenv con serial; run setcon\0" \ 188 "usbcon=setenv con usbtty; run setcon\0" \ 189 "vgacon=setenv con vga; run setcon\0" \ 199 "run fileload\0" \ 202 "run fileload\0" \ 205 "run fileload\0" \ 216 "trymmcscriptboot=if run switchmmc; then " \ 217 "if run scriptload; then " \ 218 "run scriptboot;" \ 221 "trymmckernboot=if run switchmmc; then " \ [all …]
|
H A D | omap3_logic.h | 75 "if run loadbootscript; then " \ 76 "run bootscript; " \ 78 "run defaultboot;" \ 80 "else run defaultboot; fi\0" \ 81 "defaultboot=run mmcramboot\0" \ 91 "common_bootargs=run setconsole; setenv bootargs " \ 96 "run vrfb_arg\0" \ 123 "run mmcargs; " \ 124 "run common_bootargs; " \ 125 "run dump_bootargs; " \ [all …]
|
H A D | theadorable-x86-common.h | 47 "then run eth_init;else sleep 0;fi\0" \ 62 "then run swupdate;" \ 63 "else run yocto_boot;run swupdate;" \ 67 "setroot_ubuntu=setenv partnr ${ubuntu_part};run setroot\0" \ 68 "setroot_yocto=setenv partnr ${yocto_part};run setroot\0" \ 77 "ubuntu_boot=run setroot_ubuntu ubuntu_args_quiet " \ 79 "ubuntu_boot_console=run setroot_ubuntu ubuntu_args " \ 82 "net_boot=run start_eth setroot_ubuntu net_args " \ 87 "run boot\0" \ 92 "yocto_boot=run setroot_yocto yocto_args addmtd addmisc " \ [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | Makefile.target | 28 run-float_%: float_% 29 $(call run-test,$<, $(QEMU) $(QEMU_OPTS) $<) 51 run-vma-pthread: vma-pthread 53 run-plugin-vma-pthread-with-%: vma-pthread 57 run-test-mmap: test-mmap 58 $(call run-test, test-mmap, $(QEMU) $<, $< (default)) 61 GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py 63 run-gdbstub-sha1: sha1 64 $(call run-test, $@, $(GDB_SCRIPT) \ 70 run-gdbstub-qxfer-auxv-read: sha1 [all …]
|
/openbmc/linux/fs/ntfs3/ |
H A D | run.c | 34 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 …]
|
/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_dec.c | 29 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 …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | make | 10 # 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 …]
|
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/ |
H A D | smack.py | 20 status, output = cls.tc.target.run("grep smack /proc/mounts | awk '{print $2}'") 28 status,output = self.target.run("cat /proc/self/attr/current") 35 self.target.run("touch %s" %filename) 36 status, output = self.target.run("chsmack -a %s %s" %(LABEL, filename)) 41 status, output = self.target.run("chsmack %s" %filename) 42 self.target.run("rm %s" %filename) 58 self.target.run("touch %s" %filename) 59 status, output = self.target.run("chsmack -e %s %s" %(LABEL, filename)) 64 status, output = self.target.run("chsmack %s" %filename) 65 self.target.run("rm %s" %filename) [all …]
|
/openbmc/linux/tools/testing/ktest/examples/ |
H A 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 …]
|
/openbmc/openbmc-test-automation/data/boot_lists/ |
H A D | OBMC_reboot | 3 OBMC Reboot (run) 4 OBMC Reboot (run) (mfg) 5 REST OBMC Reboot (run) 6 REST OBMC Reboot (run) (mfg) 7 Redfish OBMC Reboot (run) 8 Redfish OBMC Reboot (run) (mfg) 15 PDU AC Cycle (run) 16 PDU AC Cycle (run) (mfg) 19 IPMI MC Reset Warm (run) 20 IPMI MC Reset Warm (run) (mfg) [all …]
|
H A D | All | 25 OBMC Reboot (run) 26 OBMC Reboot (run) (mfg) 27 REST OBMC Reboot (run) 28 REST OBMC Reboot (run) (mfg) 29 Redfish OBMC Reboot (run) 30 Redfish OBMC Reboot (run) (mfg) 37 PDU AC Cycle (run) 38 PDU AC Cycle (run) (mfg) 41 IPMI MC Reset Warm (run) 42 IPMI MC Reset Warm (run) (mfg) [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_user.robot | 43 [Teardown] Run Keywords FFDC On Test Case Fail AND 50 Run IPMI Standard Command user enable ${random_userid} 64 [Teardown] Run Keywords FFDC On Test Case Fail AND 70 Run IPMI Standard Command 72 Run IPMI Standard Command user enable ${random_userid} 94 [Teardown] Run Keywords FFDC On Test Case Fail AND 107 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command 123 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command 133 [Teardown] Run Keywords FFDC On Test Case Fail AND 140 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command [all …]
|
H A D | test_ipmi_disable.robot | 15 [Teardown] Run Keywords FFDC On Test Case Fail 16 ... AND Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access on 19 Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access off 20 Run Keyword and Expect Error *Unable to establish IPMI* 21 ... Run External IPMI Standard Command lan print ${CHANNEL_NUMBER} 24 Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access on 35 [Teardown] Run Keywords FFDC On Test Case Fail 36 ... AND Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access on 39 ${resp}= Run Keyword and Ignore Error 40 ... Run External IPMI Standard Command lan set ${CHANNEL_NUMBER} access off [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/elfutils/files/ |
H A D | 0001-skip-the-test-when-gcc-not-deployed.patch | 13 tests/run-disasm-x86-64.sh | 2 ++ 14 tests/run-disasm-x86.sh | 2 ++ 15 tests/run-strip-g.sh | 2 ++ 16 tests/run-strip-nothing.sh | 2 ++ 19 diff --git a/tests/run-disasm-x86-64.sh b/tests/run-disasm-x86-64.sh 21 --- a/tests/run-disasm-x86-64.sh 22 +++ b/tests/run-disasm-x86-64.sh 32 diff --git a/tests/run-disasm-x86.sh b/tests/run-disasm-x86.sh 34 --- a/tests/run-disasm-x86.sh 35 +++ b/tests/run-disasm-x86.sh [all …]
|
/openbmc/openbmc-test-automation/systest/ |
H A D | htx_softbootme_test.robot | 10 # HTX_DURATION Duration of HTX run, for example, 2h, or 30m. 21 Suite Setup Run Keyword And Ignore Error Start SOL Console Logging 43 # Run test 44 Repeat Keyword ${HTX_LOOP} times Run HTX Soft Bootme Exerciser 50 Run HTX Soft Bootme Exerciser 51 [Documentation] Run HTX Soft Bootme Exerciser. 55 # - Run HTX exerciser. 77 Run Keyword If '${HTX_MDT_PROFILE}' == 'mdt.bu' 80 Run MDT Profile 82 Run Soft Bootme ${BOOTME_PERIOD} [all …]
|
H A D | htx_hardbootme_test.robot | 10 # HTX_DURATION Duration of HTX run, for example, 2h, or 30m. 14 # In summary: Run HTX for $HTX_DURATION, looping 21 # and after each HTX run will be disabled. This 25 # snapshots taken before and after each HTX run will 50 Suite Setup Run Keyword And Ignore Error Start SOL Console Logging 84 Run Keyword If '${PREV_INV_FILE_PATH}' != 'NONE' 106 Repeat Keyword ${HTX_LOOP} times Run HTX Exerciser 112 Run HTX Exerciser 113 [Documentation] Run HTX exerciser. 118 # previous inventory run if applicable. [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_utils.robot | 20 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 23 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} 29 ... Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 32 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device GUID']['Get'][0]} 35 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_ip'][0]} 38 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_ip_src'][0]} 41 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_dot1q'][0]} 44 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['SDR_Info']['get'][0]} 47 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Chassis_status']['get'][0]} 50 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['SEL_Info']['get'][0]} [all …]
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_insn.c | 148 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 …]
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | Makefile.softmmu-target | 62 run-semiconsole: QEMU_OPTS=$(QEMU_BASE_MACHINE) $(QEMU_SEMIHOST) -kernel 63 run-semiconsole: semiconsole 65 $(if $(V),@printf " %-7s %s %s\n" "TO RUN" $(notdir $(QEMU)) "$(QEMU_OPTS) $<") 66 run-plugin-semiconsole-with-%: semiconsole 71 run-vtimer: QEMU_OPTS=$(QEMU_EL2_MACHINE) $(QEMU_BASE_ARGS) -kernel 75 run-memory-record: memory-record memory 76 $(call run-test, $<, \ 83 run-memory-replay: memory-replay run-memory-record 84 $(call run-test, $<, \ 90 EXTRA_RUNS+=run-memory-replay [all …]
|