Searched refs:PKT_FIELD (Results 1 – 2 of 2) sorted by relevance
/linux/net/vmw_vsock/ |
H A D | vmci_transport_notify.c | 15 #define PKT_FIELD(vsk, field_name) (vmci_trans(vsk)->notify.pkt.field_name) macro 23 if (!PKT_FIELD(vsk, peer_waiting_write)) in vmci_transport_notify_waiting_write() 34 if (!PKT_FIELD(vsk, peer_waiting_write_detected)) { in vmci_transport_notify_waiting_write() 35 PKT_FIELD(vsk, peer_waiting_write_detected) = true; in vmci_transport_notify_waiting_write() 36 if (PKT_FIELD(vsk, write_notify_window) < PAGE_SIZE) { in vmci_transport_notify_waiting_write() 37 PKT_FIELD(vsk, write_notify_window) = in vmci_transport_notify_waiting_write() 38 PKT_FIELD(vsk, write_notify_min_window); in vmci_transport_notify_waiting_write() 40 PKT_FIELD(vsk, write_notify_window) -= PAGE_SIZE; in vmci_transport_notify_waiting_write() 41 if (PKT_FIELD(vsk, write_notify_window) < in vmci_transport_notify_waiting_write() 42 PKT_FIELD(vsk, write_notify_min_window)) in vmci_transport_notify_waiting_write() [all …]
|
H A D | vmci_transport_notify_qstate.c | 15 #define PKT_FIELD(vsk, field_name) \ macro 23 if (!PKT_FIELD(vsk, peer_waiting_write)) in vmci_transport_notify_waiting_write() 33 if (!PKT_FIELD(vsk, peer_waiting_write_detected)) { in vmci_transport_notify_waiting_write() 34 PKT_FIELD(vsk, peer_waiting_write_detected) = true; in vmci_transport_notify_waiting_write() 35 if (PKT_FIELD(vsk, write_notify_window) < PAGE_SIZE) { in vmci_transport_notify_waiting_write() 36 PKT_FIELD(vsk, write_notify_window) = in vmci_transport_notify_waiting_write() 37 PKT_FIELD(vsk, write_notify_min_window); in vmci_transport_notify_waiting_write() 39 PKT_FIELD(vsk, write_notify_window) -= PAGE_SIZE; in vmci_transport_notify_waiting_write() 40 if (PKT_FIELD(vsk, write_notify_window) < in vmci_transport_notify_waiting_write() 41 PKT_FIELD(vsk, write_notify_min_window)) in vmci_transport_notify_waiting_write() [all …]
|