Lines Matching refs:sock_mapping
59 struct sock_mapping { struct
96 struct sock_mapping *accept_map;
102 static inline struct sock_mapping *pvcalls_enter_sock(struct socket *sock) in pvcalls_enter_sock()
104 struct sock_mapping *map; in pvcalls_enter_sock()
110 map = (struct sock_mapping *)sock->sk->sk_send_head; in pvcalls_enter_sock()
121 struct sock_mapping *map; in pvcalls_exit_sock()
123 map = (struct sock_mapping *)sock->sk->sk_send_head; in pvcalls_exit_sock()
137 static bool pvcalls_front_write_todo(struct sock_mapping *map) in pvcalls_front_write_todo()
154 static bool pvcalls_front_read_todo(struct sock_mapping *map) in pvcalls_front_read_todo()
192 struct sock_mapping *map = (struct sock_mapping *)(uintptr_t) in pvcalls_front_event_handler()
232 struct sock_mapping *map) in pvcalls_front_free_map()
253 struct sock_mapping *map = sock_map; in pvcalls_front_conn_handler()
266 struct sock_mapping *map = NULL; in pvcalls_front_socket()
338 static int create_active(struct sock_mapping *map, int *evtchn) in create_active()
397 struct sock_mapping *map = NULL; in pvcalls_front_connect()
507 struct sock_mapping *map; in pvcalls_front_sendmsg()
605 struct sock_mapping *map; in pvcalls_front_recvmsg()
641 struct sock_mapping *map = NULL; in pvcalls_front_bind()
694 struct sock_mapping *map; in pvcalls_front_listen()
743 struct sock_mapping *map; in pvcalls_front_accept()
744 struct sock_mapping *map2 = NULL; in pvcalls_front_accept()
867 struct sock_mapping *map, in pvcalls_front_poll_passive()
924 struct sock_mapping *map, in pvcalls_front_poll_active()
949 struct sock_mapping *map; in pvcalls_front_poll()
968 struct sock_mapping *map; in pvcalls_front_release()
1056 struct sock_mapping *map = NULL, *n; in pvcalls_front_remove()