Home
last modified time | relevance | path

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

123456

/linux-3.4.99/fs/
Daio.c75 kiocb_cachep = KMEM_CACHE(kiocb, SLAB_HWCACHE_ALIGN|SLAB_PANIC); in aio_setup()
250 (nr_events > (0x10000000U / sizeof(struct kiocb)))) { in ioctx_alloc()
314 int (*cancel)(struct kiocb *, struct io_event *); in kill_ctx()
323 struct kiocb *iocb = list_kiocb(pos); in kill_ctx()
356 ssize_t wait_on_sync_kiocb(struct kiocb *iocb) in wait_on_sync_kiocb()
416 static struct kiocb *__aio_get_req(struct kioctx *ctx) in __aio_get_req()
418 struct kiocb *req = NULL; in __aio_get_req()
457 struct kiocb *req, *n; in kiocb_batch_free()
483 struct kiocb *req, *n; in kiocb_batch_refill()
543 static inline struct kiocb *aio_get_req(struct kioctx *ctx, in aio_get_req()
[all …]
Dread_write.c328 static void wait_on_retry_sync_kiocb(struct kiocb *iocb) in wait_on_retry_sync_kiocb()
341 struct kiocb kiocb; in do_sync_read() local
344 init_sync_kiocb(&kiocb, filp); in do_sync_read()
345 kiocb.ki_pos = *ppos; in do_sync_read()
346 kiocb.ki_left = len; in do_sync_read()
347 kiocb.ki_nbytes = len; in do_sync_read()
350 ret = filp->f_op->aio_read(&kiocb, &iov, 1, kiocb.ki_pos); in do_sync_read()
353 wait_on_retry_sync_kiocb(&kiocb); in do_sync_read()
357 ret = wait_on_sync_kiocb(&kiocb); in do_sync_read()
358 *ppos = kiocb.ki_pos; in do_sync_read()
[all …]
Dbad_inode.c36 static ssize_t bad_file_aio_read(struct kiocb *iocb, const struct iovec *iov, in bad_file_aio_read()
42 static ssize_t bad_file_aio_write(struct kiocb *iocb, const struct iovec *iov, in bad_file_aio_write()
96 static int bad_file_aio_fsync(struct kiocb *iocb, int datasync) in bad_file_aio_fsync()
Dread_write.h8 typedef ssize_t (*iov_fn_t)(struct kiocb *, const struct iovec *,
/linux-3.4.99/include/linux/
Daio.h87 struct kiocb { struct
95 int (*ki_cancel)(struct kiocb *, struct io_event *); argument
96 ssize_t (*ki_retry)(struct kiocb *); argument
97 void (*ki_dtor)(struct kiocb *); argument
211 extern ssize_t wait_on_sync_kiocb(struct kiocb *iocb);
212 extern int aio_put_req(struct kiocb *iocb);
213 extern void kick_iocb(struct kiocb *iocb);
214 extern int aio_complete(struct kiocb *iocb, long res, long res2);
220 static inline ssize_t wait_on_sync_kiocb(struct kiocb *iocb) { return 0; } in wait_on_sync_kiocb()
221 static inline int aio_put_req(struct kiocb *iocb) { return 0; } in aio_put_req()
[all …]
Dnet.h157 struct kiocb;
199 int (*sendmsg) (struct kiocb *iocb, struct socket *sock,
209 int (*recvmsg) (struct kiocb *iocb, struct socket *sock,
Dfs.h412 struct kiocb;
434 typedef void (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
615 ssize_t (*direct_IO)(int, struct kiocb *, const struct iovec *iov,
1616 ssize_t (*aio_read) (struct kiocb *, const struct iovec *, unsigned long, loff_t);
1617 ssize_t (*aio_write) (struct kiocb *, const struct iovec *, unsigned long, loff_t);
1627 int (*aio_fsync) (struct kiocb *, int datasync);
2369 extern ssize_t generic_file_aio_read(struct kiocb *, const struct iovec *, unsigned long, loff_t);
2370 extern ssize_t __generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long,
2372 extern ssize_t generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long, loff_t);
2373 extern ssize_t generic_file_direct_write(struct kiocb *, const struct iovec *,
[all …]
Dnfs_fs.h475 extern ssize_t nfs_direct_IO(int, struct kiocb *, const struct iovec *, loff_t,
477 extern ssize_t nfs_file_direct_read(struct kiocb *iocb,
480 extern ssize_t nfs_file_direct_write(struct kiocb *iocb,
/linux-3.4.99/fs/cifs/
Dcifsfs.h85 extern ssize_t cifs_user_readv(struct kiocb *iocb, const struct iovec *iov,
87 extern ssize_t cifs_strict_readv(struct kiocb *iocb, const struct iovec *iov,
89 extern ssize_t cifs_user_writev(struct kiocb *iocb, const struct iovec *iov,
91 extern ssize_t cifs_strict_writev(struct kiocb *iocb, const struct iovec *iov,
/linux-3.4.99/net/ipv6/
Dudp_impl.h26 extern int udpv6_sendmsg(struct kiocb *iocb, struct sock *sk,
28 extern int udpv6_recvmsg(struct kiocb *iocb, struct sock *sk,
/linux-3.4.99/net/atm/
Dcommon.h16 int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
18 int vcc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m,
/linux-3.4.99/include/net/
Dinet_common.h22 extern int inet_sendmsg(struct kiocb *iocb, struct socket *sock,
26 extern int inet_recvmsg(struct kiocb *iocb, struct socket *sock,
Dsock.h845 int (*sendmsg)(struct kiocb *iocb, struct sock *sk,
847 int (*recvmsg)(struct kiocb *iocb, struct sock *sk,
1220 struct kiocb *kiocb; member
1223 static inline struct sock_iocb *kiocb_to_siocb(struct kiocb *iocb) in kiocb_to_siocb()
1228 static inline struct kiocb *siocb_to_kiocb(struct sock_iocb *si) in siocb_to_kiocb()
1230 return si->kiocb; in siocb_to_kiocb()
1462 extern int sock_no_sendmsg(struct kiocb *, struct socket *,
1464 extern int sock_no_recvmsg(struct kiocb *, struct socket *,
1480 extern int sock_common_recvmsg(struct kiocb *iocb, struct socket *sock,
/linux-3.4.99/fs/ocfs2/
Dinode.h150 int ocfs2_aio_read(struct file *file, struct kiocb *req, struct iocb *iocb);
151 int ocfs2_aio_write(struct file *file, struct kiocb *req, struct iocb *iocb);
Daops.h63 static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) in ocfs2_iocb_set_rw_locked()
/linux-3.4.99/net/unix/
Daf_unix.c512 static int unix_stream_sendmsg(struct kiocb *, struct socket *,
514 static int unix_stream_recvmsg(struct kiocb *, struct socket *,
516 static int unix_dgram_sendmsg(struct kiocb *, struct socket *,
518 static int unix_dgram_recvmsg(struct kiocb *, struct socket *,
522 static int unix_seqpacket_sendmsg(struct kiocb *, struct socket *,
524 static int unix_seqpacket_recvmsg(struct kiocb *, struct socket *,
1446 static int unix_dgram_sendmsg(struct kiocb *kiocb, struct socket *sock, in unix_dgram_sendmsg() argument
1449 struct sock_iocb *siocb = kiocb_to_siocb(kiocb); in unix_dgram_sendmsg()
1611 static int unix_stream_sendmsg(struct kiocb *kiocb, struct socket *sock, in unix_stream_sendmsg() argument
1614 struct sock_iocb *siocb = kiocb_to_siocb(kiocb); in unix_stream_sendmsg()
[all …]
/linux-3.4.99/net/phonet/
Ddatagram.c86 static int pn_sendmsg(struct kiocb *iocb, struct sock *sk, in pn_sendmsg()
129 static int pn_recvmsg(struct kiocb *iocb, struct sock *sk, in pn_recvmsg()
/linux-3.4.99/fs/xfs/
Dxfs_aops.h57 struct kiocb *io_iocb;
/linux-3.4.99/include/net/bluetooth/
Dbluetooth.h206 int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock,
208 int bt_sock_stream_recvmsg(struct kiocb *iocb, struct socket *sock,
/linux-3.4.99/net/ipv4/
Dudp_impl.h24 extern int udp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
/linux-3.4.99/net/ieee802154/
Draw.c105 static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, in raw_sendmsg()
177 static int raw_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, in raw_recvmsg()
/linux-3.4.99/fs/nfs/
Ddirect.c73 struct kiocb * iocb; /* controlling i/o request */
118 ssize_t nfs_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov, loff_t pos, unsigned lon… in nfs_direct_IO()
422 static ssize_t nfs_direct_read(struct kiocb *iocb, const struct iovec *iov, in nfs_direct_read()
854 static ssize_t nfs_direct_write(struct kiocb *iocb, const struct iovec *iov, in nfs_direct_write()
910 ssize_t nfs_file_direct_read(struct kiocb *iocb, const struct iovec *iov, in nfs_file_direct_read()
966 ssize_t nfs_file_direct_write(struct kiocb *iocb, const struct iovec *iov, in nfs_file_direct_write()
/linux-3.4.99/net/
Dsocket.c109 static ssize_t sock_aio_read(struct kiocb *iocb, const struct iovec *iov,
111 static ssize_t sock_aio_write(struct kiocb *iocb, const struct iovec *iov,
551 static inline int __sock_sendmsg_nosec(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg_nosec()
568 static inline int __sock_sendmsg(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg()
578 struct kiocb iocb; in sock_sendmsg()
593 struct kiocb iocb; in sock_sendmsg_nosec()
717 static inline int __sock_recvmsg_nosec(struct kiocb *iocb, struct socket *sock, in __sock_recvmsg_nosec()
733 static inline int __sock_recvmsg(struct kiocb *iocb, struct socket *sock, in __sock_recvmsg()
744 struct kiocb iocb; in sock_recvmsg()
760 struct kiocb iocb; in sock_recvmsg_nosec()
[all …]
/linux-3.4.99/net/caif/
Dcaif_socket.c277 static int caif_seqpkt_recvmsg(struct kiocb *iocb, struct socket *sock, in caif_seqpkt_recvmsg()
349 static int caif_stream_recvmsg(struct kiocb *iocb, struct socket *sock, in caif_stream_recvmsg()
516 static int caif_seqpkt_sendmsg(struct kiocb *kiocb, struct socket *sock, in caif_seqpkt_sendmsg() argument
591 static int caif_stream_sendmsg(struct kiocb *kiocb, struct socket *sock, in caif_stream_sendmsg() argument
/linux-3.4.99/net/rxrpc/
Dar-output.c23 static int rxrpc_send_data(struct kiocb *iocb,
129 int rxrpc_client_sendmsg(struct kiocb *iocb, struct rxrpc_sock *rx, in rxrpc_client_sendmsg()
274 int rxrpc_server_sendmsg(struct kiocb *iocb, struct rxrpc_sock *rx, in rxrpc_server_sendmsg()
523 static int rxrpc_send_data(struct kiocb *iocb, in rxrpc_send_data()

123456