Lines Matching refs:free_map
144 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()
281 kfree(pool->free_map); in ibmveth_free_buffer_pool()
282 pool->free_map = NULL; in ibmveth_free_buffer_pool()
333 adapter->rx_buff_pool[pool].free_map[free_index] = index; in ibmveth_remove_buffer_from_pool()