Searched refs:vmci_trans (Results 1 – 4 of 4) sorted by relevance
/linux/net/vmw_vsock/ |
H A D | vmci_transport.c | 764 vmci_trans(vsk)->notify_ops->handle_notify_pkt( in vmci_transport_recv_stream_cb() 808 if (!vmci_handle_is_invalid(vmci_trans(vsk)->qp_handle)) { in vmci_transport_handle_detach() 1105 vmci_trans(vpending)->produce_size = in vmci_transport_recv_listen() 1106 vmci_trans(vpending)->consume_size = qp_size; in vmci_transport_recv_listen() 1109 vmci_trans(vpending)->notify_ops->process_request(pending); in vmci_transport_recv_listen() 1176 vmci_trans(vpending), &detach_sub_id); in vmci_transport_recv_connecting_server() 1184 vmci_trans(vpending)->detach_sub_id = detach_sub_id; in vmci_transport_recv_connecting_server() 1200 vmci_trans(vpending)->produce_size, in vmci_transport_recv_connecting_server() 1201 vmci_trans(vpending)->consume_size, in vmci_transport_recv_connecting_server() 1213 vmci_trans(vpending)->qp_handle = handle; in vmci_transport_recv_connecting_server() [all …]
|
H A D | vmci_transport_notify.c | 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() [all …]
|
H A D | vmci_transport_notify_qstate.c | 16 (vmci_trans(vsk)->notify.pkt_q_state.field_name) 47 notify_limit = vmci_trans(vsk)->consume_size - in vmci_transport_notify_waiting_write() 59 retval = vmci_qpair_consume_free_space(vmci_trans(vsk)->qpair) > in vmci_transport_notify_waiting_write() 94 if (PKT_FIELD(vsk, write_notify_window) < vmci_trans(vsk)->consume_size) in vsock_block_update_write_window() 97 vmci_trans(vsk)->consume_size); in vsock_block_update_write_window() 272 vmci_qpair_consume_free_space(vmci_trans(vsk)->qpair); in vmci_transport_notify_pkt_recv_post_dequeue() 319 vmci_qpair_produce_buf_ready(vmci_trans(vsk)->qpair) == written; in vmci_transport_notify_pkt_send_post_enqueue() 370 PKT_FIELD(vsk, write_notify_window) = vmci_trans(vsk)->consume_size; in vmci_transport_notify_pkt_process_request() 371 if (vmci_trans(vsk)->consume_size < in vmci_transport_notify_pkt_process_request() 374 vmci_trans(vsk)->consume_size; in vmci_transport_notify_pkt_process_request() [all …]
|
H A D | vmci_transport.h | 30 #define vmci_trans(_vsk) ((struct vmci_transport *)((_vsk)->trans)) macro
|