Lines Matching defs:sk
326 static void sock_disable_timestamp(struct sock *sk, unsigned long flags) in sock_disable_timestamp()
336 int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) in sock_queue_rcv_skb()
384 int sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested) in sk_receive_skb()
426 void sk_reset_txq(struct sock *sk) in sk_reset_txq()
432 struct dst_entry *__sk_dst_check(struct sock *sk, u32 cookie) in __sk_dst_check()
447 struct dst_entry *sk_dst_check(struct sock *sk, u32 cookie) in sk_dst_check()
461 static int sock_bindtodevice(struct sock *sk, char __user *optval, int optlen) in sock_bindtodevice()
518 static inline void sock_valbool_flag(struct sock *sk, int bit, int valbool) in sock_valbool_flag()
534 struct sock *sk = sock->sk; in sock_setsockopt() local
823 struct sock *sk = sock->sk; in sock_getsockopt() local
1040 static inline void sock_lock_init(struct sock *sk) in sock_lock_init()
1074 static inline void sk_prot_clear_nulls(struct sock *sk, int size) in sk_prot_clear_nulls()
1082 void sk_prot_clear_portaddr_nulls(struct sock *sk, int size) in sk_prot_clear_portaddr_nulls()
1103 struct sock *sk; in sk_prot_alloc() local
1143 static void sk_prot_free(struct proto *prot, struct sock *sk) in sk_prot_free()
1160 void sock_update_classid(struct sock *sk) in sock_update_classid()
1172 void sock_update_netprioidx(struct sock *sk) in sock_update_netprioidx()
1192 struct sock *sk; in sk_alloc() local
1214 static void __sk_free(struct sock *sk) in __sk_free()
1241 void sk_free(struct sock *sk) in sk_free()
1260 void sk_release_kernel(struct sock *sk) in sk_release_kernel()
1273 static void sk_update_clone(const struct sock *sk, struct sock *newsk) in sk_update_clone()
1286 struct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority) in sk_clone_lock()
1382 void sk_setup_caps(struct sock *sk, struct dst_entry *dst) in sk_setup_caps()
1423 struct sock *sk = skb->sk; in sock_wfree() local
1449 struct sock *sk = skb->sk; in sock_rfree() local
1458 int sock_i_uid(struct sock *sk) in sock_i_uid()
1469 unsigned long sock_i_ino(struct sock *sk) in sock_i_ino()
1483 struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, in sock_wmalloc()
1500 struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, in sock_rmalloc()
1516 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority) in sock_kmalloc()
1537 void sock_kfree_s(struct sock *sk, void *mem, int size) in sock_kfree_s()
1547 static long sock_wait_for_wmem(struct sock *sk, long timeo) in sock_wait_for_wmem()
1576 struct sk_buff *sock_alloc_send_pskb(struct sock *sk, unsigned long header_len, in sock_alloc_send_pskb()
1658 struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, in sock_alloc_send_skb()
1665 static void __lock_sock(struct sock *sk) in __lock_sock()
1683 static void __release_sock(struct sock *sk) in __release_sock()
1731 int sk_wait_data(struct sock *sk, long *timeo) in sk_wait_data()
1755 int __sk_mem_schedule(struct sock *sk, int size, int kind) in __sk_mem_schedule()
1837 void __sk_mem_reclaim(struct sock *sk) in __sk_mem_reclaim()
1966 static void sock_def_wakeup(struct sock *sk) in sock_def_wakeup()
1977 static void sock_def_error_report(struct sock *sk) in sock_def_error_report()
1989 static void sock_def_readable(struct sock *sk, int len) in sock_def_readable()
2002 static void sock_def_write_space(struct sock *sk) in sock_def_write_space()
2025 static void sock_def_destruct(struct sock *sk) in sock_def_destruct()
2030 void sk_send_sigurg(struct sock *sk) in sk_send_sigurg()
2038 void sk_reset_timer(struct sock *sk, struct timer_list* timer, in sk_reset_timer()
2046 void sk_stop_timer(struct sock *sk, struct timer_list* timer) in sk_stop_timer()
2053 void sock_init_data(struct socket *sock, struct sock *sk) in sock_init_data()
2115 void lock_sock_nested(struct sock *sk, int subclass) in lock_sock_nested()
2131 void release_sock(struct sock *sk) in release_sock()
2158 bool lock_sock_fast(struct sock *sk) in lock_sock_fast()
2181 int sock_get_timestamp(struct sock *sk, struct timeval __user *userstamp) in sock_get_timestamp()
2197 int sock_get_timestampns(struct sock *sk, struct timespec __user *userstamp) in sock_get_timestampns()
2213 void sock_enable_timestamp(struct sock *sk, int flag) in sock_enable_timestamp()
2239 struct sock *sk = sock->sk; in sock_common_getsockopt() local
2249 struct sock *sk = sock->sk; in compat_sock_common_getsockopt() local
2262 struct sock *sk = sock->sk; in sock_common_recvmsg() local
2280 struct sock *sk = sock->sk; in sock_common_setsockopt() local
2290 struct sock *sk = sock->sk; in compat_sock_common_setsockopt() local
2300 void sk_common_release(struct sock *sk) in sk_common_release()