Lines Matching defs:buffers
838 * @size: initial size, in bytes, of send and receive buffers
1199 * rpcrdma_reply_put - Put reply buffers back into pool
1200 * @buffers: buffer pool
1204 void rpcrdma_reply_put(struct rpcrdma_buffer *buffers, struct rpcrdma_req *req)
1207 rpcrdma_rep_put(buffers, req->rl_reply);
1214 * @buffers: Buffer pool from which to obtain a buffer
1219 rpcrdma_buffer_get(struct rpcrdma_buffer *buffers)
1223 spin_lock(&buffers->rb_lock);
1224 req = list_first_entry_or_null(&buffers->rb_send_bufs,
1228 spin_unlock(&buffers->rb_lock);
1233 * rpcrdma_buffer_put - Put request/reply buffers back into pool
1234 * @buffers: buffer pool
1238 void rpcrdma_buffer_put(struct rpcrdma_buffer *buffers, struct rpcrdma_req *req)
1240 rpcrdma_reply_put(buffers, req);
1242 spin_lock(&buffers->rb_lock);
1243 list_add(&req->rl_list, &buffers->rb_send_bufs);
1244 spin_unlock(&buffers->rb_lock);
1391 * @temp: mark Receive buffers to be deleted after one use