/optee_os/core/arch/arm/plat-imx/ |
A D | main.c | 66 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 D | generic_ram_layout.h | 148 #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 D | pgt_cache.h | 50 #define PGT_CACHE_SIZE ROUNDUP(CFG_NUM_THREADS * 2, PGT_NUM_PGT_PER_PAGE)
|
/optee_os/core/arch/arm/plat-poplar/ |
A D | platform_config.h | 124 #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 D | ldelf_loader.c | 32 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 D | unwind_private.h | 17 rounded_size = ROUNDUP(new_size, 16 * sizeof(vaddr_t)); in unw_grow()
|
/optee_os/core/include/drivers/ |
A D | zynqmp_pm.h | 31 #define ZYNQMP_EFUSE_MEM(_id) (ROUNDUP(ZYNQMP_EFUSE_LEN(_id), CACHELINE_LEN))
|
/optee_os/core/drivers/crypto/caam/utils/ |
A D | utils_sgt.c | 26 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 D | platform_config.h | 83 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
|
/optee_os/out/arm/export-ta_arm32/host_include/ |
A D | util.h | 49 #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 D | util.h | 49 #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 D | util.h | 49 #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 D | util.h | 49 #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 D | util.h | 49 #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 D | platform_config.h | 140 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
|
/optee_os/core/kernel/ |
A D | tpm.c | 130 rounded_size = ROUNDUP(tpm_log_size, SMALL_PAGE_SIZE); in tpm_map_log_area()
|
A D | user_ta.c | 159 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 D | gprof.c | 146 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 D | vm.c | 129 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 D | mpi_desc.c | 36 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 D | tee_api.c | 67 tbl += ROUNDUP(s, tmp_align); in copy_param() 98 tb += ROUNDUP(s, tmp_align); in copy_param()
|
/optee_os/ta/pkcs11/src/ |
A D | token_capabilities.c | 435 *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 D | stm32_bsec.c | 538 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 D | caam_desc_helper.h | 533 (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 D | mobj_ffa.c | 121 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);
|