Lines Matching defs: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
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)
110 /* don't register the same transport class twice */
111 if (t->ident == transport->ident)
115 list_add_tail(&transport->list, &xprt_list);
116 printk(KERN_INFO "RPC: Registered %s transport module.\n",
117 transport->name);
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)
142 if (t == transport) {
144 "RPC: Unregistered %s transport module.\n",
145 transport->name);
146 list_del_init(&transport->list);
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
749 * xprt_disconnect_done - mark a transport as disconnected
750 * @xprt: transport to flag for disconnect
767 * @xprt: transport to disconnect
781 * xprt_force_disconnect - force a transport to disconnect
782 * @xprt: transport to disconnect
813 * xprt_conditional_disconnect - force a transport to disconnect
814 * @xprt: transport to disconnect
818 * the current transport 'connection cookie'. It ensures that we don't
916 * xprt_connect - schedule a transport connect operation
957 * @xprt: transport instance
973 * @xprt: transport instance
1058 * @xprt: transport on which the original request was transmitted
1089 * xprt_pin_rqst - Pin a request on the transport receive list
1102 * xprt_unpin_rqst - Unpin a request on the transport receive list
1210 * @copied: actual number of bytes received from the transport
1253 * Set a request's retransmit timeout based on the transport's
1460 * xprt_request_prepare - prepare an encoded request for transport
1464 * Calls into the transport layer to do whatever is needed to prepare
1491 * xprt_prepare_transmit - reserve the transport before sending a request
1523 * xprt_request_transmit - send an RPC request on a transport
1525 * @snd_task: RPC task that owns the transport lock
1599 * xprt_transmit - send an RPC request on a transport
1602 * Attempts to drain the transmit queue. On exit, either the transport
1906 * If the transport is marked as being congested, or if no more
1907 * slots are available, place the task on the transport's
1927 * If no more slots are available, place the task on the transport's
2034 * xprt_create_transport - create an RPC transport
2035 * @args: rpc transport creation arguments
2045 dprintk("RPC: transport (%d) not supported\n", args->ident);
2098 * Tear down transport state and free the rpc_xprt
2104 * xprt_destroy - destroy an RPC transport, killing off all requests.
2105 * @xprt: transport to destroy
2111 * Exclude transport connect/disconnect handlers and autoclose
2138 * xprt_get - return a reference to an RPC transport.
2139 * @xprt: pointer to the transport
2151 * xprt_put - release a reference to an RPC transport.
2152 * @xprt: pointer to the transport