/optee_os-3.20.0/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-3.20.0/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, \
|
/optee_os-3.20.0/core/arch/riscv/include/mm/ |
A D | generic_ram_layout.h | 149 #define TDDRAM_BASE ROUNDUP(TDSRAM_BASE + TDSRAM_SIZE, \ 158 #define TA_RAM_START ROUNDUP(TDDRAM_BASE, CORE_MMU_PGDIR_SIZE) 162 #define TA_RAM_START ROUNDUP(TDDRAM_BASE + TEE_RAM_VA_SIZE, \
|
/optee_os-3.20.0/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-3.20.0/core/arch/arm/kernel/ |
A D | unwind_private.h | 17 rounded_size = ROUNDUP(new_size, 16 * sizeof(vaddr_t)); in unw_grow()
|
A D | ldelf_loader.c | 32 size_t num_pgs = ROUNDUP(sz, SMALL_PAGE_SIZE) / SMALL_PAGE_SIZE; in alloc_and_map_ldelf_fobj() 76 rw_addr = ROUNDUP(code_addr + ldelf_code_size, SMALL_PAGE_SIZE); in ldelf_load_ldelf() 92 ROUNDUP(ldelf_code_size, SMALL_PAGE_SIZE), prot); in ldelf_load_ldelf() 111 usr_stack -= ROUNDUP(sizeof(*arg), STACK_ALIGNMENT); in ldelf_init_with_ldelf() 183 usr_stack -= ROUNDUP(sizeof(*arg) + n * sizeof(struct dump_map), in ldelf_dump_state() 302 usr_stack -= ROUNDUP(sizeof(*arg), STACK_ALIGNMENT); in ldelf_dump_ftrace() 356 usr_stack -= ROUNDUP(sizeof(*arg), STACK_ALIGNMENT); in ldelf_dlopen() 409 usr_stack -= ROUNDUP(sizeof(*arg) + len + 1, STACK_ALIGNMENT); in ldelf_dlsym()
|
/optee_os-3.20.0/core/arch/arm/plat-sprd/ |
A D | platform_config.h | 83 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
|
/optee_os-3.20.0/core/include/drivers/ |
A D | zynqmp_pm.h | 32 #define ZYNQMP_EFUSE_MEM(_id) (ROUNDUP(ZYNQMP_EFUSE_LEN(_id), CACHELINE_LEN))
|
/optee_os-3.20.0/core/drivers/ |
A D | versal_mbox.c | 278 mem->buf = memalign(CACHELINE_LEN, ROUNDUP(len, CACHELINE_LEN)); in versal_mbox_alloc() 282 memset(mem->buf, 0, ROUNDUP(len, CACHELINE_LEN)); in versal_mbox_alloc() 287 mem->alloc_len = ROUNDUP(len, CACHELINE_LEN); in versal_mbox_alloc()
|
/optee_os-3.20.0/core/drivers/crypto/caam/utils/ |
A D | utils_sgt.c | 26 ROUNDUP(sgtbuf->number, CFG_CAAM_SGT_ALIGN) * in caam_sgt_entries_cache_clean() 149 nb_sgt = ROUNDUP(data->number, CFG_CAAM_SGT_ALIGN); in caam_sgtbuf_alloc()
|
/optee_os-3.20.0/core/arch/riscv/plat-spike/drivers/ |
A D | htif.c | 18 ROUNDUP(HTIF_REG_SIZE, CORE_MMU_PGDIR_SIZE));
|
/optee_os-3.20.0/core/arch/arm/plat-ti/ |
A D | platform_config.h | 134 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
|
/optee_os-3.20.0/core/include/mm/ |
A D | pgt_cache.h | 52 #define PGT_CACHE_SIZE ROUNDUP(CFG_NUM_THREADS * 2, PGT_NUM_PGT_PER_PAGE)
|
/optee_os-3.20.0/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-3.20.0/core/kernel/ |
A D | tpm.c | 142 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() 285 pl_sz = ROUNDUP(blen + sizeof(TEE_UUID) + LOAD_ADDR_DUMP_SIZE, in user_ta_dump_ftrace()
|
A D | ldelf_syscalls.c | 65 size_t sz = ROUNDUP(num_bytes, SMALL_PAGE_SIZE); in ldelf_syscall_unmap() 455 size_t sz = ROUNDUP(num_bytes, SMALL_PAGE_SIZE); in ldelf_syscall_set_prot()
|
/optee_os-3.20.0/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-3.20.0/core/drivers/scmi-msg/ |
A D | base.c | 160 msg->out_size_out = sizeof(p2a) + ROUNDUP(count, sizeof(uint32_t)); in discover_list_protocols()
|
/optee_os-3.20.0/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-3.20.0/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-3.20.0/core/drivers/crypto/caam/acipher/ |
A D | caam_ecc.c | 243 key_size = ROUNDUP(key_size, 8); in do_gen_keypair() 386 sign_len = ROUNDUP(sdata->size_sec, 16) + sdata->size_sec; in do_sign() 398 ROUNDUP(sdata->size_sec, 16)); in do_sign()
|
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | token_capabilities.c | 455 *min_key_size = ROUNDUP(*min_key_size, 8) / 8; in mechanism_supported_key_sizes_bytes() 456 *max_key_size = ROUNDUP(*max_key_size, 8) / 8; in mechanism_supported_key_sizes_bytes()
|
/optee_os-3.20.0/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-3.20.0/core/mm/ |
A D | vm.c | 138 vaddr_t last = ROUNDUP(r->va + r->size, CORE_MMU_PGDIR_SIZE); in rem_um_region() 164 ROUNDUP(r2->va + r2->size, CORE_MMU_PGDIR_SIZE)); in rem_um_region() 262 if (offs_plus_size > ROUNDUP(reg->mobj->size, SMALL_PAGE_SIZE)) in umap_add_region() 326 reg->size = ROUNDUP(len, SMALL_PAGE_SIZE); in vm_map_pad() 1001 mem[n].size = ROUNDUP(phys_offs + param->u[n].mem.offs - in vm_map_param() 1095 reg->size = ROUNDUP(mobj->size, SMALL_PAGE_SIZE); in vm_add_rwmem()
|