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>
88 * xprt_register_transport - register a transport implementation
89 * @transport: transport to register
91 * If a transport implementation is loaded as a kernel module, it can
95 * 0: transport successfully registered
96 * -EEXIST: transport already registered
97 * -EINVAL: transport module being unloaded
99 int xprt_register_transport(struct xprt_class *transport) in xprt_register_transport() argument
107 /* don't register the same transport class twice */ in xprt_register_transport()
108 if (t->ident == transport->ident) in xprt_register_transport()
112 list_add_tail(&transport->list, &xprt_list); in xprt_register_transport()
113 printk(KERN_INFO "RPC: Registered %s transport module.\n", in xprt_register_transport()
114 transport->name); in xprt_register_transport()
124 * xprt_unregister_transport - unregister a transport implementation
125 * @transport: transport to unregister
128 * 0: transport successfully unregistered
129 * -ENOENT: transport never registered
131 int xprt_unregister_transport(struct xprt_class *transport) in xprt_unregister_transport() argument
139 if (t == transport) { in xprt_unregister_transport()
141 "RPC: Unregistered %s transport module.\n", in xprt_unregister_transport()
142 transport->name); in xprt_unregister_transport()
143 list_del_init(&transport->list); in xprt_unregister_transport()
197 * xprt_load_transport - load a transport implementation
198 * @netid: transport to load
201 * 0: transport successfully loaded
202 * -ENOENT: transport module not available
229 * @task: task that is requesting access to the transport
230 * @xprt: pointer to the target transport
233 * transport connects from colliding with writes. No congestion control
293 * @task: task that is requesting access to the transport
297 * woken up and given access to the transport.
384 * xprt_release_xprt - allow other requests to use a transport
385 * @xprt: transport with other tasks potentially waiting
386 * @task: task that is releasing access to the transport
401 * xprt_release_xprt_cong - allow other requests to use a transport
402 * @xprt: transport with other tasks potentially waiting
403 * @task: task that is releasing access to the transport
406 * transport if the transport's congestion window allows it.
464 * @xprt: pointer to transport
518 * xprt_adjust_cwnd - adjust transport congestion window
523 * The transport code maintains an estimate on the maximum number of out-
558 * xprt_wake_pending_tasks - wake all tasks on a transport's pending queue
559 * @xprt: transport with waiting tasks
573 * xprt_wait_for_buffer_space - wait for transport output buffer to clear
574 * @xprt: transport
599 * xprt_write_space - wake the task waiting for transport output buffer space
600 * @xprt: transport with waiting tasks
718 * xprt_disconnect_done - mark a transport as disconnected
719 * @xprt: transport to flag for disconnect
736 * @xprt: transport to disconnect
750 * xprt_force_disconnect - force a transport to disconnect
751 * @xprt: transport to disconnect
782 * xprt_conditional_disconnect - force a transport to disconnect
783 * @xprt: transport to disconnect
787 * the current transport 'connection cookie'. It ensures that we don't
872 * xprt_connect - schedule a transport connect operation
913 * @xprt: transport instance
929 * @xprt: transport instance
1014 * @xprt: transport on which the original request was transmitted
1045 * xprt_pin_rqst - Pin a request on the transport receive list
1058 * xprt_unpin_rqst - Unpin a request on the transport receive list
1162 * @copied: actual number of bytes received from the transport
1203 * Set a request's retransmit timeout based on the transport's
1400 * xprt_request_prepare - prepare an encoded request for transport
1403 * Calls into the transport layer to do whatever is needed to prepare
1428 * xprt_prepare_transmit - reserve the transport before sending a request
1457 * xprt_request_transmit - send an RPC request on a transport
1459 * @snd_task: RPC task that owns the transport lock
1531 * xprt_transmit - send an RPC request on a transport
1534 * Attempts to drain the transmit queue. On exit, either the transport
1817 * If the transport is marked as being congested, or if no more
1818 * slots are available, place the task on the transport's
1838 * If no more slots are available, place the task on the transport's
1947 * xprt_create_transport - create an RPC transport
1948 * @args: rpc transport creation arguments
1964 dprintk("RPC: transport (%d) not supported\n", args->ident); in xprt_create_transport()
2015 * Tear down transport state and free the rpc_xprt in xprt_destroy_cb()
2021 * xprt_destroy - destroy an RPC transport, killing off all requests.
2022 * @xprt: transport to destroy
2028 * Exclude transport connect/disconnect handlers and autoclose in xprt_destroy()
2055 * xprt_get - return a reference to an RPC transport.
2056 * @xprt: pointer to the transport
2068 * xprt_put - release a reference to an RPC transport.
2069 * @xprt: pointer to the transport