Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/arch/arm/kernel/
A Dthread_spmc.c34 unsigned int page_count; member
599 unsigned int page_count = READ_ONCE(arange[n].page_count); in add_mem_share_helper() local
603 addr, page_count)) in add_mem_share_helper()
611 if (s->current_page_idx != s->page_count) in add_mem_share_helper()
683 share.mf = mobj_ffa_sel1_spmc_new(share.page_count); in add_mem_share()
728 unsigned int page_count, in handle_mem_share_tmem() argument
736 if (MUL_OVERFLOW(page_count, SMALL_PAGE_SIZE, &len)) in handle_mem_share_tmem()
753 page_count, MEM_AREA_NSEC_SHM)) { in handle_mem_share_tmem()
856 unsigned int page_count = 0; in handle_mem_frag_tx() local
882 page_count = s->share.page_count; in handle_mem_frag_tx()
[all …]
A Dspmc_sp_handler.c161 uint64_t region_len = READ_ONCE(mem_reg->page_count) * SMALL_PAGE_SIZE; in spmc_sp_add_sp_region()
204 region->page_count = len / SMALL_PAGE_SIZE; in spmc_sp_add_sp_region()
227 uint64_t page_count = READ_ONCE(mem_reg->total_page_count); in spmc_sp_add_nw_region() local
229 struct mobj *m = sp_mem_new_mobj(page_count, TEE_MATTR_MEM_TYPE_CACHED, in spmc_sp_add_nw_region()
245 READ_ONCE(addr_range->page_count))) { in spmc_sp_add_nw_region()
258 region->page_count = page_count; in spmc_sp_add_nw_region()
487 addr_dst->page_count = reg->page_count; in create_retrieve_response()
490 dst_region->total_page_count += addr_dst->page_count; in create_retrieve_response()
670 size_t sz = reg->page_count * SMALL_PAGE_SIZE; in zero_mem_region()
A Dsecure_partition.c289 res = vm_map(&ctx->uctx, va, reg->page_count * SMALL_PAGE_SIZE, in sp_map_shared()
311 len = reg->page_count * SMALL_PAGE_SIZE; in sp_unmap_ffa_regions()
821 size_t page_count = 0; in handle_tpm_event_log() local
854 page_count = ROUNDUP_DIV(log_size, SMALL_PAGE_SIZE); in handle_tpm_event_log()
856 f = fobj_sec_mem_alloc(page_count); in handle_tpm_event_log()
/optee_os-3.20.0/core/include/mm/
A Dsp_mem.h44 uint32_t page_count; member
/optee_os-3.20.0/core/arch/arm/mm/
A Dsp_mem.c267 (new_reg->page_count * SMALL_PAGE_SIZE); in sp_mem_is_shared()
277 (reg->page_count * SMALL_PAGE_SIZE); in sp_mem_is_shared()
/optee_os-3.20.0/core/arch/arm/include/
A Dffa.h137 uint32_t page_count; member

Completed in 13 milliseconds