Lines Matching refs:sock_flag
81 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \
836 static inline bool sock_flag(const struct sock *sk, enum sock_flags flag) in sock_flag() function
935 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog()
2192 !sock_flag(sk, SOCK_FASYNC)) in sk_set_bit()
2201 !sock_flag(sk, SOCK_FASYNC)) in sk_clear_bit()
2209 if (sock_flag(sk, SOCK_FASYNC)) { in sk_wake_async()
2321 SOCK_SKB_CB(skb)->dropcount = sock_flag(sk, SOCK_RXQ_OVFL) ? in sock_skb_set_dropcount()
2377 if (sock_flag(sk, SOCK_RCVTSTAMP) || in sock_recv_timestamp()
2386 if (sock_flag(sk, SOCK_WIFI_STATUS) && skb->wifi_acked_valid) in sock_recv_timestamp()
2404 else if (unlikely(sock_flag(sk, SOCK_TIMESTAMP))) in sock_recv_ts_and_drops()
2430 if (unlikely(sock_flag(sk, SOCK_WIFI_STATUS))) in _sock_tx_timestamp()