VLink_Packet for VIO (VLink-over-PSP-wrapper). More...

Go to the source code of this file.
Data Structures | |
| struct | vlink_vopw_specific_s |
| VLink/Packet component-specific per-VLink information. More... | |
Macros | |
| #define | VOPW_CALLBACK_CASE(OPCODE) |
| #define | VOPW_CALLBACK_FUNC(OPCODE) |
Typedefs | |
| typedef struct vlink_vopw_specific_s * | vobs_vopw_t |
Detailed Description
VLink_Packet for VIO (VLink-over-PSP-wrapper).
Definition in file vlink-packet.c.
Macro Definition Documentation
◆ VOPW_CALLBACK_CASE
Definition at line 1290 of file vlink-packet.c.
◆ VOPW_CALLBACK_FUNC
Definition at line 1295 of file vlink-packet.c.
Typedef Documentation
◆ vobs_vopw_t
Definition at line 144 of file vlink-packet.c.
Function Documentation
◆ padico_module_create_initializer__VLink_Packet()
Definition at line 40 of file vlink-packet.c.
◆ padico_vlink_packet_finalize()
Definition at line 220 of file vlink-packet.c.
References padico_control_event_unsubscribe(), padico_tm_bgthread_pool_wait(), vopw, and vopw_control_event_listener().
◆ padico_vlink_packet_init()
Initialization function for the VLink_Packet driver for VIO.
Definition at line 190 of file vlink-packet.c.
References done, i, NULL, padico_control_event_subscribe(), padico_tm_bgthread_pool_create(), padico_vnode_component_driver, vlink_messaging_driver, vlink_packet_driver, vopw, vopw_control_event_listener(), and VOPW_VNODES_MAX.
◆ vlink_madio_rdshutdown()
|
static |
Definition at line 637 of file vlink-packet.c.
References vnode, and vnode_check.
Referenced by vsock_vopw_fullshutdown().
◆ vlink_madio_wrshutdown()
|
static |
Definition at line 642 of file vlink-packet.c.
References done, NULL, padico_tm_bgthread_start(), vobs_attr_status_s::pending_op, raddr, req, padico_vnode_s::status, vnode, vnode_check, vopw, vopw_deferred_req_worker(), and VOPW_OP_EOS.
Referenced by vsock_vopw_fullshutdown().
◆ vlink_packet_new_message()
|
inlinestatic |
Definition at line 170 of file vlink-packet.c.
References done, node, and padico_psp_new_message().
Referenced by vopw_accepted_send(), vopw_data_send(), vopw_deferred_req_worker(), vopw_oktosend_send(), vopw_rendezvous_send(), vsock_madio_sendto(), and vsock_vopw_connect().
◆ vlink_packet_send()
|
inlinestatic |
Definition at line 175 of file vlink-packet.c.
References done, padico_psp_end_message(), and padico_psp_pack().
Referenced by vopw_accepted_send(), vopw_data_send(), vopw_deferred_req_worker(), vopw_oktosend_send(), vopw_rendezvous_send(), vsock_madio_sendto(), and vsock_vopw_connect().
◆ vopw_accepted_send()
|
static |
Definition at line 1118 of file vlink-packet.c.
References vopw_hdr_s::vopw_hdr_info_u::ACCEPTED, done, vopw_hdr_s::info, vopw_hdr_info_accepted_s::my_tag, NULL, vopw_hdr_s::op, raddr, vopw_address_s::tag, vopw_hdr_s::tag, vlink_packet_new_message(), vlink_packet_send(), vnode, vnode_check, vlink_vopw_specific_s::vopw_binding, and VOPW_OP_ACCEPTED.
Referenced by vopw_acceptor().
◆ vopw_acceptor()
|
static |
Create a new socket from a listening server socket.
Definition at line 834 of file vlink-packet.c.
References done, node_from, padico_topo_host_getaddr(), padico_topo_node_gethost(), padico_topo_node_getname(), padico_vsock_acceptor_finalize(), padico_vnode_s::status, vnode, vnode_lock(), vnode_unlock(), vopw_accepted_send(), and vobs_attr_status_s::writable.
Referenced by vopw_psp_callback_CONNECT().
◆ vopw_connrefused_send()
|
static |
Definition at line 1132 of file vlink-packet.c.
References done, NULL, padico_tm_bgthread_start(), padico_topo_node_getname(), remote_node, req, vopw, vopw_deferred_req_worker(), and VOPW_OP_CONNREFUSED.
Referenced by vopw_psp_callback_CONNECT().
◆ vopw_control_event_listener()
control events listener to invalidate vnodes when nodes disappear.
Definition at line 1257 of file vlink-packet.c.
References vobs_attr_remote_s::can_recv, vobs_attr_remote_s::can_send, padico_vnode_s::content, done, vobs_attr_remote_s::established, event, i, node, padico_control_event_s::PADICO_CONTROL_EVENT_DELETE_NODE, raddr, padico_vnode_content_t::remote, padico_vnode_s::remote, vnode, vnode_lock(), vnode_set_error(), vnode_unlock(), vopw, and VOPW_VNODES_MAX.
Referenced by padico_vlink_packet_finalize(), and padico_vlink_packet_init().
◆ vopw_data_check()
|
inlinestatic |
- Returns
- -1 if impossible to receive, 0 if ok
Definition at line 977 of file vlink-packet.c.
References padico_vnode_s::content, vopw_hdr_s::vopw_hdr_info_u::DATA, done, vobs_attr_remote_s::established, vopw_hdr_s::info, vopw_hdr_info_data_s::len, node_from, padico_topo_node_getname(), raddr, padico_vnode_s::rbox, rc, vobs_attr_rbox_s::read_done, vobs_attr_rbox_s::read_posted, padico_vnode_content_t::remote, padico_vnode_s::remote, vopw_hdr_s::tag, vnode, and vnode_set_error().
Referenced by vopw_psp_callback_DATA().
◆ vopw_data_process()
|
inlinestatic |
- Precondition
- vnode->mutex locked
Definition at line 1019 of file vlink-packet.c.
References assert(), vlink_statistics_s::bytes_recv_by_copy, vlink_statistics_s::bytes_recv_zero_copy, vobs_attr_rbox_s::cant_interrupt_read, padico_vnode_s::content, vopw_hdr_info_data_s::data, vopw_hdr_s::vopw_hdr_info_u::DATA, done, vopw_hdr_s::info, vopw_hdr_info_data_s::len, vlink_statistics_s::no_rbox, NULL, vlink_statistics_s::num_recv_by_copy, vlink_statistics_s::num_recv_zero_copy, padico_vnode_content_t::rbox, padico_vnode_s::rbox, vlink_statistics_s::rbox_too_small, vobs_attr_rbox_s::read_buffer, vobs_attr_rbox_s::read_done, vobs_attr_rbox_s::read_posted, vobs_attr_status_s::readable, padico_vnode_s::status, tlen, vopw_hdr_info_data_s::tlen, vlink_profile_point, vlink_stat, vnode, vobs_attr_rbox, vobs_attr_status, vobs_signal(), VOPW_BUF_ALLOC, VOPW_BUF_BUFFERTOMEM, VOPW_BUF_MEMTOBUFFER, VOPW_BUF_PUMPTOBUFFER, and VOPW_IBOX_DATA.
Referenced by vopw_psp_callback_DATA().
◆ vopw_data_send()
|
static |
Send 'len' more bytes of data on 'vnode' from its current wbox.
- Precondition
- vnode->mutex locked
- vopw.lock unlocked
Definition at line 927 of file vlink-packet.c.
References assert(), done, len, NULL, rc, tlen, vlink_packet_new_message(), vlink_packet_send(), vlink_profile_point, vnode, vnode_check, vnode_set_error(), vobs_attr_wbox, vobs_signal(), VOPW_OP_DATA, padico_vnode_s::wbox, vobs_attr_wbox_s::write_buffer, and vobs_attr_wbox_s::write_done.
Referenced by vopw_psp_callback_OKTOSEND(), and vsock_vopw_send_post().
◆ vopw_deferred_req_worker()
Definition at line 800 of file vlink-packet.c.
References arg, assert(), padico_vnode_s::content, done, NULL, vobs_attr_status_s::pending_op, padico_vnode_content_t::remote, req, padico_vnode_s::status, vlink_packet_new_message(), vlink_packet_send(), vnode, vnode_lock(), vnode_unlock(), vobs_attr_status, vobs_signal(), and vobs_attr_status_s::writable.
Referenced by vlink_madio_wrshutdown(), vopw_connrefused_send(), vopw_dynres_resolve(), and vopw_psp_callback_GET_TAG().
◆ vopw_dynres_lookup()
|
static |
Definition at line 1188 of file vlink-packet.c.
References vopw_dynres_entry_s::addr, done, e, i, NULL, port, and vopw.
Referenced by vopw_dynres_resolve().
◆ vopw_dynres_register()
|
static |
Definition at line 1174 of file vlink-packet.c.
References vopw_dynres_entry_s::addr, done, e, port, rank, tag, and vopw.
Referenced by vopw_psp_callback_GIVE_TAG().
◆ vopw_dynres_resolve()
|
static |
Definition at line 1210 of file vlink-packet.c.
References vopw_dynres_entry_s::addr, done, e, NULL, padico_tm_bgthread_start(), port, req, vopw, vopw_deferred_req_worker(), vopw_dynres_lookup(), VOPW_OP_GET_TAG, and VOPW_TAG_ANY.
Referenced by vsock_madio_sendto().
◆ vopw_dynres_reverse_lookup()
|
static |
Definition at line 1243 of file vlink-packet.c.
References done, node, NULL, padico_topo_host_getaddr(), padico_topo_node_gethost(), and port.
Referenced by vopw_psp_callback_PACKET(), vsock_madio_recvfrom(), and vsock_madio_sendto().
◆ vopw_lock_acquire()
|
inlinestatic |
safely acquire the vopw_lock while already holding a vnode lock
Definition at line 57 of file vlink-packet.c.
References done, vnode, vnode_lock(), vnode_unlock(), and vopw.
Referenced by vopw_psp_handler(), vopw_unregister_vnode(), vopw_vnode_lookup(), and vsock_vopw_gentag().
◆ vopw_lock_release()
Definition at line 70 of file vlink-packet.c.
Referenced by vopw_psp_handler(), vopw_unregister_vnode(), vopw_vnode_lookup(), and vsock_vopw_gentag().
◆ vopw_oktosend_send()
|
static |
send an OKTOSEND message to acknowledge a rendez-vous
- Precondition
- vnode->mutex locked
- vopw.lock unlocked
Definition at line 892 of file vlink-packet.c.
References accepted_len, vobs_attr_rbox_s::cant_interrupt_read, padico_vnode_s::content, done, NULL, raddr, padico_vnode_s::rbox, vobs_attr_rbox_s::read_done, vobs_attr_rbox_s::read_posted, padico_vnode_content_t::remote, rendezvous_size, padico_vnode_s::status, vlink_packet_new_message(), vlink_packet_send(), vnode, vnode_check, VOPW_OP_OKTOSEND, and vobs_attr_status_s::writable.
Referenced by vopw_psp_callback_RENDEZVOUS(), and vsock_vopw_recv_post().
◆ vopw_psp_callback_ACCEPTED()
|
inlinestatic |
Definition at line 1523 of file vlink-packet.c.
References done, node_from, padico_vsock_connector_finalize(), padico_vnode_s::status, vnode, vnode_check, and vobs_attr_status_s::writable.
◆ vopw_psp_callback_CONNECT()
|
inlinestatic |
Definition at line 1476 of file vlink-packet.c.
References vobs_attr_listener_s::backlog, padico_vnode_s::content, done, padico_vnode_content_t::listener, padico_vnode_s::listener, node_from, NULL, padico_vnode_content_t::socket, tag, vnode, vopw, vopw_acceptor(), and vopw_connrefused_send().
◆ vopw_psp_callback_CONNREFUSED()
|
inlinestatic |
Definition at line 1516 of file vlink-packet.c.
References done, vnode, vnode_set_error(), vobs_attr_remote, and vobs_signal().
◆ vopw_psp_callback_DATA()
|
inlinestatic |
Definition at line 1306 of file vlink-packet.c.
References vobs_attr_status_s::connecting, padico_vnode_s::content, done, vobs_attr_remote_s::established, node_from, NULL, padico_vnode_content_t::remote, padico_vnode_s::remote, padico_vnode_s::status, tlen, vnode, vopw_data_check(), and vopw_data_process().
◆ vopw_psp_callback_EOS()
|
inlinestatic |
Definition at line 1536 of file vlink-packet.c.
References done, NULL, tag, vnode, and VOPW_IBOX_EOS.
◆ vopw_psp_callback_GET_TAG()
|
inlinestatic |
Definition at line 1553 of file vlink-packet.c.
References padico_vnode_s::binding, done, node_from, NULL, padico_na_rank, padico_tm_bgthread_start(), padico_topo_getlocalnode(), padico_topo_host_getaddr(), padico_topo_node_gethost(), padico_topo_node_getname(), vobs_attr_status_s::pending_op, port, vobs_attr_binding_s::primary, rank, req, padico_vnode_s::status, tag, vnode, vopw, vopw_deferred_req_worker(), VOPW_OP_GIVE_TAG, VOPW_TAG_ANY, and vopw_vnode_lookup().
◆ vopw_psp_callback_GIVE_TAG()
|
inlinestatic |
Definition at line 1590 of file vlink-packet.c.
References done, vopw_hdr_s::vopw_hdr_info_u::GIVETAG, vopw_deferred_req_s::hdr, vopw_hdr_s::info, vopw_hdr_info_givetag_s::my_addr, vopw_hdr_info_givetag_s::my_port, vopw_hdr_info_givetag_s::my_rank, vopw_hdr_info_givetag_s::my_tag, and vopw_dynres_register().
◆ vopw_psp_callback_OKTOSEND()
|
inlinestatic |
We have received an OKTOSEND- chose&do the appropriate reply.
- Precondition
- vnode->mutex locked
- vsock_xchn unlocked
Definition at line 1434 of file vlink-packet.c.
References accepted_len, assert(), done, vobs_attr_status_s::pending_op, padico_vnode_s::status, vnode, vnode_check, vobs_attr_status, vobs_attr_wbox, vobs_signal(), vopw_data_send(), vopw_rendezvous_send(), padico_vnode_s::wbox, vobs_attr_wbox_s::write_done, and vobs_attr_wbox_s::write_posted.
◆ vopw_psp_callback_PACKET()
|
inlinestatic |
Definition at line 1346 of file vlink-packet.c.
References assert(), padico_vnode_s::content, done, vobs_attr_rbox_s::from, vobs_attr_rbox_s::fromlen, len, node_from, NULL, ptr, padico_vnode_content_t::rbox, padico_vnode_s::rbox, vobs_attr_rbox_s::read_buffer, vobs_attr_rbox_s::read_done, vobs_attr_rbox_s::read_posted, vnode, vobs_attr_rbox, vobs_attr_status, vobs_signal(), vopw_dynres_reverse_lookup(), and VOPW_IBOX_PACKET.
◆ vopw_psp_callback_RENDEZVOUS()
|
inlinestatic |
We have received a RENDEZVOUS- chose&do the appropriate reply.
- Precondition
- vnode->mutex locked
- vsock_xchn unlocked
Definition at line 1403 of file vlink-packet.c.
References padico_vnode_s::content, done, padico_vnode_content_t::rbox, padico_vnode_s::rbox, vobs_attr_rbox_s::read_done, vobs_attr_rbox_s::read_posted, vobs_attr_status_s::readable, rendezvous_size, padico_vnode_s::status, vnode, vobs_attr_status, vobs_signal(), VOPW_IBOX_RENDEZVOUS, and vopw_oktosend_send().
◆ vopw_psp_handler()
|
static |
the great callback function performing all receptions from SimplePackets in vopw
Definition at line 1602 of file vlink-packet.c.
References assert(), done, NULL, op, vopw_hdr_s::op, padico_topo_node_getname(), padico_vnode_s::rbox, tag, vopw_hdr_s::tag, vobs_attr_rbox_s::tid, vlink_profile_point, vlink_profile_start, vnode, vnode_check, vnode_lock(), vnode_unlock(), vopw, VOPW_CALLBACK_CASE, vopw_lock_acquire(), vopw_lock_release(), and VOPW_TAG_ANY.
Referenced by vsock_vopw_create().
◆ vopw_rendezvous_send()
|
static |
send a RENDEZVOUS request
- Precondition
- vnode->mutex locked
Definition at line 871 of file vlink-packet.c.
References done, NULL, vlink_packet_new_message(), vlink_packet_send(), vnode, VOPW_OP_RENDEZVOUS, padico_vnode_s::wbox, vobs_attr_wbox_s::write_done, and vobs_attr_wbox_s::write_posted.
Referenced by vopw_psp_callback_OKTOSEND(), and vsock_vopw_send_post().
◆ vopw_unregister_vnode()
|
static |
Definition at line 612 of file vlink-packet.c.
References done, i, NULL, vnode, vopw, vopw_lock_acquire(), vopw_lock_release(), VOPW_TAG_NOTAG, and VOPW_VNODES_MAX.
Referenced by vsock_vopw_fullshutdown().
◆ vopw_vnode_lookup()
|
static |
Definition at line 1145 of file vlink-packet.c.
References assert(), padico_vnode_s::binding, done, i, NULL, port, vobs_attr_binding_s::primary, vnode, vnode_check, vopw, vopw_lock_acquire(), vopw_lock_release(), and VOPW_VNODES_MAX.
Referenced by vopw_psp_callback_GET_TAG(), and vsock_madio_sendto().
◆ vsock_madio_recvfrom()
| ssize_t vsock_madio_recvfrom | ( | padico_vnode_t | vnode, |
| void * | buf, | ||
| size_t | len | ||
| ) |
Definition at line 763 of file vlink-packet.c.
References assert(), done, vobs_attr_rbox_s::from, vobs_attr_rbox_s::fromlen, len, NULL, padico_vnode_s::rbox, rc, vobs_attr_rbox_s::read_done, vobs_attr_status_s::readable, padico_vnode_s::status, vnode, vnode_check, vopw_dynres_reverse_lookup(), and VOPW_IBOX_PACKET.
Referenced by padico_vsock_recvfrom().
◆ vsock_madio_sendto()
| ssize_t vsock_madio_sendto | ( | padico_vnode_t | vnode, |
| const void * | buf, | ||
| size_t | len, | ||
| padico_topo_node_t | node, | ||
| int | port | ||
| ) |
Definition at line 684 of file vlink-packet.c.
References assert(), padico_vnode_s::binding, vlink_vopw_specific_s::config, padico_vnode_s::content, done, vobs_attr_rbox_s::from, vobs_attr_rbox_s::fromlen, len, node, NULL, padico_topo_getlocalnode(), padico_topo_host_getaddr(), padico_topo_node_gethost(), port, vobs_attr_binding_s::primary, padico_vnode_content_t::rbox, padico_vnode_s::rbox, rc, vobs_attr_rbox_s::read_buffer, vobs_attr_rbox_s::read_done, vobs_attr_rbox_s::read_posted, tag, vlink_packet_new_message(), vlink_packet_send(), vnode, vnode_lock(), vnode_unlock(), vobs_attr_rbox, vobs_signal(), vopw_dynres_resolve(), vopw_dynres_reverse_lookup(), VOPW_IBOX_PACKET, VOPW_OP_PACKET, and vopw_vnode_lookup().
Referenced by padico_vsock_sendto().
◆ vsock_vopw_bind()
|
static |
Definition at line 483 of file vlink-packet.c.
References assert(), vobs_attr_binding_s::autobind, padico_vnode_s::binding, done, rc, vnode, vnode_check, vnode_set_error(), vsock_vopw_genaddr(), and vsock_vopw_gentag().
Referenced by vsock_vopw_connect(), and vsock_vopw_listen().
◆ vsock_vopw_connect()
|
static |
Definition at line 552 of file vlink-packet.c.
References AF_PADICO_VOPW, check, done, NULL, padico_psp_connect(), padico_psp_listen(), padico_sockaddr_check(), padico_sockaddr_payload, padico_topo_getnodebyuuid(), padico_topo_node_getname(), rc, padico_vnode_s::remote, vobs_attr_remote_s::remote_addr, remote_node, vobs_attr_socket_s::so_family, vobs_attr_socket_s::so_type, padico_vnode_s::socket, vlink_packet_new_message(), vlink_packet_send(), vnode, vnode_activate, vnode_check, vnode_get_error(), vnode_set_error(), VOPW_OP_CONNECT, VOPW_TAG_ANY, and vsock_vopw_bind().
◆ vsock_vopw_create()
|
static |
< VLink_Packet
Definition at line 263 of file vlink-packet.c.
References vobs_attr_socket_s::capabilities, done, instance, NULL, padico_psp_init(), PADICO_PSP_VOPW, padico_vnode_get_self_instance(), padico_vsock_caps_clientmustbind, padico_vsock_caps_secondaryonly, puk_instance_context_indirect_PadicoSimplePackets(), padico_vnode_s::socket, vnode, vnode_check, vopw_psp_handler(), and VOPW_TAG_NOTAG.
◆ vsock_vopw_dumpstat()
|
static |
Definition at line 228 of file vlink-packet.c.
References done, i, NULL, padico_topo_node_getname(), raddr, rc, and vnode.
◆ vsock_vopw_fullshutdown()
|
static |
Definition at line 665 of file vlink-packet.c.
References padico_vnode_s::content, done, puk_receptacle_PadicoSimplePackets_null(), padico_vnode_content_t::remote, vlink_madio_rdshutdown(), vlink_madio_wrshutdown(), vnode, and vopw_unregister_vnode().
◆ vsock_vopw_genaddr()
|
static |
generate an address from the current tag
Definition at line 466 of file vlink-packet.c.
References AF_PADICO_VOPW, assert(), padico_vnode_s::binding, done, padico_sockaddr_init(), padico_sockaddr_payload, padico_topo_node_getuuid(), PADICO_TOPO_UUID_SIZE, vobs_attr_binding_s::primary, vobs_attr_binding_s::primary_len, socklen_t, vnode, and vnode_check.
Referenced by vsock_vopw_bind().
◆ vsock_vopw_gentag()
|
static |
generates a new tag
Definition at line 433 of file vlink-packet.c.
References done, i, NULL, padico_topo_getlocalnode(), padico_vnode_s::rbox, rc, vobs_attr_rbox_s::tid, vnode, vnode_check, vopw, vopw_lock_acquire(), vopw_lock_release(), and VOPW_TAG_NEXT.
Referenced by vsock_vopw_bind().
◆ vsock_vopw_listen()
|
static |
Definition at line 503 of file vlink-packet.c.
References AF_PADICO_VOPW, assert(), vobs_attr_binding_s::autobind, padico_vnode_s::binding, check, done, listener, padico_vnode_s::listener, NULL, padico_psp_listen(), padico_sockaddr_check(), padico_sockaddr_payload, padico_topo_getnodebyuuid(), padico_topo_node_getname(), padico_vnode_component_acceptor(), padico_vsock_create(), rc, remote_node, vobs_attr_socket_s::so_family, vobs_attr_socket_s::so_protocol, vobs_attr_socket_s::so_type, padico_vnode_s::socket, vobs_attr_listener_s::src_addr, vnode, vnode_activate, vnode_check, vnode_lock(), vnode_set_error(), vnode_unlock(), and vsock_vopw_bind().
◆ vsock_vopw_recv_post()
|
static |
Madeleine vnode recv_post function.
Post a recv request. Completes immediately if data is available in iboxes. Post an rbox if no ibox is available. recv request is stored in vnode->rbox.
- Note
- non-blocking call
- Precondition
- vnode->mutex locked
- vopw.lock unlocked
- Postcondition
- rbox posted if returns -1
- vnode->mutex locked
Definition at line 301 of file vlink-packet.c.
References assert(), vobs_attr_remote_s::can_recv, padico_vnode_s::content, done, vobs_attr_status_s::end_of_file, NULL, padico_vnode_content_t::rbox, padico_vnode_s::rbox, vobs_attr_rbox_s::read_buffer, vobs_attr_rbox_s::read_done, vobs_attr_rbox_s::read_posted, vobs_attr_status_s::readable, padico_vnode_s::remote, padico_vnode_s::status, vobs_attr_rbox_s::tid, vnode, vnode_check, vobs_attr_rbox, vobs_attr_remote, vobs_attr_status, vobs_signal(), VOPW_BUF_BUFFERTOMEM, VOPW_BUF_CURRENTSIZE, VOPW_BUF_FREE, VOPW_IBOX_DATA, VOPW_IBOX_EOS, VOPW_IBOX_RENDEZVOUS, and vopw_oktosend_send().
◆ vsock_vopw_send_post()
|
static |
- Precondition
- vnode->mutex locked
- vopw.lock unlocked
Definition at line 394 of file vlink-packet.c.
References assert(), done, NULL, vobs_attr_status_s::pending_op, padico_vnode_s::status, vlink_profile_point, vnode, vnode_check, vobs_attr_wbox, vobs_signal(), vopw_data_send(), vopw_rendezvous_send(), padico_vnode_s::wbox, vobs_attr_wbox_s::write_done, and vobs_attr_wbox_s::write_posted.
Variable Documentation
◆ lock
| pthread_mutex_t lock |
lock for the vnode indirection table
Definition at line 46 of file vlink-packet.c.
◆ padico_mod_binary__VLink_Packet
| struct puk_mod_binary_s padico_mod_binary__VLink_Packet = { .name = "VLink_Packet", .funcs = &padico_mod_funcs__VLink_Packet , .mod = NULL, .profile = { .total_mem = 0, .max_mem = 0, .num_malloc = 0, .num_free = 0 } , .auto_deps = & puk_mod_dep_0 , .n_deps = sizeof((char*[]){ 0, "VIO", "PadicoControl" }) / sizeof(char*), .deps = { NULL, "VIO", "PadicoControl" } } |
Definition at line 40 of file vlink-packet.c.
◆ padico_mod_funcs__VLink_Packet
|
static |
Definition at line 40 of file vlink-packet.c.
◆ pool
Definition at line 48 of file vlink-packet.c.
◆ resolver
| struct vopw_dynres_s resolver |
dynamic node resolution
Definition at line 47 of file vlink-packet.c.
◆ vnodes
| padico_vnode_t vnodes[256] |
indirection table to resolve tag->vnode
Definition at line 45 of file vlink-packet.c.
Referenced by padico_vio_pipe(), and vpipe_pipe().
◆ [struct]
| struct { ... } vopw |
Referenced by padico_vlink_packet_finalize(), padico_vlink_packet_init(), vlink_madio_wrshutdown(), vopw_connrefused_send(), vopw_control_event_listener(), vopw_dynres_lookup(), vopw_dynres_register(), vopw_dynres_resolve(), vopw_lock_acquire(), vopw_lock_release(), vopw_psp_callback_CONNECT(), vopw_psp_callback_GET_TAG(), vopw_psp_handler(), vopw_unregister_vnode(), vopw_vnode_lookup(), and vsock_vopw_gentag().