Lines Matching refs:io_buffer
258 struct io_buffer { struct
583 struct io_buffer *kbuf;
2391 static unsigned int io_put_kbuf(struct io_kiocb *req, struct io_buffer *kbuf) in io_put_kbuf()
2404 struct io_buffer *kbuf; in io_put_rw_kbuf()
2408 kbuf = (struct io_buffer *) (unsigned long) req->rw.addr; in io_put_rw_kbuf()
3052 static struct io_buffer *io_buffer_select(struct io_kiocb *req, size_t *len, in io_buffer_select()
3053 int bgid, struct io_buffer *kbuf, in io_buffer_select()
3056 struct io_buffer *head; in io_buffer_select()
3068 kbuf = list_last_entry(&head->list, struct io_buffer, in io_buffer_select()
3089 struct io_buffer *kbuf; in io_rw_buffer_select()
3092 kbuf = (struct io_buffer *) (unsigned long) req->rw.addr; in io_rw_buffer_select()
3154 struct io_buffer *kbuf; in io_iov_buffer_select()
3156 kbuf = (struct io_buffer *) (unsigned long) req->rw.addr; in io_iov_buffer_select()
4289 static int __io_remove_buffers(struct io_ring_ctx *ctx, struct io_buffer *buf, in __io_remove_buffers()
4300 struct io_buffer *nxt; in __io_remove_buffers()
4302 nxt = list_first_entry(&buf->list, struct io_buffer, list); in __io_remove_buffers()
4319 struct io_buffer *head; in io_remove_buffers()
4375 static int io_add_buffers(struct io_provide_buf *pbuf, struct io_buffer **head) in io_add_buffers()
4377 struct io_buffer *buf; in io_add_buffers()
4406 struct io_buffer *head, *list; in io_provide_buffers()
4918 static struct io_buffer *io_recv_buffer_select(struct io_kiocb *req, in io_recv_buffer_select()
4922 struct io_buffer *kbuf; in io_recv_buffer_select()
4973 struct io_buffer *kbuf; in io_recvmsg()
5028 struct io_buffer *kbuf; in io_recv()
9209 struct io_buffer *buf; in io_destroy_buffers()