Lines Matching refs:skbuff
180 pool->skbuff = kcalloc(pool->size, sizeof(void *), GFP_KERNEL); in ibmveth_alloc_buffer_pool()
182 if (!pool->skbuff) { in ibmveth_alloc_buffer_pool()
245 BUG_ON(pool->skbuff[index] != NULL); in ibmveth_replenish_buffer_pool()
255 pool->skbuff[index] = skb; in ibmveth_replenish_buffer_pool()
286 pool->skbuff[index] = NULL; in ibmveth_replenish_buffer_pool()
341 if (pool->skbuff && pool->dma_addr) { in ibmveth_free_buffer_pool()
343 struct sk_buff *skb = pool->skbuff[i]; in ibmveth_free_buffer_pool()
350 pool->skbuff[i] = NULL; in ibmveth_free_buffer_pool()
360 if (pool->skbuff) { in ibmveth_free_buffer_pool()
361 kfree(pool->skbuff); in ibmveth_free_buffer_pool()
362 pool->skbuff = NULL; in ibmveth_free_buffer_pool()
378 skb = adapter->rx_buff_pool[pool].skbuff[index]; in ibmveth_remove_buffer_from_pool()
382 adapter->rx_buff_pool[pool].skbuff[index] = NULL; in ibmveth_remove_buffer_from_pool()
411 return adapter->rx_buff_pool[pool].skbuff[index]; in ibmveth_rxq_get_buffer()