Searched refs:size_to_blocks (Results 1 – 1 of 1) sorted by relevance
96 static inline size_t size_to_blocks(size_t size) in size_to_blocks() function340 clear_blocks(pool, i, idx, size_to_blocks(hdr->size)); in sfree_pool()343 pool->free_blocks += size_to_blocks(hdr->size); in sfree_pool()380 nr_blocks = size_to_blocks(size); in __smalloc_pool()