| /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 …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | sync_regs_test.c | 92 struct kvm_run *run = (struct kvm_run *)arg; in race_events_inj_pen() local 93 struct kvm_vcpu_events *events = &run->s.regs.events; in race_events_inj_pen() 98 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_EVENTS); in race_events_inj_pen() 115 struct kvm_run *run = (struct kvm_run *)arg; in race_events_exc() local 116 struct kvm_vcpu_events *events = &run->s.regs.events; in race_events_exc() 119 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_EVENTS); in race_events_exc() 137 struct kvm_run *run = (struct kvm_run *)arg; in race_sregs_cr4() local 138 __u64 *cr4 = &run->s.regs.sregs.cr4; in race_sregs_cr4() 143 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_SREGS); in race_sregs_cr4() 161 struct kvm_run *run; in race_sync_regs() local 210 struct kvm_run *run = vcpu->run; KVM_ONE_VCPU_TEST() local 231 struct kvm_run *run = vcpu->run; KVM_ONE_VCPU_TEST() local 252 struct kvm_run *run = vcpu->run; KVM_ONE_VCPU_TEST() local 275 struct kvm_run *run = vcpu->run; KVM_ONE_VCPU_TEST() local 313 struct kvm_run *run = vcpu->run; KVM_ONE_VCPU_TEST() local 330 struct kvm_run *run = vcpu->run; KVM_ONE_VCPU_TEST() local 361 struct kvm_run *run = vcpu->run; KVM_ONE_VCPU_TEST() local [all...] |
| H A D | debug_regs.c | 149 struct kvm_run *run; in main() 167 run = vcpu->run; in main() 174 TEST_ASSERT(run->exit_reason == KVM_EXIT_DEBUG && in main() 175 run->debug.arch.exception == BP_VECTOR && in main() 176 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main() 178 run->exit_reason, run->debug.arch.exception, in main() 179 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main() 191 TEST_ASSERT(run in main() 86 struct kvm_run *run; main() local [all...] |
| H A D | userspace_msr_exit_test.c | 388 if (vcpu->run->exit_reason == KVM_EXIT_IO && in check_for_guest_assert() 396 struct kvm_run *run = vcpu->run; in process_rdmsr() local 401 TEST_ASSERT(run->msr.index == msr_index, in process_rdmsr() 403 run->msr.index, msr_index); in process_rdmsr() 405 switch (run->msr.index) { in process_rdmsr() 407 run->msr.data = 0; in process_rdmsr() 410 run->msr.error = 1; in process_rdmsr() 413 run->msr.data = msr_non_existent_data; in process_rdmsr() 416 run->msr.data = MSR_FS_BASE; in process_rdmsr() 419 run->msr.data = MSR_GS_BASE; in process_rdmsr() [all …]
|
| H A D | hyperv_extended_hypercalls.c | 41 struct kvm_run *run; in main() local 56 run = vcpu->run; in main() 72 TEST_ASSERT(run->exit_reason == KVM_EXIT_HYPERV, in main() 74 run->exit_reason, exit_reason_str(run->exit_reason)); in main() 76 outval = addr_gpa2hva(vm, run->hyperv.u.hcall.params[1]); in main() 78 run->hyperv.u.hcall.result = HV_STATUS_SUCCESS; in main() 82 TEST_ASSERT(run->exit_reason == KVM_EXIT_IO, in main() 84 run->exit_reason, exit_reason_str(run->exit_reason)); in main()
|
| H A D | flds_emulation.h | 22 struct kvm_run *run = vcpu->run; in handle_flds_emulation_failure_exit() local 29 TEST_ASSERT(run->emulation_failure.suberror == KVM_INTERNAL_ERROR_EMULATION, in handle_flds_emulation_failure_exit() 31 run->emulation_failure.suberror); in handle_flds_emulation_failure_exit() 33 flags = run->emulation_failure.flags; in handle_flds_emulation_failure_exit() 34 TEST_ASSERT(run->emulation_failure.ndata >= 3 && in handle_flds_emulation_failure_exit() 38 TEST_ASSERT(run->emulation_failure.insn_size >= 2, in handle_flds_emulation_failure_exit() 40 run->emulation_failure.insn_size); in handle_flds_emulation_failure_exit() 42 insn_bytes = run->emulation_failure.insn_bytes; in handle_flds_emulation_failure_exit()
|
| /linux/fs/ntfs3/ |
| H A D | run.c | 35 static bool run_lookup(const struct runs_tree *run, CLST vcn, size_t *index) in run_lookup() argument 40 if (!run->count) { in run_lookup() 46 max_idx = run->count - 1; in run_lookup() 49 r = run->runs; in run_lookup() 62 *index = run->count; in run_lookup() 73 r = run->runs + mid_idx; in run_lookup() 94 static void run_consolidate(struct runs_tree *run, size_t index) in run_consolidate() argument 97 struct ntfs_run *r = run->runs + index; in run_consolidate() 99 while (index + 1 < run->count) { in run_consolidate() 155 i = run->count - (index + 1); in run_consolidate() [all …]
|
| H A D | ntfs_fs.h | 155 struct runs_tree run; 409 struct runs_tree run; 428 struct runs_tree run; 465 int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run, 472 struct runs_tree *run, struct ATTRIB **ins_attr, 475 const __le16 *name, u8 name_len, struct runs_tree *run, 480 struct runs_tree *run, u64 new_size, in attr_set_size() 483 return attr_set_size_ex(ni, type, name, name_len, run, new_size, in attr_set_size() 494 const __le16 *name, u8 name_len, struct runs_tree *run, 497 const __le16 *name, u8 name_len, struct runs_tree *run, 153 struct runs_tree run; global() member 407 struct runs_tree run; global() member 426 struct runs_tree run; global() member 478 attr_set_size(struct ntfs_inode * ni,enum ATTR_TYPE type,const __le16 * name,u8 name_len,struct runs_tree * run,u64 new_size,const u64 * new_valid,bool keep_prealloc) attr_set_size() argument 688 ntfs_read_run_nb(struct ntfs_sb_info * sbi,const struct runs_tree * run,u64 vbo,void * buf,u32 bytes,struct ntfs_buffers * nb) ntfs_read_run_nb() argument 698 ntfs_read_bh(struct ntfs_sb_info * sbi,const struct runs_tree * run,u64 vbo,struct NTFS_RECORD_HEADER * rhdr,u32 bytes,struct ntfs_buffers * nb) ntfs_read_bh() argument 711 ntfs_read_run(struct ntfs_sb_info * sbi,const struct runs_tree * run,void * buf,u64 vbo,size_t bytes) ntfs_read_run() argument 717 ntfs_write_run(struct ntfs_sb_info * sbi,const struct runs_tree * run,void * buf,u64 vbo,size_t bytes) ntfs_write_run() argument 1023 run_init(struct runs_tree * run) run_init() argument 1035 run_close(struct runs_tree * run) run_close() argument 1041 run_free(struct runs_tree * run) run_free() argument 1049 run_is_empty(struct runs_tree * run) run_is_empty() argument 1275 attr_load_runs_attr(struct ntfs_inode * ni,struct ATTRIB * attr,struct runs_tree * run,CLST vcn) attr_load_runs_attr() argument [all...] |
| H A D | attrib.c | 62 struct runs_tree *run, const CLST *vcn) in attr_load_runs() 75 if (svcn >= evcn + 1 || run_is_mapped_full(run, svcn, evcn)) in attr_load_runs() 87 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, in attr_load_runs() 99 static int run_deallocate_ex(struct ntfs_sb_info *sbi, struct runs_tree *run, in run_deallocate_ex() 110 if (!run_lookup_entry(run, vcn, &lcn, &clen, &idx)) { in run_deallocate_ex() 112 run_truncate(run, vcn0); in run_deallocate_ex() 149 if (!run_get_entry(run, ++idx, &vcn, &lcn, &clen) || in run_deallocate_ex() 151 /* Save memory - don't load entire run. */ in run_deallocate_ex() 164 * attr_allocate_clusters - Find free space, mark it as used and store in @run. in attr_allocate_clusters() 166 int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run, in attr_allocate_clusters() 61 attr_load_runs(struct ATTRIB * attr,struct ntfs_inode * ni,struct runs_tree * run,const CLST * vcn) attr_load_runs() argument 93 run_deallocate_ex(struct ntfs_sb_info * sbi,struct runs_tree * run,CLST vcn,CLST len,CLST * done,bool trim,struct runs_tree * run_da) run_deallocate_ex() argument 160 attr_allocate_clusters(struct ntfs_sb_info * sbi,struct runs_tree * run,struct runs_tree * run_da,CLST vcn,CLST lcn,CLST len,CLST * pre_alloc,enum ALLOCATE_OPT opt,CLST * alen,const size_t fr,CLST * new_lcn,CLST * new_len) attr_allocate_clusters() argument 256 attr_make_nonresident(struct ntfs_inode * ni,struct ATTRIB * attr,struct ATTR_LIST_ENTRY * le,struct mft_inode * mi,u64 new_size,struct runs_tree * run,struct ATTRIB ** ins_attr,struct page * page) attr_make_nonresident() argument 384 attr_set_size_res(struct ntfs_inode * ni,struct ATTRIB * attr,struct ATTR_LIST_ENTRY * le,struct mft_inode * mi,u64 new_size,struct runs_tree * run,struct ATTRIB ** ins_attr) attr_set_size_res() argument 431 attr_set_size_ex(struct ntfs_inode * ni,enum ATTR_TYPE type,const __le16 * name,u8 name_len,struct runs_tree * run,u64 new_size,const u64 * new_valid,bool keep_prealloc,struct ATTRIB ** ret,bool no_da) attr_set_size_ex() argument 997 struct runs_tree *run = &ni->file.run; attr_data_get_block_locked() local 1440 attr_load_runs_vcn(struct ntfs_inode * ni,enum ATTR_TYPE type,const __le16 * name,u8 name_len,struct runs_tree * run,CLST vcn) attr_load_runs_vcn() argument 1483 attr_load_runs_range(struct ntfs_inode * ni,enum ATTR_TYPE type,const __le16 * name,u8 name_len,struct runs_tree * run,u64 from,u64 to) attr_load_runs_range() argument 1521 attr_wof_frame_info(struct ntfs_inode * ni,struct ATTRIB * attr,struct runs_tree * run,u64 frame,u64 frames,u8 frame_bits,u32 * ondisk_size,u64 * vbo_data) attr_wof_frame_info() argument 1675 attr_is_frame_compressed(struct ntfs_inode * ni,struct ATTRIB * attr,CLST frame,CLST * clst_data,struct runs_tree * run) attr_is_frame_compressed() argument 1780 struct runs_tree *run = &ni->file.run; attr_allocate_frame() local 2012 struct runs_tree *run = &ni->file.run; attr_collapse_range() local 2307 struct runs_tree *run = &ni->file.run; attr_punch_hole() local 2530 struct runs_tree *run = &ni->file.run; attr_insert_range() local [all...] |
| /linux/tools/perf/tests/ |
| H A D | make | 10 # run only specific test over 'Makefile' 145 # $(run) contains all available tests 146 run := make_pure 147 # Targets 'clean all' can be run together only through top level 151 run += make_clean_all 156 run += make_python_perf_so 157 run += make_debug 159 run += make_nondistro 162 run += make_nondistro_no_demangle 167 run [all...] |
| /linux/drivers/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec-hevc-common.c | 36 void compute_tiles_uniform(struct rkvdec_hevc_run *run, u16 log2_min_cb_size, in compute_tiles_uniform() argument 40 const struct v4l2_ctrl_hevc_pps *pps = run->pps; in compute_tiles_uniform() 58 void compute_tiles_non_uniform(struct rkvdec_hevc_run *run, u16 log2_min_cb_size, in compute_tiles_non_uniform() argument 62 const struct v4l2_ctrl_hevc_pps *pps = run->pps; in compute_tiles_non_uniform() 137 struct rkvdec_hevc_run *run, in rkvdec_hevc_assemble_hw_scaling_list() argument 141 const struct v4l2_ctrl_hevc_scaling_matrix *scaling = run->scaling_matrix; in rkvdec_hevc_assemble_hw_scaling_list() 153 static void rkvdec_hevc_assemble_hw_lt_rps(struct rkvdec_hevc_run *run, struct rkvdec_rps *rps) in rkvdec_hevc_assemble_hw_lt_rps() argument 155 const struct v4l2_ctrl_hevc_sps *sps = run->sps; in rkvdec_hevc_assemble_hw_lt_rps() 157 if (!run->ext_sps_lt_rps) in rkvdec_hevc_assemble_hw_lt_rps() 162 run->ext_sps_lt_rps[i].lt_ref_pic_poc_lsb_sps); in rkvdec_hevc_assemble_hw_lt_rps() [all …]
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | coalesced_io_test.c | 78 struct kvm_run *run = vcpu->run; in vcpu_run_and_verify_io_exit() local 90 if (run->exit_reason == KVM_EXIT_IO) in vcpu_run_and_verify_io_exit() 91 pio_value = *(u32 *)((void *)run + run->io.data_offset); in vcpu_run_and_verify_io_exit() 95 TEST_ASSERT((!want_pio && (run->exit_reason == KVM_EXIT_MMIO && run->mmio.is_write && in vcpu_run_and_verify_io_exit() 96 run->mmio.phys_addr == io->mmio_gpa && run->mmio.len == 8 && in vcpu_run_and_verify_io_exit() 97 *(u64 *)run->mmio.data == io->mmio_gpa + io->ring_size - 1)) || in vcpu_run_and_verify_io_exit() 98 (want_pio && (run->exit_reason == KVM_EXIT_IO && run->io.port == io->pio_port && in vcpu_run_and_verify_io_exit() 99 run->io.direction == KVM_EXIT_IO_OUT && run->io.count == 1 && in vcpu_run_and_verify_io_exit() 106 (want_pio ? io->pio_port : io->mmio_gpa) + io->ring_size - 1, run->exit_reason, in vcpu_run_and_verify_io_exit() 107 … run->exit_reason == KVM_EXIT_MMIO ? "MMIO" : run->exit_reason == KVM_EXIT_IO ? "PIO" : "other", in vcpu_run_and_verify_io_exit() [all …]
|
| H A D | set_memory_region_test.c | 55 struct kvm_run *run = vcpu->run; in vcpu_worker() local 67 if (run->exit_reason == KVM_EXIT_IO) { in vcpu_worker() 76 if (run->exit_reason != KVM_EXIT_MMIO) in vcpu_worker() 79 TEST_ASSERT(!run->mmio.is_write, "Unexpected exit mmio write"); in vcpu_worker() 80 TEST_ASSERT(run->mmio.len == 8, in vcpu_worker() 81 "Unexpected exit mmio size = %u", run->mmio.len); in vcpu_worker() 83 TEST_ASSERT(run->mmio.phys_addr == MEM_REGION_GPA, in vcpu_worker() 85 run->mmio.phys_addr); in vcpu_worker() 86 memcpy(run in vcpu_worker() 277 struct kvm_run *run; test_delete_memory_region() local 571 struct kvm_run *run; test_mmio_during_vectoring() local [all...] |
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | ucontrol_test.c | 108 struct kvm_run *run; in FIXTURE() local 145 self->run = kvm_mmap(self->kvm_run_size, PROT_READ | PROT_WRITE, in FIXTURE_SETUP() 157 TH_LOG("VM created %p %p", self->run, self->sie_block); in FIXTURE_SETUP() 188 kvm_munmap(self->run, self->kvm_run_size); in FIXTURE_TEARDOWN() 306 struct kvm_run *run = self->run; in uc_handle_exit_ucontrol() local 310 TEST_ASSERT_EQ(KVM_EXIT_S390_UCONTROL, run->exit_reason); in uc_handle_exit_ucontrol() 311 switch (run->s390_ucontrol.pgm_code) { in uc_handle_exit_ucontrol() 313 seg_addr = run->s390_ucontrol.trans_exc_code & ~(SZ_1M - 1); in uc_handle_exit_ucontrol() 315 run->s390_ucontrol.trans_exc_code, seg_addr); in uc_handle_exit_ucontrol() 321 TEST_FAIL("UNEXPECTED PGM CODE %d", run->s390_ucontrol.pgm_code); in uc_handle_exit_ucontrol() [all …]
|
| H A D | user_operexec.c | 34 TEST_ASSERT_EQ(vcpu->run->s390_sieic.icptcode, ICPT_OPEREXC); in test_user_instr0() 35 TEST_ASSERT_EQ(vcpu->run->s390_sieic.ipa, 0); in test_user_instr0() 57 TEST_ASSERT_EQ(vcpu->run->s390_sieic.icptcode, ICPT_OPEREXC); in test_user_operexec() 58 TEST_ASSERT_EQ(vcpu->run->s390_sieic.ipa, 0x0807); in test_user_operexec() 72 TEST_ASSERT_EQ(vcpu->run->s390_sieic.icptcode, ICPT_OPEREXC); in test_user_operexec() 73 TEST_ASSERT_EQ(vcpu->run->s390_sieic.ipa, 0); in test_user_operexec() 93 TEST_ASSERT_EQ(vcpu->run->s390_sieic.icptcode, ICPT_OPEREXC); in test_user_operexec_combined() 94 TEST_ASSERT_EQ(vcpu->run->s390_sieic.ipa, 0x0807); in test_user_operexec_combined() 107 TEST_ASSERT_EQ(vcpu->run->s390_sieic.icptcode, ICPT_OPEREXC); in test_user_operexec_combined() 108 TEST_ASSERT_EQ(vcpu->run->s390_sieic.ipa, 0x0807); in test_user_operexec_combined() [all …]
|
| /linux/arch/mips/kvm/ |
| H A D | emulate.c | 962 vcpu->run->exit_reason = KVM_EXIT_IRQ_WINDOW_OPEN; in kvm_mips_emul_wait() 975 struct kvm_run *run = vcpu->run; in kvm_mips_emulate_store() local 976 void *data = run->mmio.data; in kvm_mips_emulate_store() 991 run->mmio.phys_addr = kvm_mips_callbacks->gva_to_gpa( in kvm_mips_emulate_store() 993 if (run->mmio.phys_addr == KVM_INVALID_ADDR) in kvm_mips_emulate_store() 999 run->mmio.len = 8; in kvm_mips_emulate_store() 1009 run->mmio.len = 4; in kvm_mips_emulate_store() 1018 run->mmio.len = 2; in kvm_mips_emulate_store() 1027 run->mmio.len = 1; in kvm_mips_emulate_store() 1036 run->mmio.phys_addr = kvm_mips_callbacks->gva_to_gpa( in kvm_mips_emulate_store() [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | stat-cpi.py | |
| /linux/arch/arm64/kvm/ |
| H A D | mmio.c | 126 struct kvm_run *run = vcpu->run; in kvm_handle_mmio_return() 129 data = kvm_mmio_read_buf(run->mmio.data, len); in kvm_handle_mmio_return() 131 trace_kvm_mmio(KVM_TRACE_MMIO_READ, len, run->mmio.phys_addr, in kvm_handle_mmio_return() 158 struct kvm_run *run = vcpu->run; in io_mem_abort() 185 run->exit_reason = KVM_EXIT_ARM_NISV; in io_mem_abort() 186 run->arm_nisv.esr_iss = kvm_vcpu_dabt_iss_nisv_sanitized(vcpu); in io_mem_abort() 187 run->arm_nisv.fault_ipa = fault_ipa; in io_mem_abort() 209 run in io_mem_abort() 124 struct kvm_run *run = vcpu->run; kvm_handle_mmio_return() local 156 struct kvm_run *run = vcpu->run; io_mem_abort() local [all...] |
| /linux/fs/befs/ |
| H A 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 …]
|
| H A 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() 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() 105 err = befs_find_brun_indirect(sb, data, fblock, run); in befs_fblock2brun() 108 err = befs_find_brun_dblindirect(sb, data, fblock, run); in befs_fblock2brun() [all …]
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_child_memory.c | 87 int run, result; in check_child_memory_mapping() local 92 for (run = 0; run < item; run++) { in check_child_memory_mapping() 93 ptr = (char *)mte_allocate_memory_tag_range(sizes[run], mem_type, mapping, in check_child_memory_mapping() 95 if (check_allocated_memory_range(ptr, sizes[run], mem_type, in check_child_memory_mapping() 98 result = check_child_tag_inheritance(ptr, sizes[run], mode); in check_child_memory_mapping() 99 mte_free_memory_tag_range((void *)ptr, sizes[run], mem_type, UNDERFLOW, OVERFLOW); in check_child_memory_mapping() 109 int run, fd, map_size, result = KSFT_PASS; in check_child_file_mapping() local 113 for (run = 0; run < total; run++) { in check_child_file_mapping() 118 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_child_file_mapping() 125 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_child_file_mapping() [all …]
|
| H A D | check_tags_inclusion.c | 52 int tag, run, ret, result = KSFT_PASS; in check_single_included_tags() local 64 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_single_included_tags() 84 int tag, run, result = KSFT_PASS; in check_multiple_included_tags() local 96 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_multiple_included_tags() 116 int run, ret, result = KSFT_PASS; in check_all_included_tags() local 127 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_all_included_tags() 142 int run, ret; in check_none_included_tags() local 152 for (run = 0; run < RUNS; run++) { in check_none_included_tags()
|
| /linux/tools/testing/selftests/kvm/lib/s390/ |
| H A D | diag318_test_handler.c | 30 struct kvm_run *run; in diag318_handler() local 36 run = vcpu->run; in diag318_handler() 39 TEST_ASSERT(run->s390_sieic.icptcode == ICPT_INSTRUCTION, in diag318_handler() 40 "Unexpected intercept code: 0x%x", run->s390_sieic.icptcode); in diag318_handler() 41 TEST_ASSERT((run->s390_sieic.ipa & 0xff00) == IPA0_DIAG, in diag318_handler() 42 "Unexpected IPA0 code: 0x%x", (run->s390_sieic.ipa & 0xff00)); in diag318_handler() 44 reg = (run->s390_sieic.ipa & 0x00f0) >> 4; in diag318_handler() 45 diag318_info = run->s.regs.gprs[reg]; in diag318_handler()
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | psci_test.c | 180 struct kvm_run *run; in host_test_system_suspend() local 187 run = source->run; in host_test_system_suspend() 192 TEST_ASSERT(run->system_event.type == KVM_SYSTEM_EVENT_SUSPEND, in host_test_system_suspend() 194 run->system_event.type, KVM_SYSTEM_EVENT_SUSPEND); in host_test_system_suspend() 241 struct kvm_run *run; in host_test_system_off2() local 254 run = source->run; in host_test_system_off2() 257 while (run->exit_reason == KVM_EXIT_SYSTEM_EVENT) { in host_test_system_off2() 258 TEST_ASSERT(run->system_event.type == KVM_SYSTEM_EVENT_SHUTDOWN, in host_test_system_off2() 260 run->system_event.type, KVM_SYSTEM_EVENT_SHUTDOWN); in host_test_system_off2() 261 TEST_ASSERT(run->system_event.ndata >= 1, in host_test_system_off2() [all …]
|
| /linux/fs/jbd2/ |
| H A D | commit.c | 471 stats.run.rs_wait = commit_transaction->t_max_wait; in jbd2_journal_commit_transaction() 472 stats.run.rs_request_delay = 0; in jbd2_journal_commit_transaction() 473 stats.run.rs_locked = jiffies; in jbd2_journal_commit_transaction() 475 stats.run.rs_request_delay = in jbd2_journal_commit_transaction() 477 stats.run.rs_locked); in jbd2_journal_commit_transaction() 478 stats.run.rs_running = jbd2_time_diff(commit_transaction->t_start, in jbd2_journal_commit_transaction() 479 stats.run.rs_locked); in jbd2_journal_commit_transaction() 554 stats.run.rs_flushing = jiffies; in jbd2_journal_commit_transaction() 555 stats.run.rs_locked = jbd2_time_diff(stats.run.rs_locked, in jbd2_journal_commit_transaction() 556 stats.run.rs_flushing); in jbd2_journal_commit_transaction() [all …]
|