Home
last modified time | relevance | path

Searched refs:sock_writeable (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/
H A Dtap.c430 if (!sock_writeable(sk) || in tap_sock_write_space()
534 if (sock_writeable(&q->sk) || in tap_poll()
536 sock_writeable(&q->sk))) in tap_poll()
H A Dtun.c1350 return (tun->dev->flags & IFF_UP) && sock_writeable(sk); in tun_sock_writeable()
2352 if (!sock_writeable(sk)) in tun_sock_write_space()
/linux/net/caif/
H A Dcaif_socket.c468 (!wait_writeable || sock_writeable(&cf_sk->sk))) in caif_wait_for_flow_on()
957 if (sock_writeable(sk) && tx_flow_is_on(cf_sk)) in caif_poll()
/linux/net/core/
H A Ddatagram.c919 * and you use a different write policy from sock_writeable()
960 if (sock_writeable(sk)) in datagram_poll()
H A Dskmsg.c629 if (!sock_writeable(psock->sk)) in sk_psock_handle_skb()
H A Dsock.c3579 if (sock_writeable(sk)) { in sock_def_write_space()
3601 if (sock_writeable(sk)) { in sock_def_write_space_wfree()
/linux/net/bluetooth/
H A Daf_bluetooth.c567 if (!test_bit(BT_SK_SUSPEND, &bt_sk(sk)->flags) && sock_writeable(sk)) in bt_sock_poll()
/linux/net/nfc/
H A Dllcp_sock.c584 if (sock_writeable(sk) && sk->sk_state == LLCP_CONNECTED) in llcp_sock_poll()
/linux/net/sunrpc/
H A Dxprtsock.c879 if (!sock_writeable(sk)) in xs_sock_nospace()
1056 if (status == -EAGAIN && sock_writeable(transport->inet)) in xs_udp_send_request()
1642 if (sock_writeable(sk)) in xs_udp_write_space()
/linux/net/netfilter/ipvs/
H A Dip_vs_sync.c1675 sock_writeable(sk) || in sync_thread_master()
/linux/net/iucv/
H A Daf_iucv.c1393 if (sock_writeable(sk) && iucv_below_msglim(sk)) in iucv_sock_poll()
/linux/include/net/
H A Dsock.h2582 static inline bool sock_writeable(const struct sock *sk) in sock_writeable() function