Lines Matching refs:nbufs
31 __u32 nbufs; member
366 unsigned int __io_put_kbufs(struct io_kiocb *req, int len, int nbufs) in __io_put_kbufs() argument
377 if (!__io_put_kbuf_ring(req, len, nbufs)) in __io_put_kbufs()
383 struct io_buffer_list *bl, unsigned nbufs) in __io_remove_buffers() argument
388 if (!nbufs) in __io_remove_buffers()
410 if (++i == nbufs) in __io_remove_buffers()
463 p->nbufs = tmp; in io_remove_buffers_prep()
483 ret = __io_remove_buffers(ctx, bl, p->nbufs); in io_remove_buffers()
504 p->nbufs = tmp; in io_provide_buffers_prep()
510 if (check_mul_overflow((unsigned long)p->len, (unsigned long)p->nbufs, in io_provide_buffers_prep()
516 size = (unsigned long)p->len * p->nbufs; in io_provide_buffers_prep()
524 if (tmp + p->nbufs > MAX_BIDS_PER_BGID) in io_provide_buffers_prep()
537 for (i = 0; i < pbuf->nbufs; i++) { in io_add_buffers()