/Zephyr-Core-3.7.0/subsys/ipc/ipc_service/backends/ |
D | ipc_rpmsg_static_vrings.h | 146 return ROUND_UP((buf_size * num), MEM_ALIGNMENT); in vq_ring_size() 152 ROUND_UP(vring_size(num, MEM_ALIGNMENT), MEM_ALIGNMENT))); in shm_size()
|
/Zephyr-Core-3.7.0/include/zephyr/arch/riscv/ |
D | arch.h | 56 ROUND_UP(sizeof(struct arch_esf) + CONFIG_PMP_STACK_GUARD_MIN_SIZE, \ 141 ROUND_UP(Z_RISCV_STACK_GUARD_SIZE + CONFIG_PRIVILEGED_STACK_SIZE, \ 144 ROUND_UP(size, Z_RISCV_STACK_PMP_ALIGN)
|
/Zephyr-Core-3.7.0/include/zephyr/kernel/ |
D | thread_stack.h | 97 #define Z_KERNEL_STACK_SIZE_ADJUST(size) (ROUND_UP(size, \ 108 ROUND_UP(Z_KERNEL_STACK_SIZE_ADJUST(size), Z_KERNEL_STACK_OBJ_ALIGN) 388 (ROUND_UP((size), ARCH_STACK_PTR_ALIGN) + K_THREAD_STACK_RESERVED) 572 ROUND_UP(Z_THREAD_STACK_SIZE_ADJUST(size), \
|
/Zephyr-Core-3.7.0/include/zephyr/arch/arc/ |
D | arch.h | 181 (ROUND_UP((size), Z_ARC_MPU_ALIGN)) 203 Z_POW2_CEIL(ROUND_UP((size), Z_ARC_MPU_ALIGN)) 222 (ROUND_UP((size), Z_ARC_MPU_ALIGN))
|
/Zephyr-Core-3.7.0/include/zephyr/arch/xtensa/ |
D | cache.h | 33 size_t last = ROUND_UP(((long)addr) + bytes, step); in arch_dcache_flush_range() 49 size_t last = ROUND_UP(((long)addr) + bytes, step); in arch_dcache_flush_and_invd_range() 65 size_t last = ROUND_UP(((long)addr) + bytes, step); in arch_dcache_invd_range()
|
D | thread_stack.h | 68 ROUND_UP((size), XTENSA_STACK_SIZE_ALIGN)
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | blob_io_flash.c | 120 uint8_t buf[ROUND_UP(BLOB_CHUNK_SIZE_MAX(BT_MESH_RX_SDU_MAX), in wr_chunk() 132 memset(&buf[i], 0xff, ROUND_UP(i, WRITE_BLOCK_SIZE) - i); in wr_chunk() 133 i = ROUND_UP(i, WRITE_BLOCK_SIZE); in wr_chunk()
|
/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | nbr.h | 78 uint8_t data[ROUND_UP(_size, 4)] __net_nbr_align; \ 83 .size = ROUND_UP(_size, 4) } }, \
|
/Zephyr-Core-3.7.0/lib/posix/options/ |
D | mmap.c | 87 k_mem_map_phys_bare((uint8_t **)&virt, phys, (size_t)ROUND_UP(len, _page_size), in mmap() 124 k_mem_unmap(addr, ROUND_UP(len, _page_size)); in munmap()
|
/Zephyr-Core-3.7.0/include/zephyr/arch/arm64/ |
D | thread_stack.h | 57 ROUND_UP((size), Z_ARM64_STACK_SIZE_ALIGN)
|
/Zephyr-Core-3.7.0/lib/libc/common/source/stdlib/ |
D | malloc.c | 82 # define HEAP_SIZE ROUND_UP(CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE, HEAP_ALIGN) 102 # define HEAP_BASE ROUND_UP(USED_RAM_END_ADDR, HEAP_ALIGN) 218 heap_base = UINT_TO_POINTER(ROUND_UP(HEAP_BASE, heap_size)); in malloc_prepare()
|
/Zephyr-Core-3.7.0/arch/arc/core/ |
D | tls.c | 20 size_t tls_size_aligned = ROUND_UP(tls_size, ARCH_STACK_PTR_ALIGN); in arch_tls_stack_setup()
|
/Zephyr-Core-3.7.0/include/zephyr/arch/x86/ |
D | thread_stack.h | 101 ROUND_UP((size), Z_X86_STACK_SIZE_ALIGN)
|
/Zephyr-Core-3.7.0/soc/intel/intel_socfpga_std/cyclonev/ |
D | soc.c | 26 uintptr_t end = ROUND_UP(addr + len, CONFIG_MMU_PAGE_SIZE); in arch_reserved_pages_update()
|
/Zephyr-Core-3.7.0/arch/x86/core/ |
D | cache.c | 98 end = ROUND_UP(end, line_size); in arch_dcache_flush_range()
|
/Zephyr-Core-3.7.0/include/zephyr/arch/mips/ |
D | arch.h | 37 #define STACK_ROUND_UP(x) ROUND_UP(x, ARCH_STACK_PTR_ALIGN)
|
/Zephyr-Core-3.7.0/include/zephyr/arch/sparc/ |
D | arch.h | 47 #define STACK_ROUND_UP(x) ROUND_UP(x, ARCH_STACK_PTR_ALIGN)
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_msg/src/ |
D | main.c | 396 exp_len = ROUND_UP(exp_len, Z_LOG_MSG_ALIGNMENT) / sizeof(int); in ZTEST() 425 exp_len = ROUND_UP(exp_len, Z_LOG_MSG_ALIGNMENT) / sizeof(int); in ZTEST() 454 exp_len = ROUND_UP(exp_len, Z_LOG_MSG_ALIGNMENT) / sizeof(int); in ZTEST() 489 exp_len = ROUND_UP(exp_len, Z_LOG_MSG_ALIGNMENT) / sizeof(int); in ZTEST() 532 exp_len = ROUND_UP(exp_len, Z_LOG_MSG_ALIGNMENT) / sizeof(int); in ZTEST() 550 ROUND_UP(offsetof(struct log_msg, data) + 2 * sizeof(void *), in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/debug/coredump/ |
D | coredump_backend_flash_partition.c | 48 MAX(FLASH_WRITE_SIZE, ROUND_UP(CONFIG_DEBUG_COREDUMP_FLASH_CHUNK_SIZE, FLASH_WRITE_SIZE)) 56 #define HEADER_SCRAMBLE_SIZE ROUND_UP(sizeof(struct flash_hdr_t), \ 275 offset = ROUND_UP(sizeof(struct flash_hdr_t), FLASH_WRITE_SIZE); in process_stored_dump() 344 off += ROUND_UP(sizeof(struct flash_hdr_t), FLASH_WRITE_SIZE); in get_stored_dump() 432 header_size = ROUND_UP(sizeof(struct flash_hdr_t), FLASH_WRITE_SIZE); in coredump_flash_backend_start()
|
/Zephyr-Core-3.7.0/include/zephyr/ipc/ |
D | pbuf.h | 36 #define _PBUF_MIN_DATA_LEN ROUND_UP(PBUF_PACKET_LEN_SZ + 1 + _PBUF_IDX_SIZE, _PBUF_IDX_SIZE)
|
/Zephyr-Core-3.7.0/include/zephyr/arch/arm/ |
D | arch.h | 253 ROUND_UP(size, CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE)
|
/Zephyr-Core-3.7.0/soc/nordic/common/ |
D | dmm.c | 106 return ROUND_UP(dh->region->dt_allc, dh->region->dt_align); in dmm_heap_start_get() 116 length = ROUND_UP(length, dh->region->dt_align); in dmm_buffer_alloc()
|
/Zephyr-Core-3.7.0/drivers/dma/ |
D | dma_mcux_lpc.c | 614 assert(block_config->source_address == ROUND_UP(block_config->source_address, width)); in dma_mcux_lpc_configure() 615 assert(block_config->dest_address == ROUND_UP(block_config->dest_address, width)); in dma_mcux_lpc_configure() 669 ROUND_UP(block_config->source_address, width)); in dma_mcux_lpc_configure() 671 ROUND_UP(block_config->dest_address, width)); in dma_mcux_lpc_configure() 768 assert(src == ROUND_UP(src, data->width)); in dma_mcux_lpc_reload() 769 assert(dst == ROUND_UP(dst, data->width)); in dma_mcux_lpc_reload()
|
/Zephyr-Core-3.7.0/subsys/ipc/ipc_service/lib/ |
D | pbuf.c | 137 wr_idx = idx_wrap(blen, ROUND_UP(wr_idx + len, _PBUF_IDX_SIZE)); in pbuf_write() 215 rd_idx = idx_wrap(blen, ROUND_UP(rd_idx + len, _PBUF_IDX_SIZE)); in pbuf_read()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/usb/ |
D | udc_buf.h | 60 static uint8_t __aligned(UDC_BUF_ALIGN) name[ROUND_UP(size, UDC_BUF_GRANULARITY)];
|