Lines Matching refs:vmci_trans

15 #define PKT_FIELD(vsk, field_name) (vmci_trans(vsk)->notify.pkt.field_name)
48 notify_limit = vmci_trans(vsk)->consume_size - in vmci_transport_notify_waiting_write()
68 retval = vmci_qpair_consume_free_space(vmci_trans(vsk)->qpair) > in vmci_transport_notify_waiting_write()
98 return vmci_qpair_produce_buf_ready(vmci_trans(vsk)->qpair) > 0; in vmci_transport_notify_waiting_read()
196 vmci_trans(vsk)->consume_size) in send_waiting_read()
199 vmci_trans(vsk)->consume_size); in send_waiting_read()
201 vmci_qpair_get_consume_indexes(vmci_trans(vsk)->qpair, &tail, &head); in send_waiting_read()
202 room_left = vmci_trans(vsk)->consume_size - head; in send_waiting_read()
237 vmci_qpair_get_produce_indexes(vmci_trans(vsk)->qpair, &tail, &head); in send_waiting_write()
238 room_left = vmci_trans(vsk)->produce_size - tail; in send_waiting_write()
464 vmci_qpair_get_consume_indexes(vmci_trans(vsk)->qpair, in vmci_transport_notify_pkt_recv_pre_dequeue()
493 vmci_trans(vsk)->consume_size - data->consume_head) in vmci_transport_notify_pkt_recv_post_dequeue()
538 vmci_qpair_get_produce_indexes(vmci_trans(vsk)->qpair, in vmci_transport_notify_pkt_send_pre_enqueue()
564 if (written >= vmci_trans(vsk)->produce_size - data->produce_tail) in vmci_transport_notify_pkt_send_post_enqueue()
637 PKT_FIELD(vsk, write_notify_window) = vmci_trans(vsk)->consume_size; in vmci_transport_notify_pkt_process_request()
638 if (vmci_trans(vsk)->consume_size < in vmci_transport_notify_pkt_process_request()
641 vmci_trans(vsk)->consume_size; in vmci_transport_notify_pkt_process_request()
648 PKT_FIELD(vsk, write_notify_window) = vmci_trans(vsk)->consume_size; in vmci_transport_notify_pkt_process_negotiate()
649 if (vmci_trans(vsk)->consume_size < in vmci_transport_notify_pkt_process_negotiate()
652 vmci_trans(vsk)->consume_size; in vmci_transport_notify_pkt_process_negotiate()