Lines Matching defs:sk

143 	struct sock sk;  member
163 static struct hlist_head *dn_find_list(struct sock *sk) in dn_find_list()
178 struct sock *sk; in check_port() local
191 static unsigned short port_alloc(struct sock *sk) in port_alloc()
212 static int dn_hash_sock(struct sock *sk) in dn_hash_sock()
236 static void dn_unhash_sock(struct sock *sk) in dn_unhash_sock()
243 static void dn_unhash_sock_bh(struct sock *sk) in dn_unhash_sock_bh()
271 static void dn_rehash_sock(struct sock *sk) in dn_rehash_sock()
377 struct sock *sk; in dn_sklist_find_listener() local
415 struct sock *sk; in dn_find_by_skb() local
438 static void dn_destruct(struct sock *sk) in dn_destruct()
451 static void dn_enter_memory_pressure(struct sock *sk) in dn_enter_memory_pressure()
474 struct sock *sk = sk_alloc(net, PF_DECnet, gfp, &dn_proto, kern); in dn_alloc_sock() local
548 static void dn_keepalive(struct sock *sk) in dn_keepalive()
569 int dn_destroy_timer(struct sock *sk) in dn_destroy_timer()
611 static void dn_destroy_sock(struct sock *sk) in dn_destroy_sock()
679 struct sock *sk; in dn_create() local
711 struct sock *sk = sock->sk; in dn_release() local
727 struct sock *sk = sock->sk; in dn_bind() local
788 struct sock *sk = sock->sk; in dn_auto_bind() local
823 static int dn_confirm_accept(struct sock *sk, long *timeo, gfp_t allocation) in dn_confirm_accept()
865 static int dn_wait_run(struct sock *sk, long *timeo) in dn_wait_run()
907 static int __dn_connect(struct sock *sk, struct sockaddr_dn *addr, int addrlen, long *timeo, int fl… in __dn_connect()
978 struct sock *sk = sock->sk; in dn_connect() local
989 static inline int dn_check_state(struct sock *sk, struct sockaddr_dn *addr, int addrlen, long *time… in dn_check_state()
1040 static struct sk_buff *dn_wait_for_connect(struct sock *sk, long *timeo) in dn_wait_for_connect()
1075 struct sock *sk = sock->sk, *newsk; in dn_accept() local
1185 struct sock *sk = sock->sk; in dn_getname() local
1213 struct sock *sk = sock->sk; in dn_poll() local
1225 struct sock *sk = sock->sk; in dn_ioctl() local
1276 struct sock *sk = sock->sk; in dn_listen() local
1302 struct sock *sk = sock->sk; in dn_shutdown() local
1334 struct sock *sk = sock->sk; in dn_setsockopt() local
1346 struct sock *sk = sock->sk; in __dn_setsockopt() local
1510 struct sock *sk = sock->sk; in dn_getsockopt() local
1522 struct sock *sk = sock->sk; in __dn_getsockopt() local
1645 static int dn_data_ready(struct sock *sk, struct sk_buff_head *q, int flags, int target) in dn_data_ready()
1678 struct sock *sk = sock->sk; in dn_recvmsg() local
1873 static inline unsigned int dn_current_mss(struct sock *sk, int flags) in dn_current_mss()
1898 static inline struct sk_buff *dn_alloc_send_pskb(struct sock *sk, in dn_alloc_send_pskb()
1913 struct sock *sk = sock->sk; in dn_sendmsg() local
2155 struct sock *sk = dn_socket_get_first(seq); in socket_get_idx() local
2264 static inline void dn_socket_format_entry(struct seq_file *seq, struct sock *sk) in dn_socket_format_entry()