Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
More work from Al Viro to move away from modifying iovecs by using iov_iter instead. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -103,14 +103,14 @@ struct vsock_transport {
|
||||
int (*dgram_dequeue)(struct kiocb *kiocb, struct vsock_sock *vsk,
|
||||
struct msghdr *msg, size_t len, int flags);
|
||||
int (*dgram_enqueue)(struct vsock_sock *, struct sockaddr_vm *,
|
||||
struct iovec *, size_t len);
|
||||
struct msghdr *, size_t len);
|
||||
bool (*dgram_allow)(u32 cid, u32 port);
|
||||
|
||||
/* STREAM. */
|
||||
/* TODO: stream_bind() */
|
||||
ssize_t (*stream_dequeue)(struct vsock_sock *, struct iovec *,
|
||||
ssize_t (*stream_dequeue)(struct vsock_sock *, struct msghdr *,
|
||||
size_t len, int flags);
|
||||
ssize_t (*stream_enqueue)(struct vsock_sock *, struct iovec *,
|
||||
ssize_t (*stream_enqueue)(struct vsock_sock *, struct msghdr *,
|
||||
size_t len);
|
||||
s64 (*stream_has_data)(struct vsock_sock *);
|
||||
s64 (*stream_has_space)(struct vsock_sock *);
|
||||
|
||||
+1
-1
@@ -150,7 +150,7 @@ int ipxrtr_add_route(__be32 network, struct ipx_interface *intrfc,
|
||||
unsigned char *node);
|
||||
void ipxrtr_del_routes(struct ipx_interface *intrfc);
|
||||
int ipxrtr_route_packet(struct sock *sk, struct sockaddr_ipx *usipx,
|
||||
struct iovec *iov, size_t len, int noblock);
|
||||
struct msghdr *msg, size_t len, int noblock);
|
||||
int ipxrtr_route_skb(struct sk_buff *skb);
|
||||
struct ipx_route *ipxrtr_lookup(__be32 net);
|
||||
int ipxrtr_ioctl(unsigned int cmd, void __user *arg);
|
||||
|
||||
@@ -219,7 +219,7 @@ struct sctp_chunk *sctp_make_abort_no_data(const struct sctp_association *,
|
||||
const struct sctp_chunk *,
|
||||
__u32 tsn);
|
||||
struct sctp_chunk *sctp_make_abort_user(const struct sctp_association *,
|
||||
const struct msghdr *, size_t msg_len);
|
||||
struct msghdr *, size_t msg_len);
|
||||
struct sctp_chunk *sctp_make_abort_violation(const struct sctp_association *,
|
||||
const struct sctp_chunk *,
|
||||
const __u8 *,
|
||||
|
||||
@@ -531,7 +531,7 @@ struct sctp_datamsg {
|
||||
|
||||
struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,
|
||||
struct sctp_sndrcvinfo *,
|
||||
struct msghdr *, int len);
|
||||
struct iov_iter *);
|
||||
void sctp_datamsg_free(struct sctp_datamsg *);
|
||||
void sctp_datamsg_put(struct sctp_datamsg *);
|
||||
void sctp_chunk_fail(struct sctp_chunk *, int error);
|
||||
@@ -647,8 +647,8 @@ struct sctp_chunk {
|
||||
|
||||
void sctp_chunk_hold(struct sctp_chunk *);
|
||||
void sctp_chunk_put(struct sctp_chunk *);
|
||||
int sctp_user_addto_chunk(struct sctp_chunk *chunk, int off, int len,
|
||||
struct iovec *data);
|
||||
int sctp_user_addto_chunk(struct sctp_chunk *chunk, int len,
|
||||
struct iov_iter *from);
|
||||
void sctp_chunk_free(struct sctp_chunk *);
|
||||
void *sctp_addto_chunk(struct sctp_chunk *, int len, const void *data);
|
||||
struct sctp_chunk *sctp_chunkify(struct sk_buff *,
|
||||
|
||||
Reference in New Issue
Block a user