Home
last modified time | relevance | path

Searched refs:ROUNDUP (Results 1 – 25 of 56) sorted by relevance

123

/optee_os/core/arch/arm/plat-imx/
A Dmain.c66 ROUNDUP(AIPS0_SIZE, CORE_MMU_PGDIR_SIZE));
70 ROUNDUP(AIPS1_SIZE, CORE_MMU_PGDIR_SIZE));
74 ROUNDUP(AIPS2_SIZE, CORE_MMU_PGDIR_SIZE));
78 ROUNDUP(AIPS3_SIZE, CORE_MMU_PGDIR_SIZE));
/optee_os/core/arch/arm/include/mm/
A Dgeneric_ram_layout.h148 #define TZDRAM_BASE ROUNDUP(TZSRAM_BASE + TZSRAM_SIZE, \
157 #define TA_RAM_START ROUNDUP(TZDRAM_BASE, CORE_MMU_PGDIR_SIZE)
161 #define TA_RAM_START ROUNDUP(TZDRAM_BASE + TEE_RAM_VA_SIZE, \
A Dpgt_cache.h50 #define PGT_CACHE_SIZE ROUNDUP(CFG_NUM_THREADS * 2, PGT_NUM_PGT_PER_PAGE)
/optee_os/core/arch/arm/plat-poplar/
A Dplatform_config.h124 #define TA_RAM_START ROUNDUP(TZDRAM_BASE, CORE_MMU_PGDIR_SIZE)
134 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
/optee_os/core/arch/arm/kernel/
A Dldelf_loader.c32 size_t num_pgs = ROUNDUP(sz, SMALL_PAGE_SIZE) / SMALL_PAGE_SIZE; in alloc_and_map_ldelf_fobj()
75 rw_addr = ROUNDUP(code_addr + ldelf_code_size, SMALL_PAGE_SIZE); in ldelf_load_ldelf()
91 ROUNDUP(ldelf_code_size, SMALL_PAGE_SIZE), prot); in ldelf_load_ldelf()
110 usr_stack -= ROUNDUP(sizeof(*arg), STACK_ALIGNMENT); in ldelf_init_with_ldelf()
182 usr_stack -= ROUNDUP(sizeof(*arg) + n * sizeof(struct dump_map), in ldelf_dump_state()
301 usr_stack -= ROUNDUP(sizeof(*arg), STACK_ALIGNMENT); in ldelf_dump_ftrace()
355 usr_stack -= ROUNDUP(sizeof(*arg), STACK_ALIGNMENT); in ldelf_dlopen()
408 usr_stack -= ROUNDUP(sizeof(*arg) + len + 1, STACK_ALIGNMENT); in ldelf_dlsym()
A Dunwind_private.h17 rounded_size = ROUNDUP(new_size, 16 * sizeof(vaddr_t)); in unw_grow()
/optee_os/core/include/drivers/
A Dzynqmp_pm.h31 #define ZYNQMP_EFUSE_MEM(_id) (ROUNDUP(ZYNQMP_EFUSE_LEN(_id), CACHELINE_LEN))
/optee_os/core/drivers/crypto/caam/utils/
A Dutils_sgt.c26 ROUNDUP(insgt->number, CFG_CAAM_SGT_ALIGN) * in caam_sgt_cache_op()
140 nb_sgt = ROUNDUP(data->number, CFG_CAAM_SGT_ALIGN); in caam_sgtbuf_alloc()
/optee_os/core/arch/arm/plat-sprd/
A Dplatform_config.h83 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
/optee_os/out/arm/export-ta_arm32/host_include/
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ macro
90 #define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y)) macro
/optee_os/out/arm/export-ta_arm64/include/
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ macro
90 #define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y)) macro
/optee_os/out/arm/export-ta_arm64/host_include/
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ macro
90 #define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y)) macro
/optee_os/lib/libutils/ext/include/
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ macro
90 #define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y)) macro
/optee_os/out/arm/export-ta_arm32/include/
A Dutil.h49 #define ROUNDUP(v, size) (((v) + ((__typeof__(v))(size) - 1)) & \ macro
90 #define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y)) macro
/optee_os/core/arch/arm/plat-ti/
A Dplatform_config.h140 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
/optee_os/core/kernel/
A Dtpm.c130 rounded_size = ROUNDUP(tpm_log_size, SMALL_PAGE_SIZE); in tpm_map_log_area()
A Duser_ta.c159 usr_stack -= ROUNDUP(sizeof(struct utee_params), STACK_ALIGNMENT); in user_ta_enter()
278 pl_sz = ROUNDUP(blen + sizeof(TEE_UUID) + LOAD_ADDR_DUMP_SIZE, in user_ta_dump_ftrace()
/optee_os/lib/libutee/arch/arm/gprof/
A Dgprof.c146 p->highpc = ROUNDUP(highpc, HISTFRACTION * sizeof(HISTCOUNTER)); in __utee_gprof_init()
148 p->kcountsize = ROUNDUP(p->textsize / HISTFRACTION, sizeof(*p->froms)); in __utee_gprof_init()
/optee_os/core/mm/
A Dvm.c129 e = ROUNDUP(e, CORE_MMU_PGDIR_SIZE); in get_num_req_pgts()
171 vaddr_t last = ROUNDUP(r->va + r->size, CORE_MMU_PGDIR_SIZE); in rem_um_region()
193 ROUNDUP(r2->va + r2->size, CORE_MMU_PGDIR_SIZE)); in rem_um_region()
227 if (offs_plus_size > ROUNDUP(reg->mobj->size, SMALL_PAGE_SIZE)) in umap_add_region()
291 reg->size = ROUNDUP(len, SMALL_PAGE_SIZE); in vm_map_pad()
944 mem[n].size = ROUNDUP(phys_offs + param->u[n].mem.offs - in vm_map_param()
1034 reg->size = ROUNDUP(mobj->size, SMALL_PAGE_SIZE); in vm_add_rwmem()
/optee_os/core/lib/libtomcrypt/
A Dmpi_desc.c36 size = ROUNDUP(MPI_MEMPOOL_SIZE, SMALL_PAGE_SIZE); in get_mp_scratch_memory_pool()
149 return ROUNDUP(mbedtls_mpi_size(a), sizeof(mbedtls_mpi_uint)) / in get_digit_count()
510 size_t c = ROUNDUP(mbedtls_mpi_size(b), sizeof(mbedtls_mpi_uint)) * 8; in montgomery_normalization()
/optee_os/lib/libutee/
A Dtee_api.c67 tbl += ROUNDUP(s, tmp_align); in copy_param()
98 tb += ROUNDUP(s, tmp_align); in copy_param()
/optee_os/ta/pkcs11/src/
A Dtoken_capabilities.c435 *min_key_size = ROUNDUP(*min_key_size, 8) / 8; in mechanism_supported_key_sizes_bytes()
436 *max_key_size = ROUNDUP(*max_key_size, 8) / 8; in mechanism_supported_key_sizes_bytes()
/optee_os/core/drivers/
A Dstm32_bsec.c538 return ROUNDUP(upper_count, BITS_PER_WORD) / BITS_PER_WORD; in nsec_access_array_size()
597 unsigned int otp_end = ROUNDUP(offset + length, in bsec_dt_otp_nsec_access()
/optee_os/core/drivers/crypto/caam/include/
A Dcaam_desc_helper.h533 (ROUNDUP(size, 8) + BLACK_KEY_NONCE_SIZE + BLACK_KEY_ICV_SIZE)
538 #define BLACK_KEY_ECB_SIZE(size) ROUNDUP(size, 16)
/optee_os/core/arch/arm/mm/
A Dmobj_ffa.c121 return ROUNDUP(mf->mobj.size, SMALL_PAGE_SIZE) / SMALL_PAGE_SIZE; in get_page_count()
557 sz = ROUNDUP(mobj->size + mf->page_offset, SMALL_PAGE_SIZE);

Completed in 29 milliseconds

123