Lines Matching full:transport
16 * transport's wait list. At the same time, if a reply is expected,
20 * pending requests for that transport. If a matching XID is found, the
38 * Transport switch API copyright (C) 2005, Chuck Lever <cel@netapp.com>
91 * xprt_register_transport - register a transport implementation
92 * @transport: transport to register
94 * If a transport implementation is loaded as a kernel module, it can
98 * 0: transport successfully registered
99 * -EEXIST: transport already registered
100 * -EINVAL: transport module being unloaded
102 int xprt_register_transport(struct xprt_class *transport) in xprt_register_transport() argument
110 /* don't register the same transport class twice */ in xprt_register_transport()
111 if (t->ident == transport->ident) in xprt_register_transport()
115 list_add_tail(&transport->list, &xprt_list); in xprt_register_transport()
116 printk(KERN_INFO "RPC: Registered %s transport module.\n", in xprt_register_transport()
117 transport->name); in xprt_register_transport()
127 * xprt_unregister_transport - unregister a transport implementation
128 * @transport: transport to unregister
131 * 0: transport successfully unregistered
132 * -ENOENT: transport never registered
134 int xprt_unregister_transport(struct xprt_class *transport) in xprt_unregister_transport() argument
142 if (t == transport) { in xprt_unregister_transport()
144 "RPC: Unregistered %s transport module.\n", in xprt_unregister_transport()
145 transport->name); in xprt_unregister_transport()
146 list_del_init(&transport->list); in xprt_unregister_transport()
226 * xprt_find_transport_ident - convert a netid into a transport identifier
227 * @netid: transport to load
230 * > 0: transport identifier
231 * -ENOENT: transport module not available
258 * @task: task that is requesting access to the transport
259 * @xprt: pointer to the target transport
262 * transport connects from colliding with writes. No congestion control
322 * @task: task that is requesting access to the transport
326 * woken up and given access to the transport.
413 * xprt_release_xprt - allow other requests to use a transport
414 * @xprt: transport with other tasks potentially waiting
415 * @task: task that is releasing access to the transport
430 * xprt_release_xprt_cong - allow other requests to use a transport
431 * @xprt: transport with other tasks potentially waiting
432 * @task: task that is releasing access to the transport
435 * transport if the transport's congestion window allows it.
493 * @xprt: pointer to transport
547 * xprt_adjust_cwnd - adjust transport congestion window
552 * The transport code maintains an estimate on the maximum number of out-
587 * xprt_wake_pending_tasks - wake all tasks on a transport's pending queue
588 * @xprt: transport with waiting tasks
602 * xprt_wait_for_buffer_space - wait for transport output buffer to clear
603 * @xprt: transport
628 * xprt_write_space - wake the task waiting for transport output buffer space
629 * @xprt: transport with waiting tasks
752 * xprt_disconnect_done - mark a transport as disconnected
753 * @xprt: transport to flag for disconnect
770 * @xprt: transport to disconnect
784 * xprt_force_disconnect - force a transport to disconnect
785 * @xprt: transport to disconnect
816 * xprt_conditional_disconnect - force a transport to disconnect
817 * @xprt: transport to disconnect
821 * the current transport 'connection cookie'. It ensures that we don't
919 * xprt_connect - schedule a transport connect operation
960 * @xprt: transport instance
976 * @xprt: transport instance
1061 * @xprt: transport on which the original request was transmitted
1092 * xprt_pin_rqst - Pin a request on the transport receive list
1105 * xprt_unpin_rqst - Unpin a request on the transport receive list
1213 * @copied: actual number of bytes received from the transport
1256 * Set a request's retransmit timeout based on the transport's
1469 * xprt_request_prepare - prepare an encoded request for transport
1473 * Calls into the transport layer to do whatever is needed to prepare
1500 * xprt_prepare_transmit - reserve the transport before sending a request
1532 * xprt_request_transmit - send an RPC request on a transport
1534 * @snd_task: RPC task that owns the transport lock
1611 * xprt_transmit - send an RPC request on a transport
1614 * Attempts to drain the transmit queue. On exit, either the transport
1918 * If the transport is marked as being congested, or if no more
1919 * slots are available, place the task on the transport's
1939 * If no more slots are available, place the task on the transport's
2016 * a transport connection cannot be established. in xprt_init_bc_request()
2054 * xprt_create_transport - create an RPC transport
2055 * @args: rpc transport creation arguments
2065 dprintk("RPC: transport (%d) not supported\n", args->ident); in xprt_create_transport()
2118 * Tear down transport state and free the rpc_xprt in xprt_destroy_cb()
2124 * xprt_destroy - destroy an RPC transport, killing off all requests.
2125 * @xprt: transport to destroy
2131 * Exclude transport connect/disconnect handlers and autoclose in xprt_destroy()
2158 * xprt_get - return a reference to an RPC transport.
2159 * @xprt: pointer to the transport
2171 * xprt_put - release a reference to an RPC transport.
2172 * @xprt: pointer to the transport