Searched refs:readable (Results 1 – 2 of 2) sorted by relevance
291 int readable, chunk; in smc_rx_recvmsg() local367 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()
180 u32 readable = hv_get_bytes_to_read(&chan->inbound); in hvs_channel_readable() local183 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() local190 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() argument723 *readable = hvs_channel_readable(hvs->chan); in hvs_notify_poll_in()