Lines Matching refs:free_map
169 pool->free_map = kmalloc_array(pool->size, sizeof(u16), GFP_KERNEL); in ibmveth_alloc_buffer_pool()
171 if (!pool->free_map) in ibmveth_alloc_buffer_pool()
176 kfree(pool->free_map); in ibmveth_alloc_buffer_pool()
177 pool->free_map = NULL; in ibmveth_alloc_buffer_pool()
187 kfree(pool->free_map); in ibmveth_alloc_buffer_pool()
188 pool->free_map = NULL; in ibmveth_alloc_buffer_pool()
193 pool->free_map[i] = i; in ibmveth_alloc_buffer_pool()
231 index = pool->free_map[free_index]; in ibmveth_replenish_buffer_pool()
282 pool->free_map[free_index] = IBM_VETH_INVALID_MAP; in ibmveth_replenish_buffer_pool()
345 kfree(pool->free_map); in ibmveth_free_buffer_pool()
346 pool->free_map = NULL; in ibmveth_free_buffer_pool()
409 adapter->rx_buff_pool[pool].free_map[free_index] = index; in ibmveth_remove_buffer_from_pool()