Home
last modified time | relevance | path

Searched refs:page_offset (Results 1 – 11 of 11) sorted by relevance

/optee_os-3.20.0/core/mm/
A Dfile.c82 unsigned int page_offset) in file_add_slice() argument
88 if (file_find_slice(f, page_offset)) in file_add_slice()
97 ADD_OVERFLOW(page_offset, fse->slice.fobj->num_pages, &s)) { in file_add_slice()
103 fse->slice.page_offset = page_offset; in file_add_slice()
179 struct file_slice *file_find_slice(struct file *f, unsigned int page_offset) in file_find_slice() argument
188 if (page_offset >= fs->page_offset && in file_find_slice()
189 page_offset < fs->page_offset + fs->fobj->num_pages) in file_find_slice()
/optee_os-3.20.0/core/kernel/
A Dmsg_param.c120 paddr_t page_offset = 0; in msg_param_mobj_from_noncontig() local
125 page_offset = buf_ptr & SMALL_PAGE_MASK; in msg_param_mobj_from_noncontig()
126 if (ADD_OVERFLOW(size, page_offset, &size_plus_offs)) in msg_param_mobj_from_noncontig()
141 mobj = mobj_mapped_shm_alloc(pages, num_pages, page_offset, in msg_param_mobj_from_noncontig()
144 mobj = mobj_reg_shm_alloc(pages, num_pages, page_offset, in msg_param_mobj_from_noncontig()
A Dldelf_syscalls.c331 if (fs->page_offset != offs_pages || in ldelf_syscall_map_bin()
/optee_os-3.20.0/core/include/mm/
A Dfile.h24 unsigned int page_offset; member
66 unsigned int page_offset);
106 struct file_slice *file_find_slice(struct file *f, unsigned int page_offset);
A Dmobj.h259 paddr_t page_offset, uint64_t cookie);
291 paddr_t page_offset, uint64_t cookie);
297 paddr_t page_offset __unused, in mobj_mapped_shm_alloc()
A Dsp_mem.h43 uint32_t page_offset; member
/optee_os-3.20.0/core/arch/arm/mm/
A Dmobj_dyn_shm.c39 paddr_t page_offset; member
79 full_offset = offst + mobj_reg_shm->page_offset; in mobj_reg_shm_get_pa()
101 return to_mobj_reg_shm(mobj)->page_offset; in mobj_reg_shm_get_phys_offs()
112 mrs->page_offset); in mobj_reg_shm_get_va()
207 sz = ROUNDUP(mobj->size + r->page_offset, SMALL_PAGE_SIZE); in mobj_reg_shm_inc_map()
297 paddr_t page_offset, uint64_t cookie) in mobj_reg_shm_alloc() argument
304 if (!num_pages || page_offset >= SMALL_PAGE_SIZE) in mobj_reg_shm_alloc()
315 mobj_reg_shm->mobj.size = num_pages * SMALL_PAGE_SIZE - page_offset; in mobj_reg_shm_alloc()
320 mobj_reg_shm->page_offset = page_offset; in mobj_reg_shm_alloc()
434 paddr_t page_offset, uint64_t cookie) in mobj_mapped_shm_alloc() argument
[all …]
A Dmobj_ffa.c22 uint16_t page_offset; member
359 if (mf->page_offset == internal_offs) { in mobj_ffa_get_by_cookie()
373 cookie, mf->page_offset, internal_offs); in mobj_ffa_get_by_cookie()
410 mf->mobj.size += mf->page_offset; in mobj_ffa_get_by_cookie()
413 mf->page_offset = internal_offs; in mobj_ffa_get_by_cookie()
442 full_offset = offset + mf->page_offset; in ffa_get_pa()
464 return to_mobj_ffa(mobj)->page_offset; in ffa_get_phys_offs()
474 return (void *)(tee_mm_get_smem(mf->mm) + offset + mf->page_offset); in ffa_get_va()
551 sz = ROUNDUP(mobj->size + mf->page_offset, SMALL_PAGE_SIZE); in ffa_inc_map()
A Dsp_mem.c266 uint64_t new_reg_end = new_reg->page_offset + in sp_mem_is_shared()
276 reg_end = reg->page_offset + in sp_mem_is_shared()
279 if (new_reg->page_offset < reg_end && in sp_mem_is_shared()
280 new_reg_end > reg->page_offset) { in sp_mem_is_shared()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dspmc_sp_handler.c203 region->page_offset = offs; in spmc_sp_add_sp_region()
481 uint32_t offset = reg->page_offset; in create_retrieve_response()
672 addr = sp_mem_get_va(&ctx->uctx, reg->page_offset, reg->mobj); in zero_mem_region()
A Dsecure_partition.c290 perm, 0, reg->mobj, reg->page_offset); in sp_map_shared()
309 vaddr = (vaddr_t)sp_mem_get_va(&ctx->uctx, reg->page_offset, in sp_unmap_ffa_regions()

Completed in 13 milliseconds