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()
228 static void free_active_ring(struct sock_mapping *map);
231 struct sock_mapping *map) in pvcalls_front_destroy_active()
251 struct sock_mapping *map) in pvcalls_front_free_map()
260 struct sock_mapping *map = sock_map; in pvcalls_front_conn_handler()
273 struct sock_mapping *map = NULL; in pvcalls_front_socket()
345 static void free_active_ring(struct sock_mapping *map) in free_active_ring()
355 static int alloc_active_ring(struct sock_mapping *map) in alloc_active_ring()
381 static int create_active(struct sock_mapping *map, evtchn_port_t *evtchn) in create_active()
426 struct sock_mapping *map = NULL; in pvcalls_front_connect()
544 struct sock_mapping *map; in pvcalls_front_sendmsg()
638 struct sock_mapping *map; in pvcalls_front_recvmsg()
673 struct sock_mapping *map = NULL; in pvcalls_front_bind()
726 struct sock_mapping *map; in pvcalls_front_listen()
775 struct sock_mapping *map; in pvcalls_front_accept()
776 struct sock_mapping *map2 = NULL; in pvcalls_front_accept()
910 struct sock_mapping *map, in pvcalls_front_poll_passive()
967 struct sock_mapping *map, in pvcalls_front_poll_active()
992 struct sock_mapping *map; in pvcalls_front_poll()
1011 struct sock_mapping *map; in pvcalls_front_release()
1099 struct sock_mapping *map = NULL, *n; in pvcalls_front_remove()