Searched refs:num_pgs (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/kernel/ |
| H A D | ldelf_loader.c | 34 size_t num_pgs = ROUNDUP_DIV(sz, SMALL_PAGE_SIZE); in alloc_and_map_fobj() local 35 struct fobj *fobj = fobj_ta_mem_alloc(num_pgs); in alloc_and_map_fobj() 43 res = vm_map(uctx, va, num_pgs * SMALL_PAGE_SIZE, prot, flags, mobj, 0); in alloc_and_map_fobj()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | stmm_sp.c | 194 size_t num_pgs = ROUNDUP_DIV(sz, SMALL_PAGE_SIZE); in alloc_and_map_sp_fobj() local 195 struct fobj *fobj = fobj_ta_mem_alloc(num_pgs); in alloc_and_map_sp_fobj() 204 res = vm_map(&spc->uctx, va, num_pgs * SMALL_PAGE_SIZE, in alloc_and_map_sp_fobj()
|