Lines Matching refs:vsk
78 s64 vsock_connectible_has_data(struct vsock_sock *vsk);
79 s64 vsock_stream_has_data(struct vsock_sock *vsk);
80 s64 vsock_stream_has_space(struct vsock_sock *vsk);
116 int (*cancel_pkt)(struct vsock_sock *vsk);
123 int (*dgram_dequeue)(struct vsock_sock *vsk, struct msghdr *msg,
140 int (*set_rcvlowat)(struct vsock_sock *vsk, int val);
143 ssize_t (*seqpacket_dequeue)(struct vsock_sock *vsk, struct msghdr *msg,
145 int (*seqpacket_enqueue)(struct vsock_sock *vsk, struct msghdr *msg,
148 u32 (*seqpacket_has_data)(struct vsock_sock *vsk);
188 const struct vsock_transport *vsock_core_get_transport(struct vsock_sock *vsk);
193 static inline bool __vsock_in_bound_table(struct vsock_sock *vsk) in __vsock_in_bound_table() argument
195 return !list_empty(&vsk->bound_table); in __vsock_in_bound_table()
199 static inline bool __vsock_in_connected_table(struct vsock_sock *vsk) in __vsock_in_connected_table() argument
201 return !list_empty(&vsk->connected_table); in __vsock_in_connected_table()
207 void vsock_insert_connected(struct vsock_sock *vsk);
208 void vsock_remove_bound(struct vsock_sock *vsk);
209 void vsock_remove_connected(struct vsock_sock *vsk);
213 void vsock_remove_sock(struct vsock_sock *vsk);
216 int vsock_assign_transport(struct vsock_sock *vsk, struct vsock_sock *psk);