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>
87 * xprt_register_transport - register a transport implementation
88 * @transport: transport to register
90 * If a transport implementation is loaded as a kernel module, it can
94 * 0: transport successfully registered
95 * -EEXIST: transport already registered
96 * -EINVAL: transport module being unloaded
98 int xprt_register_transport(struct xprt_class *transport) in xprt_register_transport() argument
106 /* don't register the same transport class twice */ in xprt_register_transport()
107 if (t->ident == transport->ident) in xprt_register_transport()
111 list_add_tail(&transport->list, &xprt_list); in xprt_register_transport()
112 printk(KERN_INFO "RPC: Registered %s transport module.\n", in xprt_register_transport()
113 transport->name); in xprt_register_transport()
123 * xprt_unregister_transport - unregister a transport implementation
124 * @transport: transport to unregister
127 * 0: transport successfully unregistered
128 * -ENOENT: transport never registered
130 int xprt_unregister_transport(struct xprt_class *transport) in xprt_unregister_transport() argument
138 if (t == transport) { in xprt_unregister_transport()
140 "RPC: Unregistered %s transport module.\n", in xprt_unregister_transport()
141 transport->name); in xprt_unregister_transport()
142 list_del_init(&transport->list); in xprt_unregister_transport()
155 * xprt_load_transport - load a transport implementation
156 * @transport_name: transport to load
159 * 0: transport successfully loaded
160 * -ENOENT: transport module not available
195 * @task: task that is requesting access to the transport
196 * @xprt: pointer to the target transport
199 * transport connects from colliding with writes. No congestion control
259 * @task: task that is requesting access to the transport
263 * woken up and given access to the transport.
350 * xprt_release_xprt - allow other requests to use a transport
351 * @xprt: transport with other tasks potentially waiting
352 * @task: task that is releasing access to the transport
367 * xprt_release_xprt_cong - allow other requests to use a transport
368 * @xprt: transport with other tasks potentially waiting
369 * @task: task that is releasing access to the transport
372 * transport if the transport's congestion window allows it.
430 * @xprt: pointer to transport
484 * xprt_adjust_cwnd - adjust transport congestion window
489 * The transport code maintains an estimate on the maximum number of out-
524 * xprt_wake_pending_tasks - wake all tasks on a transport's pending queue
525 * @xprt: transport with waiting tasks
539 * xprt_wait_for_buffer_space - wait for transport output buffer to clear
540 * @xprt: transport
565 * xprt_write_space - wake the task waiting for transport output buffer space
566 * @xprt: transport with waiting tasks
684 * xprt_disconnect_done - mark a transport as disconnected
685 * @xprt: transport to flag for disconnect
701 * xprt_force_disconnect - force a transport to disconnect
702 * @xprt: transport to disconnect
739 * xprt_conditional_disconnect - force a transport to disconnect
740 * @xprt: transport to disconnect
744 * the current transport 'connection cookie'. It ensures that we don't
829 * xprt_connect - schedule a transport connect operation
875 * @xprt: transport instance
891 * @xprt: transport instance
976 * @xprt: transport on which the original request was transmitted
1007 * xprt_pin_rqst - Pin a request on the transport receive list
1020 * xprt_unpin_rqst - Unpin a request on the transport receive list
1124 * @copied: actual number of bytes received from the transport
1165 * Set a request's retransmit timeout based on the transport's
1373 * xprt_request_prepare - prepare an encoded request for transport
1376 * Calls into the transport layer to do whatever is needed to prepare
1401 * xprt_prepare_transmit - reserve the transport before sending a request
1429 * xprt_request_transmit - send an RPC request on a transport
1431 * @snd_task: RPC task that owns the transport lock
1503 * xprt_transmit - send an RPC request on a transport
1506 * Attempts to drain the transmit queue. On exit, either the transport
1761 * If the transport is marked as being congested, or if no more
1762 * slots are available, place the task on the transport's
1782 * If no more slots are available, place the task on the transport's
1892 * xprt_create_transport - create an RPC transport
1893 * @args: rpc transport creation arguments
1909 dprintk("RPC: transport (%d) not supported\n", args->ident); in xprt_create_transport()
1960 * Tear down transport state and free the rpc_xprt in xprt_destroy_cb()
1966 * xprt_destroy - destroy an RPC transport, killing off all requests.
1967 * @xprt: transport to destroy
1973 * Exclude transport connect/disconnect handlers and autoclose in xprt_destroy()
1993 * xprt_get - return a reference to an RPC transport.
1994 * @xprt: pointer to the transport
2006 * xprt_put - release a reference to an RPC transport.
2007 * @xprt: pointer to the transport