Home
last modified time | relevance | path

Searched refs:kiocb (Results 1 – 22 of 22) sorted by relevance

/drivers/usb/gadget/function/
Df_fs.c214 struct kiocb *kiocb; member
833 bool kiocb_has_eventfd = io_data->kiocb->ki_flags & IOCB_EVENTFD; in ffs_user_copy_worker()
841 io_data->kiocb->ki_complete(io_data->kiocb, ret, ret); in ffs_user_copy_worker()
1173 static int ffs_aio_cancel(struct kiocb *kiocb) in ffs_aio_cancel() argument
1175 struct ffs_io_data *io_data = kiocb->private; in ffs_aio_cancel()
1176 struct ffs_epfile *epfile = kiocb->ki_filp->private_data; in ffs_aio_cancel()
1194 static ssize_t ffs_epfile_write_iter(struct kiocb *kiocb, struct iov_iter *from) in ffs_epfile_write_iter() argument
1201 if (!is_sync_kiocb(kiocb)) { in ffs_epfile_write_iter()
1212 p->kiocb = kiocb; in ffs_epfile_write_iter()
1216 kiocb->private = p; in ffs_epfile_write_iter()
[all …]
/drivers/char/
Drandom.c1287 static ssize_t random_write_iter(struct kiocb *kiocb, struct iov_iter *iter) in random_write_iter() argument
1292 static ssize_t urandom_read_iter(struct kiocb *kiocb, struct iov_iter *iter) in urandom_read_iter() argument
1309 static ssize_t random_read_iter(struct kiocb *kiocb, struct iov_iter *iter) in random_read_iter() argument
1314 ((kiocb->ki_flags & (IOCB_NOWAIT | IOCB_NOIO)) || in random_read_iter()
1315 (kiocb->ki_filp->f_flags & O_NONBLOCK))) in random_read_iter()
Dmem.c685 static ssize_t read_iter_null(struct kiocb *iocb, struct iov_iter *to) in read_iter_null()
690 static ssize_t write_iter_null(struct kiocb *iocb, struct iov_iter *from) in write_iter_null()
709 static ssize_t read_iter_zero(struct kiocb *iocb, struct iov_iter *iter) in read_iter_zero()
/drivers/nvme/target/
Dio-cmd-file.c105 struct kiocb *iocb = &req->f.iocb; in nvmet_file_submit_bvec()
106 ssize_t (*call_iter)(struct kiocb *iocb, struct iov_iter *iter); in nvmet_file_submit_bvec()
129 static void nvmet_file_io_done(struct kiocb *iocb, long ret, long ret2) in nvmet_file_io_done()
166 memset(&req->f.iocb, 0, sizeof(struct kiocb)); in nvmet_file_execute_io()
Dnvmet.h327 struct kiocb iocb;
/drivers/gpu/drm/
Ddrm_dp_aux_dev.c146 static ssize_t auxdev_read_iter(struct kiocb *iocb, struct iov_iter *to) in auxdev_read_iter()
189 static ssize_t auxdev_write_iter(struct kiocb *iocb, struct iov_iter *from) in auxdev_write_iter()
/drivers/block/
Dloop.h72 struct kiocb iocb;
Dloop.c504 static void lo_rw_aio_complete(struct kiocb *iocb, long ret, long ret2) in lo_rw_aio_complete()
/drivers/usb/gadget/legacy/
Dinode.c434 struct kiocb *iocb;
443 static int ep_aio_cancel(struct kiocb *iocb) in ep_aio_cancel()
466 struct kiocb *iocb = priv->iocb; in ep_user_copy_worker()
485 struct kiocb *iocb = req->context; in ep_aio_complete()
524 static ssize_t ep_aio(struct kiocb *iocb, in ep_aio()
577 ep_read_iter(struct kiocb *iocb, struct iov_iter *to) in ep_read_iter()
636 ep_write_iter(struct kiocb *iocb, struct iov_iter *from) in ep_write_iter()
/drivers/tty/
Dtty.h115 ssize_t redirected_tty_write(struct kiocb *, struct iov_iter *);
Dtty_io.c146 static ssize_t tty_read(struct kiocb *, struct iov_iter *);
147 static ssize_t tty_write(struct kiocb *, struct iov_iter *);
433 static ssize_t hung_up_tty_read(struct kiocb *iocb, struct iov_iter *to) in hung_up_tty_read()
438 static ssize_t hung_up_tty_write(struct kiocb *iocb, struct iov_iter *from) in hung_up_tty_write()
916 static ssize_t tty_read(struct kiocb *iocb, struct iov_iter *to) in tty_read()
1100 static ssize_t file_tty_write(struct file *file, struct kiocb *iocb, struct iov_iter *from) in file_tty_write()
1124 static ssize_t tty_write(struct kiocb *iocb, struct iov_iter *from) in tty_write()
1129 ssize_t redirected_tty_write(struct kiocb *iocb, struct iov_iter *iter) in redirected_tty_write()
/drivers/infiniband/hw/hfi1/
Dfile_ops.c77 static ssize_t hfi1_write_iter(struct kiocb *kiocb, struct iov_iter *from);
300 static ssize_t hfi1_write_iter(struct kiocb *kiocb, struct iov_iter *from) in hfi1_write_iter() argument
302 struct hfi1_filedata *fd = kiocb->ki_filp->private_data; in hfi1_write_iter()
/drivers/rpmsg/
Drpmsg_char.c166 static ssize_t rpmsg_eptdev_read_iter(struct kiocb *iocb, struct iov_iter *to) in rpmsg_eptdev_read_iter()
213 static ssize_t rpmsg_eptdev_write_iter(struct kiocb *iocb, in rpmsg_eptdev_write_iter()
/drivers/bluetooth/
Dhci_vhci.c285 static ssize_t vhci_write(struct kiocb *iocb, struct iov_iter *from) in vhci_write()
/drivers/md/
Ddm-user.c800 static ssize_t dev_read(struct kiocb *iocb, struct iov_iter *to) in dev_read()
895 static ssize_t dev_write(struct kiocb *iocb, struct iov_iter *from) in dev_write()
/drivers/target/
Dtarget_core_file.c243 struct kiocb iocb;
246 static void cmd_rw_aio_complete(struct kiocb *iocb, long ret, long ret2) in cmd_rw_aio_complete()
/drivers/net/
Dtap.c755 static ssize_t tap_write_iter(struct kiocb *iocb, struct iov_iter *from) in tap_write_iter()
871 static ssize_t tap_read_iter(struct kiocb *iocb, struct iov_iter *to) in tap_read_iter()
Dtun.c2045 static ssize_t tun_chr_write_iter(struct kiocb *iocb, struct iov_iter *from) in tun_chr_write_iter()
2272 static ssize_t tun_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) in tun_chr_read_iter()
/drivers/staging/android/
Dashmem.c296 static ssize_t ashmem_read_iter(struct kiocb *iocb, struct iov_iter *iter) in ashmem_read_iter()
/drivers/vhost/
Dnet.c1748 static ssize_t vhost_net_chr_read_iter(struct kiocb *iocb, struct iov_iter *to) in vhost_net_chr_read_iter()
1758 static ssize_t vhost_net_chr_write_iter(struct kiocb *iocb, in vhost_net_chr_write_iter()
Dvdpa.c787 static ssize_t vhost_vdpa_chr_write_iter(struct kiocb *iocb, in vhost_vdpa_chr_write_iter()
/drivers/infiniband/hw/qib/
Dqib_file_ops.c60 static ssize_t qib_write_iter(struct kiocb *, struct iov_iter *);
2242 static ssize_t qib_write_iter(struct kiocb *iocb, struct iov_iter *from) in qib_write_iter()