Home
last modified time | relevance | path

Searched refs:readable (Results 1 – 2 of 2) sorted by relevance

/net/smc/
Dsmc_rx.c291 int readable, chunk; in smc_rx_recvmsg() local
367 readable = atomic_read(&conn->bytes_to_rcv); in smc_rx_recvmsg()
369 if (!readable || (msg && splbytes)) { in smc_rx_recvmsg()
384 readable > 1) in smc_rx_recvmsg()
385 readable--; /* always stop at urgent Byte */ in smc_rx_recvmsg()
387 copylen = min_t(size_t, read_remaining, readable); in smc_rx_recvmsg()
/net/vmw_vsock/
Dhyperv_transport.c180 u32 readable = hv_get_bytes_to_read(&chan->inbound); in hvs_channel_readable() local
183 return readable >= HVS_PKT_LEN(0); in hvs_channel_readable()
188 u32 readable = hv_get_bytes_to_read(&chan->inbound); in hvs_channel_readable_payload() local
190 if (readable > HVS_PKT_LEN(0)) { in hvs_channel_readable_payload()
198 if (readable == HVS_PKT_LEN(0)) { in hvs_channel_readable_payload()
719 int hvs_notify_poll_in(struct vsock_sock *vsk, size_t target, bool *readable) in hvs_notify_poll_in() argument
723 *readable = hvs_channel_readable(hvs->chan); in hvs_notify_poll_in()