Home
last modified time | relevance | path

Searched refs:reqs (Results 1 – 6 of 6) sorted by relevance

/fs/
Daio.c101 struct percpu_ref reqs; member
590 percpu_ref_exit(&ctx->reqs); in free_ioctx()
597 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs()
629 percpu_ref_kill(&ctx->reqs); in free_ioctx_users()
630 percpu_ref_put(&ctx->reqs); in free_ioctx_users()
753 if (percpu_ref_init(&ctx->reqs, free_ioctx_reqs, 0, GFP_KERNEL)) in ioctx_alloc()
781 percpu_ref_get(&ctx->reqs); /* free_ioctx_users() will drop this */ in ioctx_alloc()
804 percpu_ref_exit(&ctx->reqs); in ioctx_alloc()
1039 percpu_ref_get(&ctx->reqs); in aio_get_req()
1081 percpu_ref_put(&iocb->ki_ctx->reqs); in iocb_destroy()
Dio_uring.c349 void *reqs[IO_IOPOLL_BATCH]; member
626 sz = min_t(size_t, state->ios_left, ARRAY_SIZE(state->reqs)); in io_get_req()
627 ret = kmem_cache_alloc_bulk(req_cachep, gfp, sz, state->reqs); in io_get_req()
634 state->reqs[0] = kmem_cache_alloc(req_cachep, gfp); in io_get_req()
635 if (!state->reqs[0]) in io_get_req()
641 req = state->reqs[0]; in io_get_req()
643 req = state->reqs[state->cur_req]; in io_get_req()
660 static void io_free_req_many(struct io_ring_ctx *ctx, void **reqs, int *nr) in io_free_req_many() argument
663 kmem_cache_free_bulk(req_cachep, *nr, reqs); in io_free_req_many()
762 void *reqs[IO_IOPOLL_BATCH]; in io_iopoll_complete() local
[all …]
/fs/nfs/
Ddirect.c625 LIST_HEAD(reqs); in nfs_direct_write_reschedule()
630 nfs_direct_write_scan_commit_list(dreq->inode, &reqs, &cinfo); in nfs_direct_write_reschedule()
634 list_for_each_entry(req, &reqs, wb_list) in nfs_direct_write_reschedule()
644 list_for_each_entry_safe(req, tmp, &reqs, wb_list) { in nfs_direct_write_reschedule()
/fs/fuse/
Dvirtio_fs.c459 LIST_HEAD(reqs); in virtio_fs_requests_done_work()
468 list_move_tail(&req->list, &reqs); in virtio_fs_requests_done_work()
475 list_for_each_entry_safe(req, next, &reqs, list) { in virtio_fs_requests_done_work()
Dfuse_i.h271 unsigned reqs; member
Dfile.c625 left = --io->reqs; in fuse_aio_complete()
711 io->reqs++; in fuse_async_req_send()
3081 io->reqs = 1; in fuse_direct_IO()