Searched refs:access_rw (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/arch/arm64/kvm/ |
D | sys_regs.c | 181 static bool access_rw(struct kvm_vcpu *vcpu, in access_rw() function 482 access_rw(vcpu, p, r); in trap_debug_regs() 2135 { SYS_DESC(SYS_VBAR_EL1), access_rw, reset_val, VBAR_EL1, 0 }, 2362 EL2_REG(VPIDR_EL2, access_rw, reset_unknown, 0), 2363 EL2_REG(VMPIDR_EL2, access_rw, reset_unknown, 0), 2364 EL2_REG(SCTLR_EL2, access_rw, reset_val, SCTLR_EL2_RES1), 2365 EL2_REG(ACTLR_EL2, access_rw, reset_val, 0), 2366 EL2_REG(HCR_EL2, access_rw, reset_val, 0), 2367 EL2_REG(MDCR_EL2, access_rw, reset_val, 0), 2368 EL2_REG(CPTR_EL2, access_rw, reset_val, CPTR_NVHE_EL2_RES1), [all …]
|
/linux-6.6.21/tools/testing/selftests/iommu/ |
D | iommufd_fail_nth.c | 381 TEST_FAIL_NTH(basic_fail_nth, access_rw) in TEST_FAIL_NTH() argument 413 .access_rw = { .iova = iova, in TEST_FAIL_NTH() 423 access_cmd.access_rw.flags = MOCK_ACCESS_RW_WRITE; in TEST_FAIL_NTH() 428 access_cmd.access_rw.flags = MOCK_ACCESS_RW_SLOW_PATH; in TEST_FAIL_NTH() 432 access_cmd.access_rw.flags = MOCK_ACCESS_RW_SLOW_PATH | in TEST_FAIL_NTH() 444 .access_rw = { .iova = iova, in TEST_FAIL_NTH()
|
D | iommufd.c | 771 .access_rw = { .uptr = (uintptr_t)tmp }, in check_access_rw() 780 for (access_cmd.access_rw.iova = iova + PAGE_SIZE - 50; in check_access_rw() 781 access_cmd.access_rw.iova < iova + PAGE_SIZE + 50; in check_access_rw() 782 access_cmd.access_rw.iova++) { in check_access_rw() 783 for (access_cmd.access_rw.length = 1; in check_access_rw() 784 access_cmd.access_rw.length < sizeof(tmp); in check_access_rw() 785 access_cmd.access_rw.length++) { in check_access_rw() 786 access_cmd.access_rw.flags = def_flags; in check_access_rw() 792 memcmp(buffer + (access_cmd.access_rw.iova - in check_access_rw() 794 tmp, access_cmd.access_rw.length)); in check_access_rw() [all …]
|
/linux-6.6.21/drivers/iommu/iommufd/ |
D | iommufd_test.h | 91 } access_rw; member
|
D | selftest.c | 958 &cmd->access_rw.iova); in iommufd_test_access_rw() 1030 ucmd, cmd->id, cmd->access_rw.iova, in iommufd_test() 1031 cmd->access_rw.length, in iommufd_test() 1032 u64_to_user_ptr(cmd->access_rw.uptr), in iommufd_test() 1033 cmd->access_rw.flags); in iommufd_test()
|