Lines Matching refs:rb
1202 struct rpcrdma_regbuf *rb; in rpcrdma_alloc_regbuf() local
1205 rb = kmalloc(sizeof(*rb) + size, flags); in rpcrdma_alloc_regbuf()
1206 if (rb == NULL) in rpcrdma_alloc_regbuf()
1209 iov = &rb->rg_iov; in rpcrdma_alloc_regbuf()
1211 (void *)rb->rg_base, size, in rpcrdma_alloc_regbuf()
1218 rb->rg_size = size; in rpcrdma_alloc_regbuf()
1219 rb->rg_owner = NULL; in rpcrdma_alloc_regbuf()
1220 return rb; in rpcrdma_alloc_regbuf()
1223 kfree(rb); in rpcrdma_alloc_regbuf()
1234 rpcrdma_free_regbuf(struct rpcrdma_ia *ia, struct rpcrdma_regbuf *rb) in rpcrdma_free_regbuf() argument
1238 if (!rb) in rpcrdma_free_regbuf()
1241 iov = &rb->rg_iov; in rpcrdma_free_regbuf()
1244 kfree(rb); in rpcrdma_free_regbuf()