Lines Matching refs:sock_mapping
56 struct sock_mapping { struct
93 struct sock_mapping *accept_map;
99 static inline struct sock_mapping *pvcalls_enter_sock(struct socket *sock) in pvcalls_enter_sock()
101 struct sock_mapping *map; in pvcalls_enter_sock()
107 map = (struct sock_mapping *)sock->sk->sk_send_head; in pvcalls_enter_sock()
118 struct sock_mapping *map; in pvcalls_exit_sock()
120 map = (struct sock_mapping *)sock->sk->sk_send_head; in pvcalls_exit_sock()
134 static bool pvcalls_front_write_todo(struct sock_mapping *map) in pvcalls_front_write_todo()
151 static bool pvcalls_front_read_todo(struct sock_mapping *map) in pvcalls_front_read_todo()
189 struct sock_mapping *map = (struct sock_mapping *)(uintptr_t) in pvcalls_front_event_handler()
229 struct sock_mapping *map) in pvcalls_front_free_map()
250 struct sock_mapping *map = sock_map; in pvcalls_front_conn_handler()
263 struct sock_mapping *map = NULL; in pvcalls_front_socket()
335 static void free_active_ring(struct sock_mapping *map) in free_active_ring()
345 static int alloc_active_ring(struct sock_mapping *map) in alloc_active_ring()
371 static int create_active(struct sock_mapping *map, evtchn_port_t *evtchn) in create_active()
416 struct sock_mapping *map = NULL; in pvcalls_front_connect()
535 struct sock_mapping *map; in pvcalls_front_sendmsg()
629 struct sock_mapping *map; in pvcalls_front_recvmsg()
664 struct sock_mapping *map = NULL; in pvcalls_front_bind()
717 struct sock_mapping *map; in pvcalls_front_listen()
766 struct sock_mapping *map; in pvcalls_front_accept()
767 struct sock_mapping *map2 = NULL; in pvcalls_front_accept()
902 struct sock_mapping *map, in pvcalls_front_poll_passive()
959 struct sock_mapping *map, in pvcalls_front_poll_active()
984 struct sock_mapping *map; in pvcalls_front_poll()
1003 struct sock_mapping *map; in pvcalls_front_release()
1091 struct sock_mapping *map = NULL, *n; in pvcalls_front_remove()