Home
last modified time | relevance | path

Searched refs:mem_size (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/subsys/llext/
Dllext_handlers.c27 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()
Dllext_mem.c69 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()
Dllext_link.c475 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/
Dmem.c15 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()
Dmem.h56 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/
Dmm_drv_intel_adsp_regions.c23 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/
Dipc_rpmsg_static_vrings.h155 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/
Deth_w5500.c114 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/
Dllext.h98 size_t mem_size[LLEXT_MEM_COUNT]; member
/Zephyr-latest/drivers/memc/
Dmemc_mspi_aps6404l.c41 uint32_t mem_size; member
443 .mem_size = DT_INST_PROP(n, size) / 8, \
/Zephyr-latest/drivers/flash/
Dflash_mspi_atxp032.c48 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/
Dgen_mmu.py457 mem_size = mem_end - mem_start
459 self.reserve(mem_start, mem_size, to_level)