Home
last modified time | relevance | path

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

/AliOS-Things-master/kernel/rhino/
A Dk_mm_blk.c55 uintptr_t avail_blk = (uintptr_t)NULL; in krhino_mblk_alloc_nolock() local
69 if ((avail_blk = blk_list->free_head) != (uintptr_t)NULL) { in krhino_mblk_alloc_nolock()
70 blk_list->free_head = *(uintptr_t *)avail_blk; in krhino_mblk_alloc_nolock()
91 avail_blk = blk_list->slice_addr + blk_list->slice_offset; in krhino_mblk_alloc_nolock()
97 (avail_blk == (uintptr_t)0) ? blk_list->fail_cnt++ : blk_list->nofree_cnt++; in krhino_mblk_alloc_nolock()
100 return (void *)avail_blk; in krhino_mblk_alloc_nolock()
165 uintptr_t avail_blk; in krhino_mblk_alloc() local
174 avail_blk = (uintptr_t)krhino_mblk_alloc_nolock(pool, size); in krhino_mblk_alloc()
178 return (void *)avail_blk; in krhino_mblk_alloc()

Completed in 3 milliseconds