Lines Matching defs:buffers
804 * @size: initial size, in bytes, of send and receive buffers
1175 * rpcrdma_reply_put - Put reply buffers back into pool
1176 * @buffers: buffer pool
1180 void rpcrdma_reply_put(struct rpcrdma_buffer *buffers, struct rpcrdma_req *req)
1183 rpcrdma_rep_put(buffers, req->rl_reply);
1190 * @buffers: Buffer pool from which to obtain a buffer
1195 rpcrdma_buffer_get(struct rpcrdma_buffer *buffers)
1199 spin_lock(&buffers->rb_lock);
1200 req = list_first_entry_or_null(&buffers->rb_send_bufs,
1204 spin_unlock(&buffers->rb_lock);
1209 * rpcrdma_buffer_put - Put request/reply buffers back into pool
1210 * @buffers: buffer pool
1214 void rpcrdma_buffer_put(struct rpcrdma_buffer *buffers, struct rpcrdma_req *req)
1216 rpcrdma_reply_put(buffers, req);
1218 spin_lock(&buffers->rb_lock);
1219 list_add(&req->rl_list, &buffers->rb_send_bufs);
1220 spin_unlock(&buffers->rb_lock);
1326 * @temp: mark Receive buffers to be deleted after one use