Lines Matching refs:sock_flag
1017 static inline bool sock_flag(const struct sock *sk, enum sock_flags flag) in sock_flag() function
1130 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog()
2500 !sock_flag(sk, SOCK_FASYNC)) in sk_set_bit()
2509 !sock_flag(sk, SOCK_FASYNC)) in sk_clear_bit()
2517 if (sock_flag(sk, SOCK_FASYNC)) { in sk_wake_async()
2526 if (unlikely(sock_flag(sk, SOCK_FASYNC))) in sk_wake_async_rcu()
2642 SOCK_SKB_CB(skb)->dropcount = sock_flag(sk, SOCK_RXQ_OVFL) ? in sock_skb_set_dropcount()
2702 if (sock_flag(sk, SOCK_RCVTSTAMP) || in sock_recv_timestamp()
2711 if (sock_flag(sk, SOCK_WIFI_STATUS) && skb_wifi_acked_valid(skb)) in sock_recv_timestamp()
2732 else if (unlikely(sock_flag(sk, SOCK_TIMESTAMP))) in sock_recv_cmsgs()
2860 return !sk_fullsock(sk) || !sock_flag(sk, SOCK_RCU_FREE); in sk_is_refcounted()
2866 return sk && sk_fullsock(sk) && sock_flag(sk, SOCK_WIFI_STATUS); in sk_requests_wifi_status()