Home
last modified time | relevance | path

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

/include/linux/
Daio.h13 struct kiocb;
30 typedef int (kiocb_cancel_fn)(struct kiocb *, struct io_event *);
32 struct kiocb { struct
38 void (*ki_dtor)(struct kiocb *); argument
69 static inline bool is_sync_kiocb(struct kiocb *kiocb) in is_sync_kiocb() argument
71 return kiocb->ki_ctx == NULL; in is_sync_kiocb()
74 static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) in init_sync_kiocb() argument
76 *kiocb = (struct kiocb) { in init_sync_kiocb()
86 extern ssize_t wait_on_sync_kiocb(struct kiocb *iocb);
87 extern void aio_put_req(struct kiocb *iocb);
[all …]
Dnet.h122 struct kiocb;
164 int (*sendmsg) (struct kiocb *iocb, struct socket *sock,
166 int (*recvmsg) (struct kiocb *iocb, struct socket *sock,
Dnfs_fs.h455 extern ssize_t nfs_direct_IO(int, struct kiocb *, const struct iovec *, loff_t,
457 extern ssize_t nfs_file_direct_read(struct kiocb *iocb,
460 extern ssize_t nfs_file_direct_write(struct kiocb *iocb,
Dfs.h38 struct kiocb;
65 typedef void (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
370 ssize_t (*direct_IO)(int, struct kiocb *, const struct iovec *iov,
1548 ssize_t (*aio_read) (struct kiocb *, const struct iovec *, unsigned long, loff_t);
1549 ssize_t (*aio_write) (struct kiocb *, const struct iovec *, unsigned long, loff_t);
1560 int (*aio_fsync) (struct kiocb *, int datasync);
2428 extern ssize_t generic_file_aio_read(struct kiocb *, const struct iovec *, unsigned long, loff_t);
2429 extern ssize_t __generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long,
2431 extern ssize_t generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long, loff_t);
2432 extern ssize_t generic_file_direct_write(struct kiocb *, const struct iovec *,
[all …]
/include/net/
Dping.h79 int ping_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
83 int ping_v4_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
85 int ping_v6_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
Dinet_common.h24 extern int inet_sendmsg(struct kiocb *iocb, struct socket *sock,
28 extern int inet_recvmsg(struct kiocb *iocb, struct socket *sock,
Dsock.h920 int (*sendmsg)(struct kiocb *iocb, struct sock *sk,
922 int (*recvmsg)(struct kiocb *iocb, struct sock *sk,
1320 struct kiocb *kiocb; member
1323 static inline struct sock_iocb *kiocb_to_siocb(struct kiocb *iocb) in kiocb_to_siocb()
1328 static inline struct kiocb *siocb_to_kiocb(struct sock_iocb *si) in siocb_to_kiocb()
1330 return si->kiocb; in siocb_to_kiocb()
1557 extern int sock_no_sendmsg(struct kiocb *, struct socket *,
1559 extern int sock_no_recvmsg(struct kiocb *, struct socket *,
1575 extern int sock_common_recvmsg(struct kiocb *iocb, struct socket *sock,
Dudp.h183 extern int udp_sendmsg(struct kiocb *iocb, struct sock *sk,
Dtcp.h369 extern int tcp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
451 extern int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
/include/net/bluetooth/
Dbluetooth.h237 int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock,
239 int bt_sock_stream_recvmsg(struct kiocb *iocb, struct socket *sock,