| /optee_os/core/arch/arm/plat-sprd/ |
| H A D | main.c | 37 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE), 41 ROUNDDOWN(GIC_BASE, CORE_MMU_PGDIR_SIZE), 45 ROUNDDOWN(GIC_BASE + GICD_OFFSET, CORE_MMU_PGDIR_SIZE),
|
| H A D | platform_config.h | 85 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE), \
|
| /optee_os/core/arch/arm/plat-uniphier/ |
| H A D | main.c | 18 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE), 22 ROUNDDOWN(GIC_BASE, CORE_MMU_PGDIR_SIZE), 26 ROUNDDOWN(GIC_BASE + GICD_OFFSET, CORE_MMU_PGDIR_SIZE),
|
| /optee_os/core/arch/arm/plat-zynqmp/ |
| H A D | main.c | 52 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE), 56 ROUNDDOWN(GIC_BASE, CORE_MMU_PGDIR_SIZE), 60 ROUNDDOWN(GIC_BASE + GICD_OFFSET, CORE_MMU_PGDIR_SIZE),
|
| /optee_os/core/arch/arm/plat-imx/ |
| H A D | main.c | 75 ROUNDDOWN(IRAM_BASE, CORE_MMU_PGDIR_SIZE), 83 ROUNDDOWN(IRAM_S_BASE, CORE_MMU_PGDIR_SIZE), 89 ROUNDDOWN(PL310_BASE, CORE_MMU_PGDIR_SIZE),
|
| /optee_os/core/arch/arm/plat-poplar/ |
| H A D | platform_config.h | 125 #define TA_RAM_SIZE ROUNDDOWN(TZDRAM_SIZE, CORE_MMU_PGDIR_SIZE) 137 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE),\
|
| /optee_os/core/arch/arm/plat-versal2/ |
| H A D | main.c | 26 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
|
| /optee_os/core/mm/ |
| H A D | boot_mem.c | 156 asan_tag_access((void *)ROUNDDOWN(boot_mem_desc->orig_mem_start, in boot_mem_init_asan() 159 asan_tag_access((void *)ROUNDDOWN(boot_mem_desc->mem_end, in boot_mem_init_asan() 313 tmp_va = ROUNDDOWN(boot_mem_desc->mem_end, SMALL_PAGE_SIZE); in boot_mem_release_unused() 358 va = ROUNDDOWN(boot_mem_desc->mem_end, SMALL_PAGE_SIZE); in boot_mem_release_tmp_alloc()
|
| H A D | pgt_cache.c | 291 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail() 315 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail() 782 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_alloc_unlocked() 811 for (va = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in pgt_check_avail()
|
| H A D | vm.c | 136 vaddr_t begin = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in rem_um_region() 158 last = MIN(last, ROUNDDOWN(r2->va, CORE_MMU_PGDIR_SIZE)); in rem_um_region() 223 for (ti.va_base = ROUNDDOWN(r->va, CORE_MMU_PGDIR_SIZE); in set_um_region() 998 mem[n].offs = ROUNDDOWN(phys_offs + param->u[n].mem.offs, in vm_map_param()
|
| H A D | core_mmu.c | 1318 va = ROUNDDOWN(va, CORE_MMU_PGDIR_SIZE); in assign_mem_va_dir() 1322 va = ROUNDDOWN(va, CORE_MMU_PGDIR_SIZE); in assign_mem_va_dir() 1458 vaddr_t start = ROUNDDOWN(id_map_start, SMALL_PAGE_SIZE); in mem_map_add_id_map() 1613 vaddr_t start = ROUNDDOWN((vaddr_t)__nozi_start, SMALL_PAGE_SIZE); in core_init_mmu_map() 1615 vaddr_t start = ROUNDDOWN((vaddr_t)__vcore_nex_rw_start, in core_init_mmu_map() 2214 va = ROUNDDOWN(vstart, SMALL_PAGE_SIZE); in maybe_remove_from_mem_map()
|
| /optee_os/core/arch/riscv/include/mm/ |
| H A D | generic_ram_layout.h | 166 #define TA_RAM_SIZE (ROUNDDOWN(TDDRAM_BASE + (TDDRAM_SIZE - \
|
| /optee_os/core/arch/arm/plat-ti/ |
| H A D | platform_config.h | 137 #define TA_RAM_SIZE ROUNDDOWN((TZDRAM_SIZE - TEE_RAM_VA_SIZE), \
|
| /optee_os/core/arch/arm/plat-versal/ |
| H A D | main.c | 31 ROUNDDOWN(CONSOLE_UART_BASE, CORE_MMU_PGDIR_SIZE),
|
| /optee_os/core/kernel/ |
| H A D | asan.c | 196 b = ROUNDDOWN(addr, ASAN_BLOCK_SIZE) - ASAN_BLOCK_SIZE; in asan_report() 197 e = ROUNDDOWN(addr, ASAN_BLOCK_SIZE) + ASAN_BLOCK_SIZE; in asan_report() 437 void *bottom = (void *)ROUNDDOWN((vaddr_t)&top, in asan_handle_longjmp()
|
| H A D | dt.c | 998 pa = ROUNDDOWN(pa, SMALL_PAGE_SIZE); in reinit_manifest_dt()
|
| /optee_os/lib/libutils/ext/ |
| H A D | mempool.c | 76 vaddr_t v = ROUNDDOWN(pool->data + sz, sizeof(long) * 2); in init_mpool()
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | util.h | 139 #define ROUNDDOWN(x, y) (((x) / (__typeof__(x))(y)) * (__typeof__(x))(y)) macro 161 #define ROUNDDOWN(x, y) (((x) / (y)) * (y)) macro
|
| /optee_os/core/include/mm/ |
| H A D | core_mmu.h | 217 __register_memory(#addr, type, ROUNDDOWN(addr, CORE_MMU_PGDIR_SIZE), \ 219 ROUNDDOWN(addr, CORE_MMU_PGDIR_SIZE), \
|
| /optee_os/core/arch/arm/crypto/ |
| H A D | aes-gcm-ce.c | 178 size_t nb = ROUNDDOWN(num_blocks, 2); in internal_aes_gcm_update_payload_blocks()
|
| /optee_os/lib/libutee/arch/arm/gprof/ |
| H A D | gprof.c | 145 p->lowpc = ROUNDDOWN(lowpc, HISTFRACTION * sizeof(HISTCOUNTER)); in __utee_gprof_init()
|
| /optee_os/core/drivers/ |
| H A D | imsic.c | 122 isel = ROUNDDOWN(id, RISCV_XLEN_BITS) / IMSIC_EIPx_BITS; in imsic_local_eix_update()
|
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | stm32_saes.c | 849 while (i < ROUNDDOWN(data_size, AES_BLOCK_SIZE)) { in stm32_saes_update_load() 1004 (ROUNDDOWN(data_size, AES_BLOCK_SIZE) != data_size)) { in stm32_saes_update() 1187 processed = ROUNDDOWN(data_size - 1, AES_BLOCK_SIZE); in stm32_saes_cmac_prf_128()
|
| /optee_os/core/crypto/ |
| H A D | rng_fortuna.c | 350 uint8_t *b = (uint8_t *)buf + ROUNDDOWN(blen, BLOCK_SIZE); in generate_random_data()
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | virtualization.c | 109 return ROUNDDOWN(ta_size / CFG_VIRT_GUEST_COUNT - VCORE_UNPG_RW_SZ - in get_ta_ram_size()
|