Home
last modified time | relevance | path

Searched refs:slice_cnt (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/kernel/rhino/
A Dk_mm_blk.c36 pool->slice_cnt = 0; in krhino_mblk_pool_init()
77 if (pool->slice_cnt == MM_BLK_SLICE_NUM) { in krhino_mblk_alloc_nolock()
83 blk_list->slice_addr = pool->pool_start + pool->slice_cnt * MM_BLK_SLICE_SIZE; in krhino_mblk_alloc_nolock()
84 pool->slice_type[pool->slice_cnt] = blk_type; in krhino_mblk_alloc_nolock()
86 pool->slice_cnt++; in krhino_mblk_alloc_nolock()
87 blk_list->slice_cnt++; in krhino_mblk_alloc_nolock()
148 if (blk_list->slice_cnt > 0) { in krhino_mblk_info_nolock()
149 size_in_slice += (blk_list->slice_cnt - 1) * MM_BLK_SLICE_SIZE + blk_list->slice_offset; in krhino_mblk_info_nolock()
A Dk_mm_debug.c224 if (blk_list->slice_cnt > 0) { in dump_kmm_mblk_info()
229 (blk_list->slice_cnt - 1)*MM_BLK_SLICE_SIZE + blk_list->slice_offset, in dump_kmm_mblk_info()
234 MaxUsedSz += (blk_list->slice_cnt - 1) * MM_BLK_SLICE_SIZE + blk_list->slice_offset; in dump_kmm_mblk_info()
237 slice += blk_list->slice_cnt; in dump_kmm_mblk_info()
245 … (intptr_t)(mm_pool->pool_end - mm_pool->pool_start - mm_pool->slice_cnt * MM_BLK_SLICE_SIZE)); in dump_kmm_mblk_info()
/AliOS-Things-master/kernel/rhino/include/
A Dk_mm_blk.h34 uintptr_t slice_cnt; member
45 uint32_t slice_cnt; /* slice have bean used */ member

Completed in 5 milliseconds