Home
last modified time | relevance | path

Searched refs:aio_req (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/fs/overlayfs/
Dfile.c259 static inline void ovl_aio_put(struct ovl_aio_req *aio_req) in ovl_aio_put() argument
261 if (refcount_dec_and_test(&aio_req->ref)) { in ovl_aio_put()
262 fdput(aio_req->fd); in ovl_aio_put()
263 kmem_cache_free(ovl_aio_request_cachep, aio_req); in ovl_aio_put()
267 static void ovl_aio_cleanup_handler(struct ovl_aio_req *aio_req) in ovl_aio_cleanup_handler() argument
269 struct kiocb *iocb = &aio_req->iocb; in ovl_aio_cleanup_handler()
270 struct kiocb *orig_iocb = aio_req->orig_iocb; in ovl_aio_cleanup_handler()
283 ovl_aio_put(aio_req); in ovl_aio_cleanup_handler()
288 struct ovl_aio_req *aio_req = container_of(iocb, in ovl_aio_rw_complete() local
290 struct kiocb *orig_iocb = aio_req->orig_iocb; in ovl_aio_rw_complete()
[all …]
/Linux-v6.1/fs/ceph/
Dfile.c1072 struct ceph_aio_request *aio_req) in ceph_aio_complete() argument
1077 if (!atomic_dec_and_test(&aio_req->pending_reqs)) in ceph_aio_complete()
1080 if (aio_req->iocb->ki_flags & IOCB_DIRECT) in ceph_aio_complete()
1083 ret = aio_req->error; in ceph_aio_complete()
1085 ret = aio_req->total_len; in ceph_aio_complete()
1089 if (ret >= 0 && aio_req->write) { in ceph_aio_complete()
1092 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete()
1100 &aio_req->prealloc_cf); in ceph_aio_complete()
1107 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()
1110 aio_req->iocb->ki_complete(aio_req->iocb, ret); in ceph_aio_complete()
[all …]