Home
last modified time | relevance | path

Searched refs:access_id (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/tools/testing/selftests/iommu/
H A Diommufd_utils.h126 static int _test_cmd_access_replace_ioas(int fd, __u32 access_id, in _test_cmd_access_replace_ioas() argument
132 .id = access_id, in _test_cmd_access_replace_ioas()
142 #define test_cmd_access_replace_ioas(access_id, ioas_id) \ argument
146 __u32 *access_id, unsigned int flags) in _test_cmd_create_access() argument
159 *access_id = cmd.create_access.out_access_fd; in _test_cmd_create_access()
166 static int _test_cmd_destroy_access(unsigned int access_id) in _test_cmd_destroy_access() argument
168 return close(access_id); in _test_cmd_destroy_access()
170 #define test_cmd_destroy_access(access_id) \ argument
171 ASSERT_EQ(0, _test_cmd_destroy_access(access_id))
179 .id = access_id, in _test_cmd_destroy_access_pages()
[all …]
H A Diommufd_fail_nth.c208 uint32_t access_id; in FIXTURE() local
214 self->access_id = 0; in FIXTURE_SETUP()
221 if (self->access_id) { in FIXTURE_TEARDOWN()
412 .id = self->access_id, in TEST_FAIL_NTH()
443 .id = self->access_id, in TEST_FAIL_NTH()
454 if (_test_cmd_destroy_access(self->access_id)) in TEST_FAIL_NTH()
456 self->access_id = 0; in TEST_FAIL_NTH()
492 .id = self->access_id, in TEST_FAIL_NTH()
510 self->access_id = 0; in TEST_FAIL_NTH()
551 .id = self->access_id, in TEST_FAIL_NTH()
[all …]
H A Diommufd.c763 unsigned int access_id, uint64_t iova, in check_access_rw() argument
770 .id = access_id, in check_access_rw()
826 __u32 access_id; in TEST_F() local
835 test_cmd_destroy_access(access_id); in TEST_F()
840 __u32 access_id; in TEST_F() local
850 test_cmd_destroy_access(access_id); in TEST_F()
855 __u32 access_id; in TEST_F() local
876 check_access_rw(_metadata, self->fd, access_id, in TEST_F()
887 test_cmd_destroy_access(access_id); in TEST_F()
892 __u32 access_id; in TEST_F() local
[all …]
/openbmc/qemu/target/hppa/
H A Dmem_helper.c159 static int match_prot_id_1(uint32_t access_id, uint32_t prot_id) in match_prot_id_1() argument
161 if (((access_id ^ (prot_id >> 1)) & ACCESS_ID_MASK) == 0) { in match_prot_id_1()
169 static int match_prot_id32(CPUHPPAState *env, uint32_t access_id) in match_prot_id32() argument
174 r = match_prot_id_1(access_id, env->cr[i]); in match_prot_id32()
182 static int match_prot_id64(CPUHPPAState *env, uint32_t access_id) in match_prot_id64() argument
187 r = match_prot_id_1(access_id, env->cr[i]); in match_prot_id64()
191 r = match_prot_id_1(access_id, env->cr[i] >> 32); in match_prot_id64()
271 if (ent->access_id && MMU_IDX_TO_P(mmu_idx)) { in hppa_get_physical_address()
493 ent->access_id = extract32(reg, 1, 18); in set_access_bits_pa11()
558 ent->access_id = extract64(r2, 1, 31); in itlbt_pa20()
[all …]
H A Dtrace-events11 …tlbp(void *env, void *ent, int access_id, int u, int pl2, int pl1, int type, int b, int d, int t) …
H A Dmachine.c68 ent->access_id = extract64(val, 1, 31); in get_tlb()
91 val = deposit64(val, 1, 31, ent->access_id); in put_tlb()
H A Dcpu.h200 unsigned access_id : 16; member
/openbmc/linux/drivers/iommu/iommufd/
H A Dselftest.c673 unsigned int access_id, in iommufd_test_access_item_destroy() argument
679 staccess = iommufd_access_get(access_id); in iommufd_test_access_item_destroy()
804 unsigned int access_id, in iommufd_test_access_replace_ioas() argument
810 staccess = iommufd_access_get(access_id); in iommufd_test_access_replace_ioas()
842 unsigned int access_id, unsigned long iova, in iommufd_test_access_pages() argument
860 staccess = iommufd_access_get(access_id); in iommufd_test_access_pages()
937 unsigned int access_id, unsigned long iova, in iommufd_test_access_rw() argument
954 staccess = iommufd_access_get(access_id); in iommufd_test_access_rw()
/openbmc/linux/arch/s390/kernel/
H A Dcompat_ptrace.h17 __u8 access_id; /* PER trap access identification */ member
H A Dptrace.c178 else if (addr == offsetof(struct per_struct_kernel, access_id)) in __peek_user_per()
563 else if (addr == offsetof(struct compat_per_struct_kernel, access_id)) in __peek_user_per_compat()
/openbmc/linux/arch/s390/include/uapi/asm/
H A Dptrace.h334 unsigned char access_id; member
353 unsigned access_id : 4; member
/openbmc/linux/arch/s390/include/asm/
H A Dptrace.h165 unsigned char access_id; /* PER trap access identification */ member
/openbmc/linux/drivers/soc/tegra/cbb/
H A Dtegra234-cbb.c352 u8 access_type, access_id, requester_socket_id, local_socket_id, slave_id, fab_id; in print_errlog_err() local
382 access_id = FIELD_GET(FAB_EM_EL_ACCESSID, cbb->mn_attr1); in print_errlog_err()
405 tegra_cbb_print_err(file, "\t Access_ID\t\t: %#x", access_id); in print_errlog_err()
/openbmc/linux/drivers/scsi/
H A Dhpsa.h159 u8 access_id[16]; member