Searched refs:slice_idx (Results 1 – 2 of 2) sorted by relevance
123 uint32_t slice_idx; in krhino_mblk_get_size() local127 slice_idx = ((uintptr_t)blk - pool->pool_start) >> MM_BLK_SLICE_BIT; in krhino_mblk_get_size()128 blk_type = pool->slice_type[slice_idx]; in krhino_mblk_get_size()
105 uint32_t slice_idx; in krhino_mblk_free_nolock() local112 slice_idx = ((uintptr_t)blk - pool->pool_start) >> MM_BLK_SLICE_BIT; in krhino_mblk_free_nolock()113 if (slice_idx >= MM_BLK_SLICE_NUM) { in krhino_mblk_free_nolock()117 blk_type = pool->slice_type[slice_idx]; in krhino_mblk_free_nolock()
Completed in 2 milliseconds