Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dibmveth.c144 pool->free_map = kmalloc(sizeof(u16) * pool->size, GFP_KERNEL); in ibmveth_alloc_buffer_pool()
146 if(!pool->free_map) { in ibmveth_alloc_buffer_pool()
152 kfree(pool->free_map); in ibmveth_alloc_buffer_pool()
153 pool->free_map = NULL; in ibmveth_alloc_buffer_pool()
163 kfree(pool->free_map); in ibmveth_alloc_buffer_pool()
164 pool->free_map = NULL; in ibmveth_alloc_buffer_pool()
172 pool->free_map[i] = i; in ibmveth_alloc_buffer_pool()
210 index = pool->free_map[free_index]; in ibmveth_replenish_buffer_pool()
238 pool->free_map[free_index] = 0xffff; in ibmveth_replenish_buffer_pool()
280 if(pool->free_map) { in ibmveth_free_buffer_pool()
[all …]
Dibmveth.h93 u16 *free_map; member