Searched refs:buf_mem (Results 1 – 3 of 3) sorted by relevance
252 char *buf_mem = NULL; in do_server() local291 buf_mem = mmap(NULL, dmabuf_size, PROT_READ | PROT_WRITE, MAP_SHARED, in do_server()293 if (buf_mem == MAP_FAILED) in do_server()419 ((unsigned char *)buf_mem) + in do_server()424 ((unsigned char *)buf_mem) + in do_server()454 munmap(buf_mem, dmabuf_size); in do_server()
143 struct irdma_virt_mem buf_mem; in irdma_puda_alloc_buf() local145 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()
60 struct irdma_virt_mem buf_mem; /* Buffer memory for this buffer */ member