Home
last modified time | relevance | path

Searched refs:g_kmm_head (Results 1 – 11 of 11) sorted by relevance

/AliOS-Things-master/kernel/rhino/
A Dk_mm_debug.c336 dump_kmm_map(g_kmm_head); in dumpsys_mm_info_func()
340 dump_kmm_free_map(g_kmm_head); in dumpsys_mm_info_func()
344 dump_kmm_statistic_info(g_kmm_head); in dumpsys_mm_info_func()
353 dump_kmm_mblk_info(g_kmm_head); in dumpsys_mm_info_func()
358 dump_kmm_task_info(g_kmm_head); in dumpsys_mm_info_func()
383 dump_kmm_mblk_info(g_kmm_head); in dumpsys_mm_overview_func()
388 dump_kmm_task_info(g_kmm_head); in dumpsys_mm_overview_func()
390 KMM_CRITICAL_EXIT(g_kmm_head, flags_cpsr); in dumpsys_mm_overview_func()
445 dump_kmm_chk(g_kmm_head, query_index); in dumpsys_mm_leakcheck()
450 KMM_CRITICAL_EXIT(g_kmm_head, flags_cpsr); in dumpsys_mm_leakcheck()
[all …]
A Dk_mm.c53 (void)krhino_init_mm_head(&g_kmm_head, g_mm_region[0].start, g_mm_region[0].len); in k_mm_init()
55 krhino_add_mm_region(g_kmm_head, g_mm_region[e].start, g_mm_region[e].len); in k_mm_init()
772 if (krhino_mblk_check(g_kmm_head->fix_pool, addr)) { in krhino_owner_attach()
806 tmp = k_mm_alloc(g_kmm_head, size); in krhino_mm_alloc()
812 freesize = g_kmm_head->free_size; in krhino_mm_alloc()
842 k_mm_free(g_kmm_head, ptr); in krhino_mm_free()
854 tmp = k_mm_realloc(g_kmm_head, oldmem, newsize); in krhino_mm_realloc()
889 index = krhino_clz32(g_kmm_head->free_bitmap); in krhino_mm_max_free_size_get()
894 max = g_kmm_head->freelist[31 - index]; in krhino_mm_max_free_size_get()
A Dk_obj.c85 k_mm_head *g_kmm_head; variable
/AliOS-Things-master/components/debug/src/
A Ddebug_overview.c55 k_int2str((int)(g_kmm_head->free_size + g_kmm_head->used_size), in debug_mm_overview()
57 k_int2str((int)g_kmm_head->free_size, &s_heap_overview[23]); in debug_mm_overview()
58 k_int2str((int)g_kmm_head->used_size, &s_heap_overview[36]); in debug_mm_overview()
59 k_int2str((int)(g_kmm_head->free_size + g_kmm_head->used_size - in debug_mm_overview()
60 g_kmm_head->maxused_size), in debug_mm_overview()
69 (void)krhino_mblk_info_nolock((mblk_pool_t *)g_kmm_head->fix_pool, &pool_info); in debug_mm_overview()
492 mm_info->total_size = g_kmm_head->free_size + g_kmm_head->used_size; in debug_heap_info_get()
493 mm_info->free_size = g_kmm_head->free_size; in debug_heap_info_get()
494 mm_info->used_size = g_kmm_head->used_size; in debug_heap_info_get()
495 mm_info->maxused_size = g_kmm_head->maxused_size; in debug_heap_info_get()
[all …]
A Ddebug_panic.c359 void *pmm_head = g_kmm_head; in dump_mm_sys_error_info()
/AliOS-Things-master/components/amp_adapter/platform/aos/
A Daos_system.c174 extern k_mm_head *g_kmm_head;
177 heap_info->heap_total = g_kmm_head->free_size + g_kmm_head->used_size; in amp_heap_memory_info()
178 heap_info->heap_used = g_kmm_head->used_size; in amp_heap_memory_info()
179 heap_info->heap_free = g_kmm_head->free_size; in amp_heap_memory_info()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/board/common/os/
A Dosif_customer.c48 extern k_mm_head *g_kmm_head; in os_mem_peek()
49 return g_kmm_head->free_size; in os_mem_peek()
/AliOS-Things-master/components/init/
A Daos_init.c78 extern k_mm_head *g_kmm_head;
88 krhino_add_mm_region(g_kmm_head, (void *)(app_info->heap_start), in app_pre_init()
/AliOS-Things-master/hardware/board/c906/adapter/
A Dcsi_rhino.c1294 *total = g_kmm_head->used_size + g_kmm_head->free_size; in csi_kernel_get_mminfo()
1295 *used = g_kmm_head->used_size; in csi_kernel_get_mminfo()
1296 *free = g_kmm_head->free_size; in csi_kernel_get_mminfo()
1297 *peak = g_kmm_head->maxused_size; in csi_kernel_get_mminfo()
/AliOS-Things-master/kernel/rhino/include/
A Dk_internal.h97 extern k_mm_head *g_kmm_head;
/AliOS-Things-master/hardware/chip/rtl872xd/aos/
A Daos_osdep.c572 extern k_mm_head *g_kmm_head; in _aos_GetFreeHeapSize()
573 return g_kmm_head->free_size; in _aos_GetFreeHeapSize()

Completed in 21 milliseconds