Searched refs:perm (Results 1 – 10 of 10) sorted by relevance
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | secure_partition.c | 269 if (receiver->perm.perm & FFA_MEM_ACC_EXE) in sp_map_shared() 270 perm |= TEE_MATTR_UX; in sp_map_shared() 272 if (receiver->perm.perm & FFA_MEM_ACC_RW) { in sp_map_shared() 273 if (receiver->perm.perm & FFA_MEM_ACC_EXE) in sp_map_shared() 276 perm |= TEE_MATTR_UW; in sp_map_shared() 524 uint32_t perm = 0; in handle_fdt_dev_regions() local 552 perm = TEE_MATTR_UR; in handle_fdt_dev_regions() 555 perm = TEE_MATTR_URW; in handle_fdt_dev_regions() 582 perm, 0, m, 0); in handle_fdt_dev_regions() 692 uint32_t perm = 0; in handle_fdt_mem_regions() local [all …]
|
A D | spmc_sp_handler.c | 85 if (receiver->perm.endpoint_id == s->endpoint_id) in find_sp_mem_receiver() 97 uint8_t perm = READ_ONCE(access_perm->perm); in add_mem_region_to_sp() local 110 if (perm & ~FFA_MEM_ACC_MASK) in add_mem_region_to_sp() 119 receiver->perm.endpoint_id = endpoint_id; in add_mem_region_to_sp() 120 receiver->perm.perm = perm; in add_mem_region_to_sp() 121 receiver->perm.flags = READ_ONCE(access_perm->flags); in add_mem_region_to_sp() 320 highest_permission |= READ_ONCE(mem_acc[i].access_perm.perm); in spmc_sp_add_share() 379 uint8_t share_perm = receiver->perm.perm; in check_retrieve_request() 393 retr_perm = READ_ONCE(retr_access->access_perm.perm); in check_retrieve_request() 470 &receiver->perm, sizeof(struct ffa_mem_access_perm)); in create_retrieve_response()
|
A D | stmm_sp.c | 505 uint16_t perm = 0; in sp_svc_get_mem_attr() local 518 perm |= STMM_MEM_ATTR_ACCESS_RO; in sp_svc_get_mem_attr() 520 perm |= STMM_MEM_ATTR_ACCESS_RW; in sp_svc_get_mem_attr() 523 perm |= STMM_MEM_ATTR_EXEC; in sp_svc_get_mem_attr() 525 return perm; in sp_svc_get_mem_attr() 541 if (perm & ~STMM_MEM_ATTR_ALL) in sp_svc_set_mem_attr() 547 if ((perm & STMM_MEM_ATTR_ACCESS_MASK) == STMM_MEM_ATTR_ACCESS_RO) in sp_svc_set_mem_attr() 549 else if ((perm & STMM_MEM_ATTR_ACCESS_MASK) == STMM_MEM_ATTR_ACCESS_RW) in sp_svc_set_mem_attr() 552 if ((perm & STMM_MEM_ATTR_EXEC_NEVER) == STMM_MEM_ATTR_EXEC) in sp_svc_set_mem_attr() 749 uint32_t perm = SVC_REGS_A6(regs); in stmm_handle_mem_mgr_service() local [all …]
|
A D | thread_spmc.c | 525 *acc_perms = READ_ONCE(descr->perm); in get_acc_perms() 646 struct ffa_mem_access_perm *perm = NULL; in is_sp_share() local 652 perm = &input_descr->mem_access_array[0].access_perm; in is_sp_share() 659 return READ_ONCE(perm->endpoint_id) != my_endpoint_id; in is_sp_share() 1411 perm_descr->perm = FFA_MEM_ACC_RW; in spmc_retrieve_req()
|
/optee_os-3.20.0/core/arch/arm/plat-marvell/armada3700/ |
A D | hal_sec_perf.c | 150 static int32_t set_range(uint32_t addr, uint32_t size, uint32_t perm) in set_range() argument 184 TZ_SET_PERM(data, perm); in set_range() 226 static void _set_range(uint32_t addr, uint32_t size, uint32_t perm) in _set_range() argument 235 set_range(rgn_addr, p, perm); in _set_range()
|
/optee_os-3.20.0/core/arch/arm/plat-marvell/armada7k8k/ |
A D | hal_sec_perf.c | 152 static int32_t set_range(uint32_t addr, uint32_t size, uint32_t perm) in set_range() argument 193 TZ_SET_PERM(data, perm); in set_range() 255 static void _set_range(uint32_t addr, uint32_t size, uint32_t perm) in _set_range() argument 265 if (set_range(rgn_addr, p, perm)) in _set_range()
|
/optee_os-3.20.0/core/include/mm/ |
A D | sp_mem.h | 24 struct ffa_mem_access_perm perm; member
|
/optee_os-3.20.0/core/arch/arm/include/ |
A D | arm32.h | 93 #define DACR_DOMAIN(num, perm) SHIFT_U32((perm), ((num) * 2)) argument
|
A D | ffa.h | 152 uint8_t perm; member
|
/optee_os-3.20.0/core/arch/arm/mm/ |
A D | sp_mem.c | 189 if (r->perm.endpoint_id == s_id) in sp_mem_get_receiver()
|
Completed in 16 milliseconds