Lines Matching refs:vsock_sock

30 #define vsock_sk(__sk)    ((struct vsock_sock *)__sk)
33 struct vsock_sock { struct
74 s64 vsock_stream_has_data(struct vsock_sock *vsk); argument
75 s64 vsock_stream_has_space(struct vsock_sock *vsk);
97 int (*init)(struct vsock_sock *, struct vsock_sock *);
98 void (*destruct)(struct vsock_sock *);
99 void (*release)(struct vsock_sock *);
102 int (*connect)(struct vsock_sock *);
105 int (*dgram_bind)(struct vsock_sock *, struct sockaddr_vm *);
106 int (*dgram_dequeue)(struct vsock_sock *vsk, struct msghdr *msg,
108 int (*dgram_enqueue)(struct vsock_sock *, struct sockaddr_vm *,
114 ssize_t (*stream_dequeue)(struct vsock_sock *, struct msghdr *,
116 ssize_t (*stream_enqueue)(struct vsock_sock *, struct msghdr *,
118 s64 (*stream_has_data)(struct vsock_sock *);
119 s64 (*stream_has_space)(struct vsock_sock *);
120 u64 (*stream_rcvhiwat)(struct vsock_sock *);
121 bool (*stream_is_active)(struct vsock_sock *);
125 int (*notify_poll_in)(struct vsock_sock *, size_t, bool *);
126 int (*notify_poll_out)(struct vsock_sock *, size_t, bool *);
127 int (*notify_recv_init)(struct vsock_sock *, size_t,
129 int (*notify_recv_pre_block)(struct vsock_sock *, size_t,
131 int (*notify_recv_pre_dequeue)(struct vsock_sock *, size_t,
133 int (*notify_recv_post_dequeue)(struct vsock_sock *, size_t,
135 int (*notify_send_init)(struct vsock_sock *,
137 int (*notify_send_pre_block)(struct vsock_sock *,
139 int (*notify_send_pre_enqueue)(struct vsock_sock *,
141 int (*notify_send_post_enqueue)(struct vsock_sock *, ssize_t,
145 int (*shutdown)(struct vsock_sock *, int);
148 void (*set_buffer_size)(struct vsock_sock *, u64);
149 void (*set_min_buffer_size)(struct vsock_sock *, u64);
150 void (*set_max_buffer_size)(struct vsock_sock *, u64);
151 u64 (*get_buffer_size)(struct vsock_sock *);
152 u64 (*get_min_buffer_size)(struct vsock_sock *);
153 u64 (*get_max_buffer_size)(struct vsock_sock *);
174 void vsock_insert_connected(struct vsock_sock *vsk);
175 void vsock_remove_bound(struct vsock_sock *vsk);
176 void vsock_remove_connected(struct vsock_sock *vsk);