Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_user_sdma.c87 struct kmem_cache *pkt_slab; member
117 pq->pkt_slab = kmem_cache_create(pq->pkt_slab_name, in ipath_user_sdma_queue_create()
121 if (!pq->pkt_slab) in ipath_user_sdma_queue_create()
138 kmem_cache_destroy(pq->pkt_slab); in ipath_user_sdma_queue_create()
382 kmem_cache_free(pq->pkt_slab, pkt); in ipath_user_sdma_free_pkt_list()
426 pkt = kmem_cache_alloc(pq->pkt_slab, GFP_KERNEL); in ipath_user_sdma_queue_pkts()
550 kmem_cache_free(pq->pkt_slab, pkt); in ipath_user_sdma_queue_pkts()
605 kmem_cache_destroy(pq->pkt_slab); in ipath_user_sdma_queue_destroy()
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_user_sdma.c86 struct kmem_cache *pkt_slab; member
116 pq->pkt_slab = kmem_cache_create(pq->pkt_slab_name, in qib_user_sdma_queue_create()
120 if (!pq->pkt_slab) in qib_user_sdma_queue_create()
137 kmem_cache_destroy(pq->pkt_slab); in qib_user_sdma_queue_create()
383 kmem_cache_free(pq->pkt_slab, pkt); in qib_user_sdma_free_pkt_list()
428 pkt = kmem_cache_alloc(pq->pkt_slab, GFP_KERNEL); in qib_user_sdma_queue_pkts()
551 kmem_cache_free(pq->pkt_slab, pkt); in qib_user_sdma_queue_pkts()
607 kmem_cache_destroy(pq->pkt_slab); in qib_user_sdma_queue_destroy()