Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/irdma/
Dpuda.c143 struct irdma_virt_mem buf_mem; in irdma_puda_alloc_buf() local
145 buf_mem.size = sizeof(struct irdma_puda_buf); in irdma_puda_alloc_buf()
146 buf_mem.va = kzalloc(buf_mem.size, GFP_KERNEL); in irdma_puda_alloc_buf()
147 if (!buf_mem.va) in irdma_puda_alloc_buf()
150 buf = buf_mem.va; in irdma_puda_alloc_buf()
162 buf->buf_mem.va = buf_mem.va; in irdma_puda_alloc_buf()
163 buf->buf_mem.size = buf_mem.size; in irdma_puda_alloc_buf()
168 kfree(buf_mem.va); in irdma_puda_alloc_buf()
183 kfree(buf->buf_mem.va); in irdma_puda_dele_buf()
Dpuda.h60 struct irdma_virt_mem buf_mem; /* Buffer memory for this buffer */ member