Lines Matching refs:vsock_sock

27 #define vsock_sk(__sk)    ((struct vsock_sock *)__sk)
30 struct vsock_sock { struct
71 s64 vsock_stream_has_data(struct vsock_sock *vsk); argument
72 s64 vsock_stream_has_space(struct vsock_sock *vsk);
94 int (*init)(struct vsock_sock *, struct vsock_sock *);
95 void (*destruct)(struct vsock_sock *);
96 void (*release)(struct vsock_sock *);
99 int (*connect)(struct vsock_sock *);
102 int (*dgram_bind)(struct vsock_sock *, struct sockaddr_vm *);
103 int (*dgram_dequeue)(struct vsock_sock *vsk, struct msghdr *msg,
105 int (*dgram_enqueue)(struct vsock_sock *, struct sockaddr_vm *,
111 ssize_t (*stream_dequeue)(struct vsock_sock *, struct msghdr *,
113 ssize_t (*stream_enqueue)(struct vsock_sock *, struct msghdr *,
115 s64 (*stream_has_data)(struct vsock_sock *);
116 s64 (*stream_has_space)(struct vsock_sock *);
117 u64 (*stream_rcvhiwat)(struct vsock_sock *);
118 bool (*stream_is_active)(struct vsock_sock *);
122 int (*notify_poll_in)(struct vsock_sock *, size_t, bool *);
123 int (*notify_poll_out)(struct vsock_sock *, size_t, bool *);
124 int (*notify_recv_init)(struct vsock_sock *, size_t,
126 int (*notify_recv_pre_block)(struct vsock_sock *, size_t,
128 int (*notify_recv_pre_dequeue)(struct vsock_sock *, size_t,
130 int (*notify_recv_post_dequeue)(struct vsock_sock *, size_t,
132 int (*notify_send_init)(struct vsock_sock *,
134 int (*notify_send_pre_block)(struct vsock_sock *,
136 int (*notify_send_pre_enqueue)(struct vsock_sock *,
138 int (*notify_send_post_enqueue)(struct vsock_sock *, ssize_t,
142 int (*shutdown)(struct vsock_sock *, int);
145 void (*set_buffer_size)(struct vsock_sock *, u64);
146 void (*set_min_buffer_size)(struct vsock_sock *, u64);
147 void (*set_max_buffer_size)(struct vsock_sock *, u64);
148 u64 (*get_buffer_size)(struct vsock_sock *);
149 u64 (*get_min_buffer_size)(struct vsock_sock *);
150 u64 (*get_max_buffer_size)(struct vsock_sock *);
171 void vsock_insert_connected(struct vsock_sock *vsk);
172 void vsock_remove_bound(struct vsock_sock *vsk);
173 void vsock_remove_connected(struct vsock_sock *vsk);