id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
xprt_pin_rqst(9) | NAME xprt_pin_rqst - Pin a request on the transport receive list
SYNOPSIS void xprt_pin_rqst (struct rpc_rqst *req );
ARGUMENTS req Request to pin
DESCRIPTION Caller must ensure this is atomic with the call to xprt_lookup_rqst so should be holding xprt->queue_lock.
SEE ALSO Kernel file ./net/sunrpc/xprt.c... |
xprt_prepare_transmit(9) | NAME xprt_prepare_transmit - reserve the transport before sending a request
SYNOPSIS bool xprt_prepare_transmit (struct rpc_task *task );
ARGUMENTS task RPC task about to send a request
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_... |
xprt_put(9) | NAME xprt_put - release a reference to an RPC transport.
SYNOPSIS void xprt_put (struct rpc_xprt *xprt );
ARGUMENTS xprt pointer to the transport
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9), xprt_reserve_xprt(9), xprt_rel... |
xprt_rdma_alloc_slot(9) | NAME xprt_rdma_alloc_slot - allocate an rpc_rqst
SYNOPSIS void xprt_rdma_alloc_slot (struct rpc_xprt *xprt , struct rpc_task *task );
ARGUMENTS xprt controlling RPC transport
task RPC task requesting a fresh rpc_rqst
DESCRIPTION tk_status values: 0 if task->tk_rqstp points to a fresh rpc_rqst -... |
xprt_rdma_allocate(9) | NAME xprt_rdma_allocate - allocate transport resources for an RPC
SYNOPSIS int xprt_rdma_allocate (struct rpc_task *task );
ARGUMENTS task RPC task
DESCRIPTION Return values: 0: Success; rq_buffer points to RPC buffer to use ENOMEM: Out of memory, call again later EIO: A permanent error occurred, do ... |
xprt_rdma_bc_destroy(9) | NAME xprt_rdma_bc_destroy - Release resources for handling backchannel requests
SYNOPSIS void xprt_rdma_bc_destroy (struct rpc_xprt *xprt , unsigned int reqs );
ARGUMENTS xprt transport associated with these backchannel resources
reqs number of incoming requests to destroy; ignored
SEE ALSO Ker... |
xprt_rdma_bc_free_rqst(9) | NAME xprt_rdma_bc_free_rqst - Release a backchannel rqst
SYNOPSIS void xprt_rdma_bc_free_rqst (struct rpc_rqst *rqst );
ARGUMENTS rqst request to release
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/backchannel.c xprt_rdma_bc_setup(9), xprt_rdma_bc_maxpayload(9), xprt_rdma_bc_send_reply(9), xprt_rdma_bc_destroy... |
xprt_rdma_bc_maxpayload(9) | NAME xprt_rdma_bc_maxpayload - Return maximum backchannel message size
SYNOPSIS size_t xprt_rdma_bc_maxpayload (struct rpc_xprt *xprt );
ARGUMENTS xprt transport
DESCRIPTION Returns maximum size, in bytes, of a backchannel message
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/backchannel.c xprt_rdma_bc_setup(9)... |
xprt_rdma_bc_send_reply(9) | NAME xprt_rdma_bc_send_reply - marshal and send a backchannel reply
SYNOPSIS int xprt_rdma_bc_send_reply (struct rpc_rqst *rqst );
ARGUMENTS rqst RPC rqst with a backchannel RPC reply in rq_snd_buf
DESCRIPTION Caller holds the transport's write lock.
RETURN 0 if the RPC message has been sent -ENOTCONN if the... |
xprt_rdma_bc_send_request(9) | NAME xprt_rdma_bc_send_request - Send a reverse-direction Call
SYNOPSIS int xprt_rdma_bc_send_request (struct rpc_rqst *rqst );
ARGUMENTS rqst rpc_rqst containing Call message to be sent
DESCRIPTION Return values: 0 if the message was sent successfully ENOTCONN if the message was not sent
SEE ALSO Kernel fil... |
xprt_rdma_bc_setup(9) | NAME xprt_rdma_bc_setup - Pre-allocate resources for handling backchannel requests
SYNOPSIS int xprt_rdma_bc_setup (struct rpc_xprt *xprt , unsigned int reqs );
ARGUMENTS xprt transport associated with these backchannel resources
reqs number of concurrent incoming requests to expect
DESCRIPTION... |
xprt_rdma_close(9) | NAME xprt_rdma_close - close a transport connection
SYNOPSIS void xprt_rdma_close (struct rpc_xprt *xprt );
ARGUMENTS xprt transport context
DESCRIPTION Called during autoclose or device removal. Caller holds xprt's send lock to prevent activity on this transport while the connection is torn down.
SEE ALSO ... |
xprt_rdma_connect(9) | NAME xprt_rdma_connect - schedule an attempt to reconnect
SYNOPSIS void xprt_rdma_connect (struct rpc_xprt *xprt , struct rpc_task *task );
ARGUMENTS xprt transport state
task RPC scheduler context (unused)
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/transport.c xprt_rdma_connect_worker(9), ... |
xprt_rdma_connect_worker(9) | NAME xprt_rdma_connect_worker - establish connection in the background
SYNOPSIS void xprt_rdma_connect_worker (struct work_struct *work );
ARGUMENTS work worker thread context
DESCRIPTION Requester holds the xprt's send lock to prevent activity on this transport while a fresh connection is being established. ... |
xprt_rdma_destroy(9) | NAME xprt_rdma_destroy - Full tear down of transport
SYNOPSIS void xprt_rdma_destroy (struct rpc_xprt *xprt );
ARGUMENTS xprt doomed transport context
DESCRIPTION Caller guarantees there will be no more calls to us with this xprt.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/transport.c xprt_rdma_connect... |
xprt_rdma_free(9) | NAME xprt_rdma_free - release resources allocated by xprt_rdma_allocate
SYNOPSIS void xprt_rdma_free (struct rpc_task *task );
ARGUMENTS task RPC task
DESCRIPTION Caller guarantees rqst->rq_buffer is non-NULL.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/transport.c xprt_rdma_connect_worker(9), xprt_rdma_... |
xprt_rdma_free_slot(9) | NAME xprt_rdma_free_slot - release an rpc_rqst
SYNOPSIS void xprt_rdma_free_slot (struct rpc_xprt *xprt , struct rpc_rqst *rqst );
ARGUMENTS xprt controlling RPC transport
rqst rpc_rqst to release
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/transport.c xprt_rdma_connect_worker(9), xprt_rdma... |
xprt_rdma_inject_disconnect(9) | NAME xprt_rdma_inject_disconnect - inject a connection fault
SYNOPSIS void xprt_rdma_inject_disconnect (struct rpc_xprt *xprt );
ARGUMENTS xprt transport context
DESCRIPTION If xprt is connected, disconnect it to simulate spurious connection loss. Caller must hold xprt's send lock to ensure that data structur... |
xprt_rdma_send_request(9) | NAME xprt_rdma_send_request - marshal and send an RPC request
SYNOPSIS int xprt_rdma_send_request (struct rpc_rqst *rqst );
ARGUMENTS rqst RPC message in rq_snd_buf
DESCRIPTION Caller holds the transport's write lock.
RETURN 0 if the RPC message has been sent -ENOTCONN if the caller should reconnect and c... |
xprt_rdma_set_connect_timeout(9) | NAME xprt_rdma_set_connect_timeout - set timeouts for establishing a connection
SYNOPSIS void xprt_rdma_set_connect_timeout (struct rpc_xprt *xprt , unsigned long connect_timeout , unsigned long reconnect_timeout );
ARGUMENTS xprt controlling transport instance
connect_timeout
reconn... |
xprt_rdma_set_port(9) | NAME xprt_rdma_set_port - update server port with rpcbind result
SYNOPSIS void xprt_rdma_set_port (struct rpc_xprt *xprt , u16 port );
ARGUMENTS xprt controlling RPC transport
port new port value
DESCRIPTION Transport connect status is unchanged.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/tr... |
xprt_rdma_timer(9) | NAME xprt_rdma_timer - invoked when an RPC times out
SYNOPSIS void xprt_rdma_timer (struct rpc_xprt *xprt , struct rpc_task *task );
ARGUMENTS xprt controlling RPC transport
task RPC task that timed out
DESCRIPTION Invoked when the transport is still connected, but an RPC retransmit timeout occ... |
xprt_reconnect_backoff(9) | NAME xprt_reconnect_backoff - compute the new re-establish timeout
SYNOPSIS void xprt_reconnect_backoff (struct rpc_xprt *xprt , unsigned long init_to );
ARGUMENTS xprt transport instance
init_to initial reestablish timeout
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), x... |
xprt_reconnect_delay(9) | NAME xprt_reconnect_delay - compute the wait before scheduling a connect
SYNOPSIS unsigned long xprt_reconnect_delay (const struct rpc_xprt *xprt );
ARGUMENTS xprt transport instance
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ide... |
xprt_register(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xprt_register_transport(9) | NAME xprt_register_transport - register a transport implementation
SYNOPSIS int xprt_register_transport (struct xprt_class *transport );
ARGUMENTS transport transport to register
DESCRIPTION If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC clien... |
xprt_release(9) | NAME xprt_release - release an RPC request slot
SYNOPSIS void xprt_release (struct rpc_task *task );
ARGUMENTS task task which is finished with the slot
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9), xprt_reserve_xprt(9), x... |
xprt_release_rqst_cong(9) | NAME xprt_release_rqst_cong - housekeeping when request is complete
SYNOPSIS void xprt_release_rqst_cong (struct rpc_task *task );
ARGUMENTS task RPC request that recently completed
DESCRIPTION Useful for transports that require congestion control.
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_tr... |
xprt_release_xprt(9) | NAME xprt_release_xprt - allow other requests to use a transport
SYNOPSIS void xprt_release_xprt (struct rpc_xprt *xprt , struct rpc_task *task );
ARGUMENTS xprt transport with other tasks potentially waiting
task task that is releasing access to the transport
DESCRIPTION Note that "task" can b... |
xprt_release_xprt_cong(9) | NAME xprt_release_xprt_cong - allow other requests to use a transport
SYNOPSIS void xprt_release_xprt_cong (struct rpc_xprt *xprt , struct rpc_task *task );
ARGUMENTS xprt transport with other tasks potentially waiting
task task that is releasing access to the transport
DESCRIPTION Note that "t... |
xprt_request_dequeue_receive_locked(9) | NAME xprt_request_dequeue_receive_locked - Remove a request from the receive queue
SYNOPSIS void xprt_request_dequeue_receive_locked (struct rpc_task *task );
ARGUMENTS task RPC task
DESCRIPTION Caller must hold xprt->queue_lock.
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_u... |
xprt_request_dequeue_transmit(9) | NAME xprt_request_dequeue_transmit - remove a task from the transmission queue
SYNOPSIS void xprt_request_dequeue_transmit (struct rpc_task *task );
ARGUMENTS task pointer to rpc_task
DESCRIPTION Remove a task from the transmission queue
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9),... |
xprt_request_dequeue_transmit_locked(9) | NAME xprt_request_dequeue_transmit_locked - remove a task from the transmission queue
SYNOPSIS void xprt_request_dequeue_transmit_locked (struct rpc_task *task );
ARGUMENTS task pointer to rpc_task
DESCRIPTION Remove a task from the transmission queue Caller must hold xprt->queue_lock
SEE ALSO Kernel file ... |
xprt_request_dequeue_xprt(9) | NAME xprt_request_dequeue_xprt - remove a task from the transmit+receive queue
SYNOPSIS void xprt_request_dequeue_xprt (struct rpc_task *task );
ARGUMENTS task pointer to rpc_task
DESCRIPTION Remove a task from the transmit and receive queues, and ensure that it is not pinned by the receive work item.
SEE AL... |
xprt_request_enqueue_receive(9) | NAME xprt_request_enqueue_receive - Add an request to the receive queue
SYNOPSIS int xprt_request_enqueue_receive (struct rpc_task *task );
ARGUMENTS task RPC task
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9), xprt_reserve... |
xprt_request_enqueue_transmit(9) | NAME xprt_request_enqueue_transmit - queue a task for transmission
SYNOPSIS void xprt_request_enqueue_transmit (struct rpc_task *task );
ARGUMENTS task pointer to rpc_task
DESCRIPTION Add a task to the transmission queue.
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregiste... |
xprt_request_get_cong(9) | NAME xprt_request_get_cong - Request congestion control credits
SYNOPSIS bool xprt_request_get_cong (struct rpc_xprt *xprt , struct rpc_rqst *req );
ARGUMENTS xprt pointer to transport
req pointer to RPC request
DESCRIPTION Useful for transports that require congestion control.
SEE ALSO Kerne... |
xprt_request_need_retransmit(9) | NAME xprt_request_need_retransmit - Test if a task needs retransmission
SYNOPSIS bool xprt_request_need_retransmit (struct rpc_task *task );
ARGUMENTS task pointer to rpc_task
DESCRIPTION Test for whether a connection breakage requires the task to retransmit
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_r... |
xprt_request_prepare(9) | NAME xprt_request_prepare - prepare an encoded request for transport
SYNOPSIS int xprt_request_prepare (struct rpc_rqst *req , struct xdr_buf *buf );
ARGUMENTS req pointer to rpc_rqst
buf pointer to send/rcv xdr_buf
DESCRIPTION Calls into the transport layer to do whatever is needed to prepar... |
xprt_request_transmit(9) | NAME xprt_request_transmit - send an RPC request on a transport
SYNOPSIS int xprt_request_transmit (struct rpc_rqst *req , struct rpc_task *snd_task );
ARGUMENTS req pointer to request to transmit
snd_task RPC task that owns the transport lock
DESCRIPTION This performs the transmission of a single... |
xprt_request_wait_receive(9) | NAME xprt_request_wait_receive - wait for the reply to an RPC request
SYNOPSIS void xprt_request_wait_receive (struct rpc_task *task );
ARGUMENTS task RPC task about to send a request
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_id... |
xprt_reserve(9) | NAME xprt_reserve - allocate an RPC request slot
SYNOPSIS void xprt_reserve (struct rpc_task *task );
ARGUMENTS task RPC task requesting a slot allocation
DESCRIPTION If the transport is marked as being congested, or if no more slots are available, place the task on the transport's backlog queue.
SEE ALSO Ke... |
xprt_reserve_xprt(9) | NAME xprt_reserve_xprt - serialize write access to transports
SYNOPSIS int xprt_reserve_xprt (struct rpc_xprt *xprt , struct rpc_task *task );
ARGUMENTS xprt pointer to the target transport
task task that is requesting access to the transport
DESCRIPTION This prevents mixing the payload of sepa... |
xprt_retry_reserve(9) | NAME xprt_retry_reserve - allocate an RPC request slot
SYNOPSIS void xprt_retry_reserve (struct rpc_task *task );
ARGUMENTS task RPC task requesting a slot allocation
DESCRIPTION If no more slots are available, place the task on the transport's backlog queue. Note that the only difference with xprt_reserve i... |
xprt_schedule_autoclose_locked(9) | NAME xprt_schedule_autoclose_locked - Try to schedule an autoclose RPC call
SYNOPSIS void xprt_schedule_autoclose_locked (struct rpc_xprt *xprt );
ARGUMENTS xprt transport to disconnect
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_... |
xprt_setup_rdma(9) | NAME xprt_setup_rdma - Set up transport to use RDMA
SYNOPSIS struct rpc_xprt * xprt_setup_rdma (struct xprt_create *args );
ARGUMENTS args rpc transport arguments
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/transport.c xprt_rdma_connect_worker(9), xprt_rdma_inject_disconnect(9), xprt_rdma_destroy(9), x... |
xprt_sock_sendmsg(9) | NAME xprt_sock_sendmsg - write an xdr_buf directly to a socket
SYNOPSIS int xprt_sock_sendmsg (struct socket *sock , struct msghdr *msg , struct xdr_buf *xdr , unsigned int base , rpc_fraghdr marker , unsigned int *sent_p );
ARGUMENTS sock open socket to send on
msg socket message metadata
... |
xprt_switch_alloc(9) | NAME xprt_switch_alloc - Allocate a new struct rpc_xprt_switch
SYNOPSIS struct rpc_xprt_switch * xprt_switch_alloc (struct rpc_xprt *xprt , gfp_t gfp_flags );
ARGUMENTS xprt pointer to struct rpc_xprt
gfp_flags allocation flags
DESCRIPTION On success, returns an initialised struct rpc_xprt_switch, c... |
xprt_switch_get(9) | NAME xprt_switch_get - Return a reference to a rpc_xprt_switch
SYNOPSIS struct rpc_xprt_switch * xprt_switch_get (struct rpc_xprt_switch *xps );
ARGUMENTS xps pointer to struct rpc_xprt_switch
DESCRIPTION Returns a reference to xps unless the refcount is already zero.
SEE ALSO Kernel file ./net/sunrpc/xp... |
xprt_switch_put(9) | NAME xprt_switch_put - Release a reference to a rpc_xprt_switch
SYNOPSIS void xprt_switch_put (struct rpc_xprt_switch *xps );
ARGUMENTS xps pointer to struct rpc_xprt_switch
DESCRIPTION Release the reference to xps, and free it once the refcount is zero.
SEE ALSO Kernel file ./net/sunrpc/xprtmultipath.c ... |
xprt_transmit(9) | NAME xprt_transmit - send an RPC request on a transport
SYNOPSIS void xprt_transmit (struct rpc_task *task );
ARGUMENTS task controlling RPC task
DESCRIPTION Attempts to drain the transmit queue. On exit, either the transport signalled an error that needs to be handled before transmission can resume, or task ... |
xprt_unpin_rqst(9) | NAME xprt_unpin_rqst - Unpin a request on the transport receive list
SYNOPSIS void xprt_unpin_rqst (struct rpc_rqst *req );
ARGUMENTS req Request to pin
DESCRIPTION Caller should be holding xprt->queue_lock.
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9... |
xprt_unregister(3) | NAME rpc - library routines for remote procedure calls
LIBRARY Standard C library (libc, -lc)
SYNOPSIS AND DESCRIPTION These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, t... |
xprt_unregister_transport(9) | NAME xprt_unregister_transport - unregister a transport implementation
SYNOPSIS int xprt_unregister_transport (struct xprt_class *transport );
ARGUMENTS transport transport to unregister
RETURN 0: transport successfully unregistered -ENOENT: transport never registered
SEE ALSO Kernel file ./net/su... |
xprt_update_rtt(9) | NAME xprt_update_rtt - Update RPC RTT statistics
SYNOPSIS void xprt_update_rtt (struct rpc_task *task );
ARGUMENTS task RPC request that recently completed
DESCRIPTION Caller holds xprt->queue_lock.
SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_f... |
xprt_wait_for_buffer_space(9) | NAME xprt_wait_for_buffer_space - wait for transport output buffer to clear
SYNOPSIS void xprt_wait_for_buffer_space (struct rpc_xprt *xprt );
ARGUMENTS xprt transport
DESCRIPTION Note that we only set the timer for the case of RPC_IS_SOFT, since we don't in general want to force a socket disconnection due to... |
xprt_wait_for_reply_request_def(9) | NAME xprt_wait_for_reply_request_def - wait for reply
SYNOPSIS void xprt_wait_for_reply_request_def (struct rpc_task *task );
ARGUMENTS task pointer to rpc_task
DESCRIPTION Set a request's retransmit timeout based on the transport's default timeout parameters. Used by transports that don't adjust the retr... |
xprt_wait_for_reply_request_rtt(9) | NAME xprt_wait_for_reply_request_rtt - wait for reply using RTT estimator
SYNOPSIS void xprt_wait_for_reply_request_rtt (struct rpc_task *task );
ARGUMENTS task pointer to rpc_task
DESCRIPTION Set a request's retransmit timeout using the RTT estimator, and put the task to sleep on the pending queue.
SEE ALSO... |
xprt_wake_pending_tasks(9) | NAME xprt_wake_pending_tasks - wake all tasks on a transport's pending queue
SYNOPSIS void xprt_wake_pending_tasks (struct rpc_xprt *xprt , int status );
ARGUMENTS xprt transport with waiting tasks
status result code to plant in each task before waking it
SEE ALSO Kernel file ./net/sunrpc/xprt.... |
xprt_write_space(9) | NAME xprt_write_space - wake the task waiting for transport output buffer space
SYNOPSIS bool xprt_write_space (struct rpc_xprt *xprt );
ARGUMENTS xprt transport with waiting tasks
DESCRIPTION Can be called in a soft IRQ context, so xprt_write_space never sleeps.
SEE ALSO Kernel file ./net/sunrpc/xprt.c x... |
xps2_of_probe(9) | NAME xps2_of_probe - probe method for the PS/2 device.
SYNOPSIS int xps2_of_probe (struct platform_device *ofdev );
ARGUMENTS ofdev pointer to OF device structure
DESCRIPTION This function probes the PS/2 device in the device tree. It initializes the driver data structure and the hardware. It returns 0, if t... |
xps2_of_remove(9) | NAME xps2_of_remove - unbinds the driver from the PS/2 device.
SYNOPSIS void xps2_of_remove (struct platform_device *of_dev );
ARGUMENTS of_dev pointer to OF device structure
DESCRIPTION This function is called if a device is physically removed from the system or if the driver module is being unloaded. It frees... |
xps2_recv(9) | NAME xps2_recv - attempts to receive a byte from the PS/2 port.
SYNOPSIS int xps2_recv (struct xps2data *drvdata , u8 *byte );
ARGUMENTS drvdata pointer to ps2 device private data structure
byte address where the read data will be copied
DESCRIPTION If there is any data available in the PS/2 recei... |
xpsgtr_restore_lane_regs(9) | NAME xpsgtr_restore_lane_regs - Restores registers on resume
SYNOPSIS void xpsgtr_restore_lane_regs (struct xpsgtr_dev *gtr_dev );
ARGUMENTS gtr_dev pointer to phy controller context structure
SEE ALSO Kernel file ./drivers/phy/xilinx/phy-zynqmp.c struct xpsgtr_ssc(9), struct xpsgtr_phy(9), struct xpsgtr_dev(9),... |
xpsgtr_save_lane_regs(9) | NAME xpsgtr_save_lane_regs - Saves registers on suspend
SYNOPSIS void xpsgtr_save_lane_regs (struct xpsgtr_dev *gtr_dev );
ARGUMENTS gtr_dev pointer to phy controller context structure
SEE ALSO Kernel file ./drivers/phy/xilinx/phy-zynqmp.c struct xpsgtr_ssc(9), struct xpsgtr_phy(9), struct xpsgtr_dev(9), xpsgtr_... |
xrstors(9) | NAME xrstors - Restore selected components from a kernel xstate buffer
SYNOPSIS void xrstors (struct xregs_state *xstate , u64 mask );
ARGUMENTS xstate Pointer to the buffer
mask Feature mask to select the components to restore
DESCRIPTION The xstate buffer must be 64 byte aligned and correctl... |
xs_close(9) | NAME xs_close - close a socket
SYNOPSIS void xs_close (struct rpc_xprt *xprt );
ARGUMENTS xprt transport
DESCRIPTION This is used when all requests are complete; ie, no DRC state remains on the server we want to save. The caller _must_ be holding XPRT_LOCKED in order to avoid issues with xs_reset_transport... |
xs_connect(9) | NAME xs_connect - connect a socket to a remote endpoint
SYNOPSIS void xs_connect (struct rpc_xprt *xprt , struct rpc_task *task );
ARGUMENTS xprt pointer to transport structure
task address of RPC task that manages state of connect request
DESCRIPTION TCP: If the remote end dropped the conne... |
xs_data_ready(9) | NAME xs_data_ready - "data ready" callback for sockets
SYNOPSIS void xs_data_ready (struct sock *sk );
ARGUMENTS sk socket with data to read
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs_tcp_send_request(9), xs_error_report(9), ... |
xs_destroy(9) | NAME xs_destroy - prepare to shutdown a transport
SYNOPSIS void xs_destroy (struct rpc_xprt *xprt );
ARGUMENTS xprt doomed transport
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs_tcp_send_request(9), xs_error_report(9), xs_close(9), x... |
xs_disable_swap(9) | NAME xs_disable_swap - Untag this transport as being used for swap.
SYNOPSIS void xs_disable_swap (struct rpc_xprt *xprt );
ARGUMENTS xprt transport to tag
DESCRIPTION Drop a "swapper" reference to this xprt on behalf of the rpc_clnt. If the swapper refcount goes to 0, untag the socket as a memalloc socket.
... |
xs_enable_swap(9) | NAME xs_enable_swap - Tag this transport as being used for swap.
SYNOPSIS int xs_enable_swap (struct rpc_xprt *xprt );
ARGUMENTS xprt transport to tag
DESCRIPTION Take a reference to this transport on behalf of the rpc_clnt, and optionally mark it for swapping if it wasn't already.
SEE ALSO Kernel file ./n... |
xs_error_report(9) | NAME xs_error_report - callback to handle TCP socket state errors
SYNOPSIS void xs_error_report (struct sock *sk );
ARGUMENTS sk socket
NOTE we don't call sock_error since there may be a rpc_task using the socket, and so we don't want to clear sk->sk_err.
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nos... |
xs_local_print_stats(9) | NAME xs_local_print_stats - display AF_LOCAL socket-specific stats
SYNOPSIS void xs_local_print_stats (struct rpc_xprt *xprt , struct seq_file *seq );
ARGUMENTS xprt rpc_xprt struct containing statistics
seq output file
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_s... |
xs_local_send_request(9) | NAME xs_local_send_request - write an RPC request to an AF_LOCAL socket
SYNOPSIS int xs_local_send_request (struct rpc_rqst *req );
ARGUMENTS req pointer to RPC request
DESCRIPTION Return values: 0: The request has been sent EAGAIN: The socket was blocked, please call again later to complete the reque... |
xs_local_setup_socket(9) | NAME xs_local_setup_socket - create AF_LOCAL socket, connect to a local endpoint
SYNOPSIS int xs_local_setup_socket (struct sock_xprt *transport );
ARGUMENTS transport socket transport to connect
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs_... |
xs_local_state_change(9) | NAME xs_local_state_change - callback to handle AF_LOCAL socket state changes
SYNOPSIS void xs_local_state_change (struct sock *sk );
ARGUMENTS sk socket whose state has changed
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs_tcp_send_re... |
xs_nospace(9) | NAME xs_nospace - handle transmit was incomplete
SYNOPSIS int xs_nospace (struct rpc_rqst *req , struct sock_xprt *transport );
ARGUMENTS req pointer to RPC request
transport pointer to struct sock_xprt
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_local_send_request(9), xs_udp_send_reques... |
xs_set_port(9) | NAME xs_set_port - reset the port number in the remote endpoint address
SYNOPSIS void xs_set_port (struct rpc_xprt *xprt , unsigned short port );
ARGUMENTS xprt generic transport
port new port number
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_u... |
xs_setup_bc_tcp(9) | NAME xs_setup_bc_tcp - Set up transport to use a TCP backchannel socket
SYNOPSIS struct rpc_xprt * xs_setup_bc_tcp (struct xprt_create *args );
ARGUMENTS args rpc transport creation arguments
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs... |
xs_setup_local(9) | NAME xs_setup_local - Set up transport to use an AF_LOCAL socket
SYNOPSIS struct rpc_xprt * xs_setup_local (struct xprt_create *args );
ARGUMENTS args rpc transport creation arguments
DESCRIPTION AF_LOCAL is a "tpi_cots_ord" transport, just like TCP
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(... |
xs_setup_tcp(9) | NAME xs_setup_tcp - Set up transport to use a TCP socket
SYNOPSIS struct rpc_xprt * xs_setup_tcp (struct xprt_create *args );
ARGUMENTS args rpc transport creation arguments
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs_tcp_send_request(... |
xs_setup_tcp_tls(9) | NAME xs_setup_tcp_tls - Set up transport to use a TCP with TLS
SYNOPSIS struct rpc_xprt * xs_setup_tcp_tls (struct xprt_create *args );
ARGUMENTS args rpc transport creation arguments
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs_tcp_sen... |
xs_setup_udp(9) | NAME xs_setup_udp - Set up transport to use a UDP socket
SYNOPSIS struct rpc_xprt * xs_setup_udp (struct xprt_create *args );
ARGUMENTS args rpc transport creation arguments
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs_tcp_send_request(... |
xs_tcp_print_stats(9) | NAME xs_tcp_print_stats - display TCP socket-specific stats
SYNOPSIS void xs_tcp_print_stats (struct rpc_xprt *xprt , struct seq_file *seq );
ARGUMENTS xprt rpc_xprt struct containing statistics
seq output file
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_reque... |
xs_tcp_send_request(9) | NAME xs_tcp_send_request - write an RPC request to a TCP socket
SYNOPSIS int xs_tcp_send_request (struct rpc_rqst *req );
ARGUMENTS req pointer to RPC request
DESCRIPTION Return values: 0: The request has been sent EAGAIN: The socket was blocked, please call again later to complete the request ENOTCON... |
xs_tcp_setup_socket(9) | NAME xs_tcp_setup_socket - create a TCP socket and connect to a remote endpoint
SYNOPSIS void xs_tcp_setup_socket (struct work_struct *work );
ARGUMENTS work queued work item
DESCRIPTION Invoked by a work queue tasklet.
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9),... |
xs_tcp_shutdown(9) | NAME xs_tcp_shutdown - gracefully shut down a TCP socket
SYNOPSIS void xs_tcp_shutdown (struct rpc_xprt *xprt );
ARGUMENTS xprt transport
DESCRIPTION Initiates a graceful shutdown of the TCP socket by calling the equivalent of shutdown(SHUT_RDWR);
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9)... |
xs_tcp_state_change(9) | NAME xs_tcp_state_change - callback to handle TCP socket state changes
SYNOPSIS void xs_tcp_state_change (struct sock *sk );
ARGUMENTS sk socket whose state has changed
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_request(9), xs_udp_send_request(9), xs_tcp_send_request(9),... |
xs_tcp_tls_setup_socket(9) | NAME xs_tcp_tls_setup_socket - establish a TLS session on a TCP socket
SYNOPSIS void xs_tcp_tls_setup_socket (struct work_struct *work );
ARGUMENTS work queued work item
DESCRIPTION Invoked by a work queue tasklet. For RPC-with-TLS, there is a two-stage connection process. The "upper-layer xprt" is visible ... |
xs_tcp_write_space(9) | NAME xs_tcp_write_space - callback invoked when socket buffer space becomes available
SYNOPSIS void xs_tcp_write_space (struct sock *sk );
ARGUMENTS sk socket whose state has changed
DESCRIPTION Called when more output buffer space is available for this socket. We try not to wake our writers until they can... |
xs_tls_handshake_done(9) | NAME xs_tls_handshake_done - TLS handshake completion handler
SYNOPSIS void xs_tls_handshake_done (void *data , int status , key_serial_t peerid );
ARGUMENTS data address of xprt to wake
status status of handshake
peerid serial number of key containing the remote's identity
SEE ALSO ... |
xs_udp_data_read_skb(9) | NAME xs_udp_data_read_skb - receive callback for UDP sockets
SYNOPSIS void xs_udp_data_read_skb (struct rpc_xprt *xprt , struct sock *sk , struct sk_buff *skb );
ARGUMENTS xprt transport
sk socket
skb skbuff
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_lo... |
xs_udp_print_stats(9) | NAME xs_udp_print_stats - display UDP socket-specific stats
SYNOPSIS void xs_udp_print_stats (struct rpc_xprt *xprt , struct seq_file *seq );
ARGUMENTS xprt rpc_xprt struct containing statistics
seq output file
SEE ALSO Kernel file ./net/sunrpc/xprtsock.c xs_nospace(9), xs_local_send_reque... |
xs_udp_send_request(9) | NAME xs_udp_send_request - write an RPC request to a UDP socket
SYNOPSIS int xs_udp_send_request (struct rpc_rqst *req );
ARGUMENTS req pointer to RPC request
DESCRIPTION Return values: 0: The request has been sent EAGAIN: The socket was blocked, please call again later to complete the request ENOTCON... |
xs_udp_set_buffer_size(9) | NAME xs_udp_set_buffer_size - set send and receive limits
SYNOPSIS void xs_udp_set_buffer_size (struct rpc_xprt *xprt , size_t sndsize , size_t rcvsize );
ARGUMENTS xprt generic transport
sndsize requested size of send buffer, in bytes
rcvsize requested size of receive buffer, in bytes
... |
xs_udp_timer(9) | NAME xs_udp_timer - called when a retransmit timeout occurs on a UDP transport
SYNOPSIS void xs_udp_timer (struct rpc_xprt *xprt , struct rpc_task *task );
ARGUMENTS xprt controlling transport
task task that timed out
DESCRIPTION Adjust the congestion window after a retransmit timeout has occur... |
xs_udp_write_space(9) | NAME xs_udp_write_space - callback invoked when socket buffer space becomes available
SYNOPSIS void xs_udp_write_space (struct sock *sk );
ARGUMENTS sk socket whose state has changed
DESCRIPTION Called when more output buffer space is available for this socket. We try not to wake our writers until they can... |
xsaves(9) | NAME xsaves - Save selected components to a kernel xstate buffer
SYNOPSIS void xsaves (struct xregs_state *xstate , u64 mask );
ARGUMENTS xstate Pointer to the buffer
mask Feature mask to select the components to save
DESCRIPTION The xstate buffer must be 64 byte aligned and correctly initializ... |
xsk_buff_raw_get_ctx(9) | NAME xsk_buff_raw_get_ctx - get &xdp_desc context
SYNOPSIS struct xdp_desc_ctx xsk_buff_raw_get_ctx (const struct xsk_buff_pool *pool , u64 addr );
ARGUMENTS pool XSk buff pool desc address belongs to
addr desc address (from userspace)
DESCRIPTION Wrapper for xp_raw_get_ctx to be used in driver... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.