Home
last modified time | relevance | path

Searched refs:HVS_PKT_LEN (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/net/vmw_vsock/
H A Dhyperv_transport.c77 #define HVS_PKT_LEN(payload_len) (HVS_HEADER_LEN + \ macro
82 #define HVS_MAX_PKT_SIZE HVS_PKT_LEN(HVS_MTU_SIZE)
180 HVS_PKT_LEN(HVS_SEND_BUF_SIZE)); in hvs_set_channel_pending_send_size()
190 return readable >= HVS_PKT_LEN(0); in hvs_channel_readable()
197 if (readable > HVS_PKT_LEN(0)) { in hvs_channel_readable_payload()
205 if (readable == HVS_PKT_LEN(0)) { in hvs_channel_readable_payload()
223 if (writeable <= HVS_PKT_LEN(1) + HVS_PKT_LEN(0)) in hvs_channel_writable_bytes()
226 ret = writeable - HVS_PKT_LEN(1) - HVS_PKT_LEN( in hvs_channel_writable_bytes()
[all...]
/kernel/linux/linux-5.10/net/vmw_vsock/
H A Dhyperv_transport.c77 #define HVS_PKT_LEN(payload_len) (HVS_HEADER_LEN + \ macro
177 HVS_PKT_LEN(HVS_SEND_BUF_SIZE)); in hvs_set_channel_pending_send_size()
187 return readable >= HVS_PKT_LEN(0); in hvs_channel_readable()
194 if (readable > HVS_PKT_LEN(0)) { in hvs_channel_readable_payload()
202 if (readable == HVS_PKT_LEN(0)) { in hvs_channel_readable_payload()
220 if (writeable <= HVS_PKT_LEN(1) + HVS_PKT_LEN(0)) in hvs_channel_writable_bytes()
223 ret = writeable - HVS_PKT_LEN(1) - HVS_PKT_LEN(0); in hvs_channel_writable_bytes()

Completed in 3 milliseconds