Lines Matching refs:bitmap
90 is_page_busy (int blocks, U32 *bitmap) in is_page_busy() argument
93 if (*bitmap++ != ~0UL) in is_page_busy()
219 memset (page->bitmap, ((U32)-1), mapsize); // bit set == free in pool_alloc_page()
265 if (page->bitmap [map] == 0) in pci_pool_alloc()
267 block = ffz (~ page->bitmap [map]); in pci_pool_alloc()
269 clear_bit ( block, &page->bitmap [map],U32); in pci_pool_alloc()
313 clear_bit (0, &page->bitmap [0],U32); in pci_pool_alloc()
337 …r is %p, block size is %d ,bit_map[%d] is 0x%08X",retval, pool->size ,map,(U32)page->bitmap [map]); in pci_pool_alloc()
380 if (is_page_busy (pool->blocks_per_page, page->bitmap)) { in pci_pool_destroy()
504 set_bit (block, &page->bitmap [map], U32); in pci_pool_free()
505 kdbg("Free Block: addr=0x%08X bitmap is 0x%08X",dma,(U32)page->bitmap [map]); in pci_pool_free()