Home
last modified time | relevance | path

Searched refs:READ_ONCE (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/arch/arm/kernel/
A Dspmc_sp_handler.c97 uint8_t perm = READ_ONCE(access_perm->perm); in add_mem_region_to_sp()
159 uint64_t va = READ_ONCE(mem_reg->address); in spmc_sp_add_sp_region()
243 READ_ONCE(addr_range->address), in spmc_sp_add_nw_region()
244 READ_ONCE(addr_range->page_count))) { in spmc_sp_add_nw_region()
308 smem->flags = READ_ONCE(input_descr->flags); in spmc_sp_add_share()
309 smem->tag = READ_ONCE(input_descr->tag); in spmc_sp_add_share()
380 uint32_t retr_flags = READ_ONCE(retr_dsc->flags); in check_retrieve_request()
381 uint64_t retr_tag = READ_ONCE(retr_dsc->tag); in check_retrieve_request()
388 if (READ_ONCE(retr_dsc->mem_access_count) != 1) in check_retrieve_request()
606 smem = sp_mem_get(READ_ONCE(mem->handle)); in ffa_mem_relinquish()
[all …]
A Dthread_spmc.c525 *acc_perms = READ_ONCE(descr->perm); in get_acc_perms()
526 *region_offs = READ_ONCE(mem_acc[n].region_offs); in get_acc_perms()
553 num_mem_accs = READ_ONCE(descr->mem_access_count); in mem_share_init()
600 uint64_t addr = READ_ONCE(arange[n].address); in add_mem_share_helper()
852 READ_ONCE(args->a1)); in handle_mem_frag_tx()
853 size_t flen = READ_ONCE(args->a3); in handle_mem_frag_tx()
1038 num_params = READ_ONCE(arg->num_params); in yielding_call_with_arg()
1255 cookie = READ_ONCE(arg->params->u.fmem.global_id); in thread_rpc_alloc()
1434 uint64_t addr = READ_ONCE(regions[n].address); in set_pages()
1471 offs = READ_ONCE(descr_array->region_offs); in thread_spmc_populate_mobj_from_rx()
[all …]
A Dthread_optee_smc.c107 *num_params = READ_ONCE(arg->num_params); in get_cmd_buffer()
133 *num_params = READ_ONCE(arg->num_params); in map_cmd_buffer()
550 sz = READ_ONCE(arg->params[0].u.tmem.size); in get_rpc_alloc_res()
/optee_os/core/tee/
A Dentry_std.c68 uint64_t global_id = READ_ONCE(fmem->global_id); in set_fmem_param()
69 size_t sz = READ_ONCE(fmem->size); in set_fmem_param()
78 READ_ONCE(fmem->internal_offs)); in set_fmem_param()
83 READ_ONCE(fmem->offs_low)); in set_fmem_param()
102 paddr_t pa = READ_ONCE(tmem->buf_ptr); in set_tmem_param()
103 size_t sz = READ_ONCE(tmem->size); in set_tmem_param()
117 uint64_t shm_ref = READ_ONCE(tmem->shm_ref); in set_tmem_param()
149 uint64_t shm_ref = READ_ONCE(rmem->shm_ref); in set_rmem_param()
150 size_t sz = READ_ONCE(rmem->size); in set_rmem_param()
156 mem->offs = READ_ONCE(rmem->offs); in set_rmem_param()
[all …]
/optee_os/core/drivers/scmi-msg/
A Dsmt.c111 smt_status = READ_ONCE(smt_hdr->status); in scmi_process_smt()
118 in_payload_size = READ_ONCE(smt_hdr->length) - in scmi_process_smt()
/optee_os/core/include/
A Dio.h20 #define READ_ONCE(p) __compiler_atomic_load(&(p)) macro

Completed in 10 milliseconds