kiocb 72 fs/aio.c kiocb_cachep = KMEM_CACHE(kiocb, SLAB_HWCACHE_ALIGN|SLAB_PANIC); kiocb 241 fs/aio.c (nr_events > (0x10000000U / sizeof(struct kiocb)))) { kiocb 310 fs/aio.c int (*cancel)(struct kiocb *, struct io_event *); kiocb 316 fs/aio.c struct kiocb *iocb = list_kiocb(pos); kiocb 411 fs/aio.c static struct kiocb *__aio_get_req(struct kioctx *ctx) kiocb 413 fs/aio.c struct kiocb *req = NULL; kiocb 454 fs/aio.c static inline struct kiocb *aio_get_req(struct kioctx *ctx) kiocb 456 fs/aio.c struct kiocb *req; kiocb 490 fs/aio.c struct kiocb *req = list_kiocb(fput_head.next); kiocb 666 fs/aio.c ssize_t (*retry)(struct kiocb *); kiocb 761 fs/aio.c struct kiocb *iocb; kiocb 768 fs/aio.c iocb = list_entry(run_list.next, struct kiocb, kiocb 1338 fs/aio.c ssize_t (*rw_op)(struct kiocb *, const struct iovec *, kiocb 1408 fs/aio.c ret = rw_copy_check_uvector(type, (struct iovec __user *)kiocb->ki_buf, kiocb 1409 fs/aio.c kiocb->ki_nbytes, 1, kiocb 1410 fs/aio.c &kiocb->ki_inline_vec, &kiocb->ki_iovec); kiocb 1414 fs/aio.c kiocb->ki_nr_segs = kiocb->ki_nbytes; kiocb 1415 fs/aio.c kiocb->ki_cur_seg = 0; kiocb 1417 fs/aio.c kiocb->ki_nbytes = ret; kiocb 1418 fs/aio.c kiocb->ki_left = ret; kiocb 1427 fs/aio.c kiocb->ki_iovec = &kiocb->ki_inline_vec; kiocb 1428 fs/aio.c kiocb->ki_iovec->iov_base = kiocb->ki_buf; kiocb 1429 fs/aio.c kiocb->ki_iovec->iov_len = kiocb->ki_left; kiocb 1430 fs/aio.c kiocb->ki_nr_segs = 1; kiocb 1431 fs/aio.c kiocb->ki_cur_seg = 0; kiocb 1442 fs/aio.c struct file *file = kiocb->ki_filp; kiocb 1445 fs/aio.c switch (kiocb->ki_opcode) { kiocb 1451 fs/aio.c if (unlikely(!access_ok(VERIFY_WRITE, kiocb->ki_buf, kiocb 1452 fs/aio.c kiocb->ki_left))) kiocb 1457 fs/aio.c ret = aio_setup_single_vector(kiocb); kiocb 1462 fs/aio.c kiocb->ki_retry = aio_rw_vect_retry; kiocb 1469 fs/aio.c if (unlikely(!access_ok(VERIFY_READ, kiocb->ki_buf, kiocb 1470 fs/aio.c kiocb->ki_left))) kiocb 1475 fs/aio.c ret = aio_setup_single_vector(kiocb); kiocb 1480 fs/aio.c kiocb->ki_retry = aio_rw_vect_retry; kiocb 1489 fs/aio.c ret = aio_setup_vectored_rw(READ, kiocb); kiocb 1494 fs/aio.c kiocb->ki_retry = aio_rw_vect_retry; kiocb 1503 fs/aio.c ret = aio_setup_vectored_rw(WRITE, kiocb); kiocb 1508 fs/aio.c kiocb->ki_retry = aio_rw_vect_retry; kiocb 1513 fs/aio.c kiocb->ki_retry = aio_fdsync; kiocb 1518 fs/aio.c kiocb->ki_retry = aio_fsync; kiocb 1525 fs/aio.c if (!kiocb->ki_retry) kiocb 1549 fs/aio.c struct kiocb *iocb = container_of(wait, struct kiocb, ki_wait); kiocb 1559 fs/aio.c struct kiocb *req; kiocb 1702 fs/aio.c static struct kiocb *lookup_kiocb(struct kioctx *ctx, struct iocb __user *iocb, kiocb 1711 fs/aio.c struct kiocb *kiocb = list_kiocb(pos); kiocb 1712 fs/aio.c if (kiocb->ki_obj.user == iocb && kiocb->ki_key == key) kiocb 1713 fs/aio.c return kiocb; kiocb 1731 fs/aio.c int (*cancel)(struct kiocb *iocb, struct io_event *res); kiocb 1733 fs/aio.c struct kiocb *kiocb; kiocb 1747 fs/aio.c kiocb = lookup_kiocb(ctx, iocb, key); kiocb 1748 fs/aio.c if (kiocb && kiocb->ki_cancel) { kiocb 1749 fs/aio.c cancel = kiocb->ki_cancel; kiocb 1750 fs/aio.c kiocb->ki_users ++; kiocb 1751 fs/aio.c kiocbSetCancelled(kiocb); kiocb 1760 fs/aio.c tmp.obj = (u64)(unsigned long)kiocb->ki_obj.user; kiocb 1761 fs/aio.c tmp.data = kiocb->ki_user_data; kiocb 1762 fs/aio.c ret = cancel(kiocb, &tmp); kiocb 130 fs/direct-io.c struct kiocb *iocb; /* kiocb */ kiocb 71 fs/nfs/direct.c struct kiocb * iocb; /* controlling i/o request */ kiocb 2167 fs/ntfs/file.c struct kiocb kiocb; kiocb 2171 fs/ntfs/file.c init_sync_kiocb(&kiocb, file); kiocb 2172 fs/ntfs/file.c ret = ntfs_file_aio_write_nolock(&kiocb, iov, nr_segs, ppos); kiocb 2174 fs/ntfs/file.c ret = wait_on_sync_kiocb(&kiocb); kiocb 220 fs/read_write.c struct kiocb kiocb; kiocb 223 fs/read_write.c init_sync_kiocb(&kiocb, filp); kiocb 224 fs/read_write.c kiocb.ki_pos = *ppos; kiocb 225 fs/read_write.c kiocb.ki_left = len; kiocb 228 fs/read_write.c ret = filp->f_op->aio_read(&kiocb, &iov, 1, kiocb.ki_pos); kiocb 231 fs/read_write.c wait_on_retry_sync_kiocb(&kiocb); kiocb 235 fs/read_write.c ret = wait_on_sync_kiocb(&kiocb); kiocb 236 fs/read_write.c *ppos = kiocb.ki_pos; kiocb 275 fs/read_write.c struct kiocb kiocb; kiocb 278 fs/read_write.c init_sync_kiocb(&kiocb, filp); kiocb 279 fs/read_write.c kiocb.ki_pos = *ppos; kiocb 280 fs/read_write.c kiocb.ki_left = len; kiocb 283 fs/read_write.c ret = filp->f_op->aio_write(&kiocb, &iov, 1, kiocb.ki_pos); kiocb 286 fs/read_write.c wait_on_retry_sync_kiocb(&kiocb); kiocb 290 fs/read_write.c ret = wait_on_sync_kiocb(&kiocb); kiocb 291 fs/read_write.c *ppos = kiocb.ki_pos; kiocb 437 fs/read_write.c struct kiocb kiocb; kiocb 440 fs/read_write.c init_sync_kiocb(&kiocb, filp); kiocb 441 fs/read_write.c kiocb.ki_pos = *ppos; kiocb 442 fs/read_write.c kiocb.ki_left = len; kiocb 443 fs/read_write.c kiocb.ki_nbytes = len; kiocb 446 fs/read_write.c ret = fn(&kiocb, iov, nr_segs, kiocb.ki_pos); kiocb 449 fs/read_write.c wait_on_retry_sync_kiocb(&kiocb); kiocb 453 fs/read_write.c ret = wait_on_sync_kiocb(&kiocb); kiocb 454 fs/read_write.c *ppos = kiocb.ki_pos; kiocb 10 fs/xfs/xfs_vnodeops.h struct kiocb; kiocb 94 include/linux/aio.h int (*ki_cancel)(struct kiocb *, struct io_event *); kiocb 95 include/linux/aio.h ssize_t (*ki_retry)(struct kiocb *); kiocb 96 include/linux/aio.h void (*ki_dtor)(struct kiocb *); kiocb 214 include/linux/aio.h #define io_wait_to_kiocb(wait) container_of(wait, struct kiocb, ki_wait) kiocb 218 include/linux/aio.h static inline struct kiocb *list_kiocb(struct list_head *h) kiocb 220 include/linux/aio.h return list_entry(h, struct kiocb, ki_list); kiocb 307 include/linux/fs.h struct kiocb; kiocb 505 include/linux/fs.h ssize_t (*direct_IO)(int, struct kiocb *, const struct iovec *iov, kiocb 1300 include/linux/fs.h ssize_t (*aio_read) (struct kiocb *, const struct iovec *, unsigned long, loff_t); kiocb 1301 include/linux/fs.h ssize_t (*aio_write) (struct kiocb *, const struct iovec *, unsigned long, loff_t); kiocb 1312 include/linux/fs.h int (*aio_fsync) (struct kiocb *, int datasync); kiocb 141 include/linux/net.h struct kiocb; kiocb 179 include/linux/net.h int (*sendmsg) (struct kiocb *iocb, struct socket *sock, kiocb 181 include/linux/net.h int (*recvmsg) (struct kiocb *iocb, struct socket *sock, kiocb 312 include/linux/net.h SOCKCALL_WRAP(name, sendmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len), \ kiocb 314 include/linux/net.h SOCKCALL_WRAP(name, recvmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len, int flags), \ kiocb 550 include/net/sock.h int (*sendmsg)(struct kiocb *iocb, struct sock *sk, kiocb 552 include/net/sock.h int (*recvmsg)(struct kiocb *iocb, struct sock *sk, kiocb 689 include/net/sock.h struct kiocb *kiocb; kiocb 697 include/net/sock.h static inline struct kiocb *siocb_to_kiocb(struct sock_iocb *si) kiocb 699 include/net/sock.h return si->kiocb; kiocb 1204 net/netlink/af_netlink.c struct sock_iocb *siocb = kiocb_to_siocb(kiocb); kiocb 1288 net/netlink/af_netlink.c struct sock_iocb *siocb = kiocb_to_siocb(kiocb); kiocb 569 net/socket.c struct kiocb iocb; kiocb 652 net/socket.c struct kiocb iocb; kiocb 723 net/socket.c siocb->kiocb = iocb; kiocb 1320 net/unix/af_unix.c struct sock_iocb *siocb = kiocb_to_siocb(kiocb); kiocb 1471 net/unix/af_unix.c struct sock_iocb *siocb = kiocb_to_siocb(kiocb); kiocb 1593 net/unix/af_unix.c return unix_dgram_sendmsg(kiocb, sock, msg, len);