Home
last modified time | relevance | path

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

123

/optee_os-3.20.0/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-3.20.0/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, \
/optee_os-3.20.0/core/arch/riscv/include/mm/
A Dgeneric_ram_layout.h149 #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 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-3.20.0/core/arch/arm/kernel/
A Dunwind_private.h17 rounded_size = ROUNDUP(new_size, 16 * sizeof(vaddr_t)); in unw_grow()
A Dldelf_loader.c32 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 Dplatform_config.h83 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
/optee_os-3.20.0/core/include/drivers/
A Dzynqmp_pm.h32 #define ZYNQMP_EFUSE_MEM(_id) (ROUNDUP(ZYNQMP_EFUSE_LEN(_id), CACHELINE_LEN))
/optee_os-3.20.0/core/drivers/
A Dversal_mbox.c278 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 Dutils_sgt.c26 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 Dhtif.c18 ROUNDUP(HTIF_REG_SIZE, CORE_MMU_PGDIR_SIZE));
/optee_os-3.20.0/core/arch/arm/plat-ti/
A Dplatform_config.h134 #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \
/optee_os-3.20.0/core/include/mm/
A Dpgt_cache.h52 #define PGT_CACHE_SIZE ROUNDUP(CFG_NUM_THREADS * 2, PGT_NUM_PGT_PER_PAGE)
/optee_os-3.20.0/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-3.20.0/core/kernel/
A Dtpm.c142 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()
285 pl_sz = ROUNDUP(blen + sizeof(TEE_UUID) + LOAD_ADDR_DUMP_SIZE, in user_ta_dump_ftrace()
A Dldelf_syscalls.c65 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 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-3.20.0/core/drivers/scmi-msg/
A Dbase.c160 msg->out_size_out = sizeof(p2a) + ROUNDUP(count, sizeof(uint32_t)); in discover_list_protocols()
/optee_os-3.20.0/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-3.20.0/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-3.20.0/core/drivers/crypto/caam/acipher/
A Dcaam_ecc.c243 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 Dtoken_capabilities.c455 *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 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-3.20.0/core/mm/
A Dvm.c138 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()

Completed in 25 milliseconds

123