Home
last modified time | relevance | path

Searched refs:SMALL_PAGE_MASK (Results 1 – 17 of 17) sorted by relevance

/optee_os/core/kernel/
A Dmsg_param.c71 if (buffer & SMALL_PAGE_MASK) in msg_param_extract_pages()
91 if (!((vaddr_t)(va + 1) & SMALL_PAGE_MASK)) { in msg_param_extract_pages()
93 if (page & SMALL_PAGE_MASK) in msg_param_extract_pages()
105 if (pages[cnt] & SMALL_PAGE_MASK) in msg_param_extract_pages()
125 page_offset = buf_ptr & SMALL_PAGE_MASK; in msg_param_mobj_from_noncontig()
136 if (!msg_param_extract_pages(buf_ptr & ~SMALL_PAGE_MASK, in msg_param_mobj_from_noncontig()
A Dldelf_syscalls.c300 if (offs_bytes & SMALL_PAGE_MASK) in ldelf_syscall_map_bin()
/optee_os/ldelf/
A Dsys.h25 #define SMALL_PAGE_MASK 0x00000fff macro
A Dta_elf.c588 assert((seg->offset & SMALL_PAGE_MASK) == in adjust_segments()
589 (seg->vaddr & SMALL_PAGE_MASK)); in adjust_segments()
/optee_os/core/mm/
A Dvm.c221 if ((reg->va | reg->size | pad_begin | pad_end) & SMALL_PAGE_MASK) in umap_add_region()
422 if ((va | len) & SMALL_PAGE_MASK) in split_vm_range()
535 if (!len || ((len | old_va) & SMALL_PAGE_MASK)) in vm_remap()
652 if (!len || ((len | va) & SMALL_PAGE_MASK)) in vm_get_flags()
680 if (!len || ((len | va) & SMALL_PAGE_MASK)) in vm_get_prot()
773 if (!l || (va & SMALL_PAGE_MASK)) in vm_unmap()
1316 if (!len || ((*len | va) & SMALL_PAGE_MASK)) in vm_get_mobj()
A Dfobj.c235 return (vaddr_t)&st->state & ~SMALL_PAGE_MASK; in rwp_paged_iv_get_iv_vaddr()
/optee_os/core/arch/arm/kernel/
A Dthread_optee_smc.c123 assert(!(parg & SMALL_PAGE_MASK)); in map_cmd_buffer()
177 if (parg & SMALL_PAGE_MASK) in std_smc_entry()
299 !(pa & SMALL_PAGE_MASK) && sz <= SMALL_PAGE_SIZE) in rpc_shm_mobj_alloc()
A Dthread_spmc.c239 if ((tx_pa & SMALL_PAGE_MASK) || (rx_pa & SMALL_PAGE_MASK)) { in spmc_handle_rxtx_map()
734 vaddr_t offs = pbuf & SMALL_PAGE_MASK; in handle_mem_share_tmem()
A Dboot.c486 assert(!(init_size & SMALL_PAGE_MASK)); in init_runtime()
/optee_os/core/arch/arm/mm/
A Dmobj_dyn_shm.c83 (full_offset & SMALL_PAGE_MASK); in mobj_reg_shm_get_pa()
325 if (mobj_reg_shm->pages[i] & SMALL_PAGE_MASK) in mobj_reg_shm_alloc()
A Dtee_pager.c236 if (pa & SMALL_PAGE_MASK || len > SMALL_PAGE_SIZE) in tee_pager_phys_to_virt()
605 if ((base & SMALL_PAGE_MASK) || !size) { in alloc_region()
875 if (va & SMALL_PAGE_MASK) in tee_pager_split_um_region()
961 if ((va | len) & SMALL_PAGE_MASK) in tee_pager_merge_um_region()
1510 page_va = fobj_get_iv_vaddr(fobj, fobj_pgidx) & ~SMALL_PAGE_MASK; in make_iv_available()
1551 vaddr_t page_va = ai->va & ~SMALL_PAGE_MASK; in pager_get_page()
1758 vaddr_t page_va = ai->va & ~SMALL_PAGE_MASK; in tee_pager_handle_fault()
A Dmobj_ffa.c416 assert(!(mf->mobj.size & SMALL_PAGE_MASK));
451 (full_offset & SMALL_PAGE_MASK);
A Dcore_mmu.c892 else if (!(mask & SMALL_PAGE_MASK)) in assign_mem_granularity()
1664 assert(!((vaddr | paddr) & SMALL_PAGE_MASK)); in core_mmu_map_region()
1727 if (vaddr & SMALL_PAGE_MASK) in core_mmu_map_pages()
1740 if (pages[i] & SMALL_PAGE_MASK) { in core_mmu_map_pages()
1805 if ((vaddr | paddr) & SMALL_PAGE_MASK) in core_mmu_map_contiguous_pages()
2439 if (s >= e || s & SMALL_PAGE_MASK || e & SMALL_PAGE_MASK) in teecore_init_pub_ram()
A Dsp_mem.c122 (offset & SMALL_PAGE_MASK); in get_pa()
A Dpgt_cache.c163 vaddr_t va = (vaddr_t)p->tbl & ~SMALL_PAGE_MASK; in push_to_free_list()
/optee_os/core/drivers/crypto/caam/utils/
A Dutils_mem.c289 MIN(SMALL_PAGE_SIZE - (va & SMALL_PAGE_MASK), len); in caam_mem_get_pa_area()
/optee_os/core/arch/arm/include/mm/
A Dcore_mmu.h23 #define SMALL_PAGE_MASK ((paddr_t)SMALL_PAGE_SIZE - 1) macro

Completed in 33 milliseconds