Home
last modified time | relevance | path

Searched refs:access_rw (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c420 TEST_FAIL_NTH(basic_fail_nth, access_rw) in TEST_FAIL_NTH() argument
452 .access_rw = { .iova = iova, in TEST_FAIL_NTH()
462 access_cmd.access_rw.flags = MOCK_ACCESS_RW_WRITE; in TEST_FAIL_NTH()
467 access_cmd.access_rw.flags = MOCK_ACCESS_RW_SLOW_PATH; in TEST_FAIL_NTH()
471 access_cmd.access_rw.flags = MOCK_ACCESS_RW_SLOW_PATH | in TEST_FAIL_NTH()
483 .access_rw = { .iova = iova, in TEST_FAIL_NTH()
H A Diommufd.c1215 .access_rw = { .uptr = (uintptr_t)tmp }, in check_access_rw()
1224 for (access_cmd.access_rw.iova = iova + PAGE_SIZE - 50; in check_access_rw()
1225 access_cmd.access_rw.iova < iova + PAGE_SIZE + 50; in check_access_rw()
1226 access_cmd.access_rw.iova++) { in check_access_rw()
1227 for (access_cmd.access_rw.length = 1; in check_access_rw()
1228 access_cmd.access_rw.length < sizeof(tmp); in check_access_rw()
1229 access_cmd.access_rw.length++) { in check_access_rw()
1230 access_cmd.access_rw.flags = def_flags; in check_access_rw()
1236 memcmp(buffer + (access_cmd.access_rw.iova - in check_access_rw()
1238 tmp, access_cmd.access_rw.length)); in check_access_rw()
[all …]
/linux/arch/arm64/kvm/
H A Dsys_regs.c361 static bool access_rw(struct kvm_vcpu *vcpu, in access_rw() function
655 access_rw(vcpu, p, r); in trap_debug_regs()
2729 { SYS_DESC(SYS_VBAR_EL1), access_rw, reset_val, VBAR_EL1, 0 },
2983 EL2_REG(SCTLR_EL2, access_rw, reset_val, SCTLR_EL2_RES1),
2984 EL2_REG(ACTLR_EL2, access_rw, reset_val, 0),
2986 EL2_REG(MDCR_EL2, access_rw, reset_val, 0),
2987 EL2_REG(CPTR_EL2, access_rw, reset_val, CPTR_NVHE_EL2_RES1),
2999 EL2_REG(TTBR0_EL2, access_rw, reset_val, 0),
3000 EL2_REG(TTBR1_EL2, access_rw, reset_val, 0),
3001 EL2_REG(TCR_EL2, access_rw, reset_val, TCR_EL2_RES1),
[all …]
/linux/drivers/iommu/iommufd/
H A Diommufd_test.h118 } access_rw; member