Lines Matching refs:sk
89 #define ACCEPT_QUEUE(sk) (&inet_csk(sk)->icsk_accept_queue.rskq_accept_head) argument
98 #define INC_ORPHAN_COUNT(sk) this_cpu_inc(*(sk)->sk_prot->orphan_count) argument
110 static inline unsigned int sk_in_state(const struct sock *sk, in sk_in_state() argument
113 return states & (1 << sk->sk_state); in sk_in_state()
143 static inline void sk_wakeup_sleepers(struct sock *sk, bool interruptable) in sk_wakeup_sleepers() argument
148 wq = rcu_dereference(sk->sk_wq); in sk_wakeup_sleepers()
151 wake_up_interruptible(sk_sleep(sk)); in sk_wakeup_sleepers()
153 wake_up_all(sk_sleep(sk)); in sk_wakeup_sleepers()
172 static inline void chtls_free_skb(struct sock *sk, struct sk_buff *skb) in chtls_free_skb() argument
175 __skb_unlink(skb, &sk->sk_receive_queue); in chtls_free_skb()
179 static inline void chtls_kfree_skb(struct sock *sk, struct sk_buff *skb) in chtls_kfree_skb() argument
182 __skb_unlink(skb, &sk->sk_receive_queue); in chtls_kfree_skb()
205 static inline struct sk_buff *dequeue_wr(struct sock *sk) in dequeue_wr() argument
207 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in dequeue_wr()