Lines Matching defs:sk
175 struct sock *sk=sock->sk; in sock_setsockopt() local
430 struct sock *sk = sock->sk; in sock_getsockopt() local
597 struct sock *sk = kmem_cache_alloc(sk_cachep, priority); in sk_alloc() local
608 void sk_free(struct sock *sk) in sk_free()
659 struct sock *sk = skb->sk; in sock_wfree() local
673 struct sock *sk = skb->sk; in sock_rfree() local
681 struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) in sock_wmalloc()
696 struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) in sock_rmalloc()
711 void *sock_kmalloc(struct sock *sk, int size, int priority) in sock_kmalloc()
731 void sock_kfree_s(struct sock *sk, void *mem, int size) in sock_kfree_s()
740 static long sock_wait_for_wmem(struct sock * sk, long timeo) in sock_wait_for_wmem()
771 struct sk_buff *sock_alloc_send_pskb(struct sock *sk, unsigned long header_len, in sock_alloc_send_pskb()
848 struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, in sock_alloc_send_skb()
854 void __lock_sock(struct sock *sk) in __lock_sock()
871 void __release_sock(struct sock *sk) in __release_sock()
901 void sklist_remove_socket(struct sock **list, struct sock *sk) in sklist_remove_socket()
920 void sklist_insert_socket(struct sock **list, struct sock *sk) in sklist_insert_socket()
944 struct sock *sk=(struct sock *)data; in sklist_destroy_timer() local
953 void sklist_destroy_socket(struct sock **list,struct sock *sk) in sklist_destroy_socket()
1056 struct sock *sk = sock->sk; in sock_no_fcntl() local
1130 void sock_def_wakeup(struct sock *sk) in sock_def_wakeup()
1138 void sock_def_error_report(struct sock *sk) in sock_def_error_report()
1147 void sock_def_readable(struct sock *sk, int len) in sock_def_readable()
1156 void sock_def_write_space(struct sock *sk) in sock_def_write_space()
1175 void sock_def_destruct(struct sock *sk) in sock_def_destruct()
1181 void sock_init_data(struct socket *sock, struct sock *sk) in sock_init_data()