Lines Matching refs:sk
81 vmci_transport_handle_read(struct sock *sk, in vmci_transport_handle_read() argument
86 sk->sk_write_space(sk); in vmci_transport_handle_read()
90 vmci_transport_handle_wrote(struct sock *sk, in vmci_transport_handle_wrote() argument
95 sk->sk_data_ready(sk); in vmci_transport_handle_wrote()
98 static void vsock_block_update_write_window(struct sock *sk) in vsock_block_update_write_window() argument
100 struct vsock_sock *vsk = vsock_sk(sk); in vsock_block_update_write_window()
108 static int vmci_transport_send_read_notification(struct sock *sk) in vmci_transport_send_read_notification() argument
115 vsk = vsock_sk(sk); in vmci_transport_send_read_notification()
131 err = vmci_transport_send_read(sk); in vmci_transport_send_read_notification()
140 sk); in vmci_transport_send_read_notification()
148 static void vmci_transport_notify_pkt_socket_init(struct sock *sk) in vmci_transport_notify_pkt_socket_init() argument
150 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_socket_init()
167 vmci_transport_notify_pkt_poll_in(struct sock *sk, in vmci_transport_notify_pkt_poll_in() argument
170 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_in()
179 if (sk->sk_state == SS_CONNECTED) in vmci_transport_notify_pkt_poll_in()
180 vsock_block_update_write_window(sk); in vmci_transport_notify_pkt_poll_in()
188 vmci_transport_notify_pkt_poll_out(struct sock *sk, in vmci_transport_notify_pkt_poll_out() argument
192 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_poll_out()
210 struct sock *sk, in vmci_transport_notify_pkt_recv_init() argument
214 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_recv_init()
242 struct sock *sk, in vmci_transport_notify_pkt_recv_pre_block() argument
248 vsock_block_update_write_window(sk); in vmci_transport_notify_pkt_recv_pre_block()
251 err = vmci_transport_send_read_notification(sk); in vmci_transport_notify_pkt_recv_pre_block()
262 struct sock *sk, in vmci_transport_notify_pkt_recv_post_dequeue() argument
273 vsk = vsock_sk(sk); in vmci_transport_notify_pkt_recv_post_dequeue()
286 err = vmci_transport_send_read_notification(sk); in vmci_transport_notify_pkt_recv_post_dequeue()
293 sk->sk_data_ready(sk); in vmci_transport_notify_pkt_recv_post_dequeue()
301 struct sock *sk, in vmci_transport_notify_pkt_send_init() argument
312 struct sock *sk, in vmci_transport_notify_pkt_send_post_enqueue() argument
322 vsk = vsock_sk(sk); in vmci_transport_notify_pkt_send_post_enqueue()
332 err = vmci_transport_send_wrote(sk); in vmci_transport_notify_pkt_send_post_enqueue()
342 sk); in vmci_transport_notify_pkt_send_post_enqueue()
351 struct sock *sk, in vmci_transport_notify_pkt_handle_pkt() argument
361 vmci_transport_handle_wrote(sk, pkt, bottom_half, dst, src); in vmci_transport_notify_pkt_handle_pkt()
365 vmci_transport_handle_read(sk, pkt, bottom_half, dst, src); in vmci_transport_notify_pkt_handle_pkt()
374 static void vmci_transport_notify_pkt_process_request(struct sock *sk) in vmci_transport_notify_pkt_process_request() argument
376 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_process_request()
385 static void vmci_transport_notify_pkt_process_negotiate(struct sock *sk) in vmci_transport_notify_pkt_process_negotiate() argument
387 struct vsock_sock *vsk = vsock_sk(sk); in vmci_transport_notify_pkt_process_negotiate()
398 struct sock *sk, in vmci_transport_notify_pkt_recv_pre_dequeue() argument
407 struct sock *sk, in vmci_transport_notify_pkt_send_pre_block() argument
415 struct sock *sk, in vmci_transport_notify_pkt_send_pre_enqueue() argument