Searched refs:SMALLOC_BPL (Results 1 – 1 of 1) sorted by relevance
26 #define SMALLOC_BPL (SMALLOC_BPB * SMALLOC_BPI) macro91 unsigned int pool_size = pool->nr_blocks * SMALLOC_BPL; in ptr_valid()195 alloc_size = (alloc_size + SMALLOC_BPL - 1) & ~(SMALLOC_BPL - 1); in add_pool()196 bitmap_blocks = alloc_size / SMALLOC_BPL; in add_pool()216 pool->bitmap = (void *) ptr + (pool->nr_blocks * SMALLOC_BPL); in add_pool()336 i = offset / SMALLOC_BPL; in sfree_pool()337 idx = (offset % SMALLOC_BPL) / SMALLOC_BPB; in sfree_pool()412 offset = i * SMALLOC_BPL + idx * SMALLOC_BPB; in __smalloc_pool()