Home
last modified time | relevance | path

Searched refs:entry_size (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/subsys/logging/
Dlog_cache.c29 size_t entry_size = ROUND_UP(sizeof(struct log_cache_entry) + config->item_size, in log_cache_init() local
31 uint32_t entry_cnt = config->buf_len / entry_size; in log_cache_init()
42 entry = (struct log_cache_entry *)((uintptr_t)entry + entry_size); in log_cache_init()
/Zephyr-Core-3.7.0/drivers/interrupt_controller/
Dintc_gicv3_its.c158 size_t page_size, entry_size, page_cnt, lvl2_width = 0; in its_alloc_tables() local
162 entry_size = GITS_BASER_ENTRY_SIZE_GET(reg) + 1; in its_alloc_tables()
190 lvl2_width = fls_z(page_size / entry_size) - 1; in its_alloc_tables()
194 entry_size = sizeof(uint64_t); in its_alloc_tables()
199 page_cnt = ROUND_UP(entry_size << device_ids, page_size) / page_size; in its_alloc_tables()
203 ROUND_UP(entry_size * CONFIG_MP_MAX_NUM_CPUS, page_size)/page_size; in its_alloc_tables()
210 its_base_type_string[type], page_cnt, page_size / 1024, entry_size); in its_alloc_tables()
500 size_t entry_size, alloc_size; in gicv3_its_init_device_id() local
507 entry_size = GITS_TYPER_ITT_ENTRY_SIZE_GET(sys_read64(data->base + GITS_TYPER)) + 1; in gicv3_its_init_device_id()
541 alloc_size = ROUND_UP(nr_ites * entry_size, 256); in gicv3_its_init_device_id()
[all …]
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_registry.h230 int entry_size; member
Dlwm2m_message_handling.c1351 read_info = &msg->cache_info->read_info[msg->cache_info->entry_size]; in lwm2m_read_cached_data()
1357 msg->cache_info->entry_size++; in lwm2m_read_cached_data()
2990 if (!cache_temp || !cache_temp->entry_size) { in lwm2m_timeseries_data_rebuild()
2995 for (int i = 0; i < cache_temp->entry_size; i++) { in lwm2m_timeseries_data_rebuild()
3010 cache_temp->entry_limit = LWM2M_LIMITED_TIMESERIES_RESOURCE_COUNT / cache_temp->entry_size; in lwm2m_timeseries_data_rebuild()
3011 cache_temp->entry_size = 0; in lwm2m_timeseries_data_rebuild()
3030 cache_temp_info.entry_size = 0; in generate_notify_message()
3429 for (int i = 0; i < cache_temp->entry_size; i++) { in init_next_pending_timeseries_data()
3449 cache_temp->entry_size = 0; in init_next_pending_timeseries_data()
3470 cache_temp_info.entry_size = 0; in lwm2m_send_cb()
[all …]
/Zephyr-Core-3.7.0/arch/x86/
Dgen_mmu.py194 entry_size = struct.calcsize(ctype)
195 ret = bytearray(entry_size * self.num_entries)
198 struct.pack_into(ctype, ret, entry_size * i, self.entries[i])
/Zephyr-Core-3.7.0/subsys/fs/ext2/
Dext2_impl.c939 uint32_t entry_size = sizeof(struct ext2_disk_direntry) + entry->de_name_len; in ext2_add_direntry() local
941 if (entry_size > block_size) { in ext2_add_direntry()
975 LOG_DBG("Occupied: %d total: %d needed: %d", occupied, reclen, entry_size); in ext2_add_direntry()
977 if (reclen - occupied >= entry_size) { in ext2_add_direntry()