/Zephyr-latest/subsys/llext/ |
D | llext_handlers.c | 27 table_size = ext->mem_size[LLEXT_MEM_PREINIT] + in z_impl_llext_get_fn_table() 28 ext->mem_size[LLEXT_MEM_INIT]; in z_impl_llext_get_fn_table() 30 table_size = ext->mem_size[LLEXT_MEM_FINI]; in z_impl_llext_get_fn_table() 43 ext->mem[LLEXT_MEM_PREINIT], ext->mem_size[LLEXT_MEM_PREINIT]); in z_impl_llext_get_fn_table() 44 memcpy(byte_ptr + ext->mem_size[LLEXT_MEM_PREINIT], in z_impl_llext_get_fn_table() 45 ext->mem[LLEXT_MEM_INIT], ext->mem_size[LLEXT_MEM_INIT]); in z_impl_llext_get_fn_table() 49 ext->mem[LLEXT_MEM_FINI], ext->mem_size[LLEXT_MEM_FINI]); in z_impl_llext_get_fn_table() 58 const char *text_end = text_start + ext->mem_size[LLEXT_MEM_TEXT]; in z_impl_llext_get_fn_table()
|
D | llext_mem.c | 69 ext->mem_size[mem_idx] = ldr->sects[mem_idx].sh_size; in llext_copy_section() 185 size = ROUND_UP(ext->mem_size[mem_idx], LLEXT_PAGE_SIZE); in llext_adjust_mmu_permissions() 214 if (ext->mem_size[i] != 0) { in llext_free_regions() 217 ROUND_UP(ext->mem_size[i], LLEXT_PAGE_SIZE), in llext_free_regions() 235 if (ext->mem_size[i] == 0) { in llext_add_domain()
|
D | llext_link.c | 475 sys_cache_data_flush_range(ext->mem[i], ext->mem_size[i]); in llext_link() 476 sys_cache_instr_invd_range(ext->mem[i], ext->mem_size[i]); in llext_link()
|
/Zephyr-latest/subsys/bluetooth/controller/util/ |
D | mem.c | 15 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, in mem_init() argument 28 (void)memset(((uint8_t *)mem_pool + (mem_size * (--mem_count))), 0, in mem_init() 34 (mem_size * (mem_count + 1))); in mem_init() 35 memcpy(((uint8_t *)mem_pool + (mem_size * mem_count)), in mem_init() 100 void *mem_get(const void *mem_pool, uint16_t mem_size, uint16_t index) in mem_get() argument 102 return ((void *)((uint8_t *)mem_pool + (mem_size * index))); in mem_get() 105 uint16_t mem_index_get(const void *mem, const void *mem_pool, uint16_t mem_size) in mem_index_get() argument 107 return ((uint8_t *)mem - (uint8_t *)mem_pool) / mem_size; in mem_index_get()
|
D | mem.h | 56 void mem_init(void *mem_pool, uint16_t mem_size, uint16_t mem_count, void **mem_head); 61 void *mem_get(const void *mem_pool, uint16_t mem_size, uint16_t index); 62 uint16_t mem_index_get(const void *mem, const void *mem_pool, uint16_t mem_size);
|
/Zephyr-latest/drivers/mm/ |
D | mm_drv_intel_adsp_regions.c | 23 static inline void append_region(void *address, uint32_t mem_size, in append_region() argument 27 virtual_memory_regions[position].size = mem_size; in append_region() 29 total_size += mem_size; in append_region()
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_rpmsg_static_vrings.h | 155 static inline unsigned int optimal_num_desc(size_t mem_size, unsigned int buf_size) in optimal_num_desc() argument 160 available = mem_size - VDEV_STATUS_SIZE; in optimal_num_desc()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_w5500.c | 114 const uint32_t mem_size = W5500_RX_MEM_SIZE; in w5500_readbuf() local 116 offset %= mem_size; in w5500_readbuf() 119 if (offset + len > mem_size) { in w5500_readbuf() 120 remain = (offset + len) % mem_size; in w5500_readbuf() 121 len = mem_size - offset; in w5500_readbuf() 139 const uint32_t mem_size = W5500_TX_MEM_SIZE; in w5500_writebuf() local 141 offset %= mem_size; in w5500_writebuf() 144 if (offset + len > mem_size) { in w5500_writebuf() 145 remain = (offset + len) % mem_size; in w5500_writebuf() 146 len = mem_size - offset; in w5500_writebuf()
|
/Zephyr-latest/include/zephyr/llext/ |
D | llext.h | 98 size_t mem_size[LLEXT_MEM_COUNT]; member
|
/Zephyr-latest/drivers/memc/ |
D | memc_mspi_aps6404l.c | 41 uint32_t mem_size; member 443 .mem_size = DT_INST_PROP(n, size) / 8, \
|
/Zephyr-latest/drivers/flash/ |
D | flash_mspi_atxp032.c | 48 uint32_t mem_size; member 499 if ((offset == 0) && (size == cfg->mem_size)) { in flash_mspi_atxp032_erase() 831 .mem_size = DT_INST_PROP(n, size) / 8, \
|
/Zephyr-latest/arch/x86/ |
D | gen_mmu.py | 457 mem_size = mem_end - mem_start 459 self.reserve(mem_start, mem_size, to_level)
|