id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
svc_rdma_cma_handler(9) | NAME svc_rdma_cma_handler - Handle CM events on client connections
SYNOPSIS int svc_rdma_cma_handler (struct rdma_cm_id *cma_id , struct rdma_cm_event *event );
ARGUMENTS cma_id the server's listener rdma_cm_id
event details of the event
DESCRIPTION Return values: 0: Do not destroy cma_id 1: Destr... |
svc_rdma_copy_inline_range(9) | NAME svc_rdma_copy_inline_range - Copy part of the inline content into pages
SYNOPSIS int svc_rdma_copy_inline_range (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head , unsigned int offset , unsigned int remaining );
ARGUMENTS rqstp RPC transaction context
head context for ongoing I/O
... |
svc_rdma_destroy_rw_ctxts(9) | NAME svc_rdma_destroy_rw_ctxts - Free accumulated R/W contexts
SYNOPSIS void svc_rdma_destroy_rw_ctxts (struct svcxprt_rdma *rdma );
ARGUMENTS rdma transport about to be destroyed
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_rw.c svc_rdma_rw_ctx_init(9), svc_rdma_cc_init(9), svc_rdma_cc_... |
svc_rdma_encode_read_list(9) | NAME svc_rdma_encode_read_list - Encode RPC Reply's Read chunk list
SYNOPSIS ssize_t svc_rdma_encode_read_list (struct svc_rdma_send_ctxt *sctxt );
ARGUMENTS sctxt Send context for the RPC Reply
DESCRIPTION Return values: On success, returns length in bytes of the Reply XDR buffer that was consumed by the Repl... |
svc_rdma_encode_reply_chunk(9) | NAME svc_rdma_encode_reply_chunk - Encode RPC Reply's Reply chunk
SYNOPSIS ssize_t svc_rdma_encode_reply_chunk (struct svc_rdma_recv_ctxt *rctxt , struct svc_rdma_send_ctxt *sctxt , unsigned int length );
ARGUMENTS rctxt Reply context with information about the RPC Call
sctxt Send context for the ... |
svc_rdma_encode_write_chunk(9) | NAME svc_rdma_encode_write_chunk - Encode one Write chunk
SYNOPSIS ssize_t svc_rdma_encode_write_chunk (struct svc_rdma_send_ctxt *sctxt , const struct svc_rdma_chunk *chunk );
ARGUMENTS sctxt Send context for the RPC Reply
chunk Write chunk to push
DESCRIPTION Copy a Write chunk from the Cal... |
svc_rdma_encode_write_list(9) | NAME svc_rdma_encode_write_list - Encode RPC Reply's Write chunk list
SYNOPSIS ssize_t svc_rdma_encode_write_list (struct svc_rdma_recv_ctxt *rctxt , struct svc_rdma_send_ctxt *sctxt );
ARGUMENTS rctxt Reply context with information about the RPC Call
sctxt Send context for the RPC Reply
DESCRIPT... |
svc_rdma_encode_write_segment(9) | NAME svc_rdma_encode_write_segment - Encode one Write segment
SYNOPSIS ssize_t svc_rdma_encode_write_segment (struct svc_rdma_send_ctxt *sctxt , const struct svc_rdma_chunk *chunk , u32 *remaining , unsigned int segno );
ARGUMENTS sctxt Send context for the RPC Reply
chunk Write chunk to push
... |
svc_rdma_flush_recv_queues(9) | NAME svc_rdma_flush_recv_queues - Drain pending Receive work
SYNOPSIS void svc_rdma_flush_recv_queues (struct svcxprt_rdma *rdma );
ARGUMENTS rdma svcxprt_rdma being shut down
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_recvfrom.c svc_rdma_recv_ctxts_destroy(9), svc_rdma_recv_ctxt_get(9), svc_rdm... |
svc_rdma_free(9) | NAME svc_rdma_free - Release class-specific transport resources
SYNOPSIS void svc_rdma_free (struct svc_xprt *xprt );
ARGUMENTS xprt Generic svc transport object
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_transport.c svc_rdma_listen_handler(9), svc_rdma_cma_handler(9)
April 2026 ... |
svc_rdma_handle_bc_reply(9) | NAME svc_rdma_handle_bc_reply - Process incoming backchannel Reply
SYNOPSIS void svc_rdma_handle_bc_reply (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *rctxt );
ARGUMENTS rqstp resources for handling the Reply
rctxt Received message
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_backc... |
svc_rdma_iov_dma_map(9) | NAME svc_rdma_iov_dma_map - DMA map an iovec
SYNOPSIS int svc_rdma_iov_dma_map (void *data , const struct kvec *iov );
ARGUMENTS data pointer to arguments
iov kvec to DMA map
DESCRIPTION ib_dma_map_page is used here because svc_rdma_dma_unmap handles DMA-unmap and it uses ib_dma_unmap_page exc... |
svc_rdma_iov_write(9) | NAME svc_rdma_iov_write - Construct RDMA Writes from an iov
SYNOPSIS int svc_rdma_iov_write (struct svc_rdma_write_info *info , const struct kvec *iov );
ARGUMENTS info pointer to write arguments
iov kvec to write
RETURN On success, returns zero -E2BIG if the client-provided Write chunk is too... |
svc_rdma_listen_handler(9) | NAME svc_rdma_listen_handler - Handle CM events generated on a listening endpoint
SYNOPSIS int svc_rdma_listen_handler (struct rdma_cm_id *cma_id , struct rdma_cm_event *event );
ARGUMENTS cma_id the server's listener rdma_cm_id
event details of the event
DESCRIPTION Return values: 0: Do not destr... |
svc_rdma_page_dma_map(9) | NAME svc_rdma_page_dma_map - DMA map one page
SYNOPSIS int svc_rdma_page_dma_map (void *data , struct page *page , unsigned long offset , unsigned int len );
ARGUMENTS data pointer to arguments
page struct page to DMA map
offset offset into the page
len number of byt... |
svc_rdma_pages_write(9) | NAME svc_rdma_pages_write - Construct RDMA Writes from pages
SYNOPSIS int svc_rdma_pages_write (struct svc_rdma_write_info *info , const struct xdr_buf *xdr , unsigned int offset , unsigned long length );
ARGUMENTS info pointer to write arguments
xdr xdr_buf with pages to write
offset ... |
svc_rdma_post_recvs(9) | NAME svc_rdma_post_recvs - Post initial set of Recv WRs
SYNOPSIS bool svc_rdma_post_recvs (struct svcxprt_rdma *rdma );
ARGUMENTS rdma fresh svcxprt_rdma
DESCRIPTION Return values: true: Receive Queue initialization successful false: memory allocation or DMA error
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/... |
svc_rdma_post_send(9) | NAME svc_rdma_post_send - Post a WR chain to the Send Queue
SYNOPSIS int svc_rdma_post_send (struct svcxprt_rdma *rdma , struct svc_rdma_send_ctxt *ctxt );
ARGUMENTS rdma transport context
ctxt WR chain to post
DESCRIPTION Copy fields in ctxt to stack variables in order to guarantee that these... |
svc_rdma_prepare_reply_chunk(9) | NAME svc_rdma_prepare_reply_chunk - Construct WR chain for writing the Reply chunk
SYNOPSIS int svc_rdma_prepare_reply_chunk (struct svcxprt_rdma *rdma , const struct svc_rdma_pcl *write_pcl , const struct svc_rdma_pcl *reply_pcl , struct svc_rdma_send_ctxt *sctxt , const struct xdr_buf *xdr );
ARGUMENTS rdma ... |
svc_rdma_process_read_list(9) | NAME svc_rdma_process_read_list - Pull list of Read chunks from the client
SYNOPSIS int svc_rdma_process_read_list (struct svcxprt_rdma *rdma , struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head );
ARGUMENTS rdma controlling RDMA transport
rqstp set of pages to use as Read sink buffers
... |
svc_rdma_pull_up_needed(9) | NAME svc_rdma_pull_up_needed - Determine whether to use pull-up
SYNOPSIS bool svc_rdma_pull_up_needed (const struct svcxprt_rdma *rdma , const struct svc_rdma_send_ctxt *sctxt , const struct svc_rdma_pcl *write_pcl , const struct xdr_buf *xdr );
ARGUMENTS rdma controlling transport
sctxt send_ctx... |
svc_rdma_pull_up_reply_msg(9) | NAME svc_rdma_pull_up_reply_msg - Copy Reply into a single buffer
SYNOPSIS int svc_rdma_pull_up_reply_msg (const struct svcxprt_rdma *rdma , struct svc_rdma_send_ctxt *sctxt , const struct svc_rdma_pcl *write_pcl , const struct xdr_buf *xdr );
ARGUMENTS rdma controlling transport
sctxt send_ctxt ... |
svc_rdma_read_call_chunk(9) | NAME svc_rdma_read_call_chunk - Build RDMA Read WQEs to pull a Long Message
SYNOPSIS int svc_rdma_read_call_chunk (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head );
ARGUMENTS rqstp RPC transaction context
head context for ongoing I/O
DESCRIPTION Return values: 0: RDMA Read WQEs were ... |
svc_rdma_read_chunk_range(9) | NAME svc_rdma_read_chunk_range - Build RDMA Read WRs for portion of a chunk
SYNOPSIS int svc_rdma_read_chunk_range (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head , const struct svc_rdma_chunk *chunk , unsigned int offset , unsigned int length );
ARGUMENTS rqstp RPC transaction context
head ... |
svc_rdma_read_data_item(9) | NAME svc_rdma_read_data_item - Construct RDMA Reads to pull data item Read chunks
SYNOPSIS int svc_rdma_read_data_item (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head );
ARGUMENTS rqstp RPC transaction context
head context for ongoing I/O
DESCRIPTION The chunk data lands in the page ... |
svc_rdma_read_multiple_chunks(9) | NAME svc_rdma_read_multiple_chunks - Construct RDMA Reads to pull data item Read chunks
SYNOPSIS int svc_rdma_read_multiple_chunks (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head );
ARGUMENTS rqstp RPC transaction context
head context for ongoing I/O
DESCRIPTION The chunk data lands... |
svc_rdma_read_special(9) | NAME svc_rdma_read_special - Build RDMA Read WQEs to pull a Long Message
SYNOPSIS int svc_rdma_read_special (struct svc_rqst *rqstp , struct svc_rdma_recv_ctxt *head );
ARGUMENTS rqstp RPC transaction context
head context for ongoing I/O
DESCRIPTION The start of the data lands in the first pag... |
svc_rdma_recv_ctxt_get(9) | NAME svc_rdma_recv_ctxt_get - Allocate a recv_ctxt
SYNOPSIS struct svc_rdma_recv_ctxt * svc_rdma_recv_ctxt_get (struct svcxprt_rdma *rdma );
ARGUMENTS rdma controlling svcxprt_rdma
DESCRIPTION Returns a recv_ctxt or (rarely) NULL if none are available.
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_re... |
svc_rdma_recv_ctxt_put(9) | NAME svc_rdma_recv_ctxt_put - Return recv_ctxt to free list
SYNOPSIS void svc_rdma_recv_ctxt_put (struct svcxprt_rdma *rdma , struct svc_rdma_recv_ctxt *ctxt );
ARGUMENTS rdma controlling svcxprt_rdma
ctxt object to return to the free list
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_r... |
svc_rdma_recv_ctxts_destroy(9) | NAME svc_rdma_recv_ctxts_destroy - Release all recv_ctxt's for an xprt
SYNOPSIS void svc_rdma_recv_ctxts_destroy (struct svcxprt_rdma *rdma );
ARGUMENTS rdma svcxprt_rdma being torn down
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_recvfrom.c svc_rdma_recv_ctxt_get(9), svc_rdma_recv_ctxt_put(9), ... |
svc_rdma_recvfrom(9) | NAME svc_rdma_recvfrom - Receive an RPC call
SYNOPSIS int svc_rdma_recvfrom (struct svc_rqst *rqstp );
ARGUMENTS rqstp request structure into which to receive an RPC Call
RETURN The positive number of bytes in the RPC Call message, 0 if there were no Calls ready to return, -EINVAL if the Read chunk data is too... |
svc_rdma_release_ctxt(9) | NAME svc_rdma_release_ctxt - Release transport-specific per-rqst resources
SYNOPSIS void svc_rdma_release_ctxt (struct svc_xprt *xprt , void *vctxt );
ARGUMENTS xprt the transport which owned the context
vctxt the context from rqstp->rq_xprt_ctxt or dr->xprt_ctxt
DESCRIPTION Ensure that the recv... |
svc_rdma_reply_chunk_release(9) | NAME svc_rdma_reply_chunk_release - Release Reply chunk I/O resources
SYNOPSIS void svc_rdma_reply_chunk_release (struct svcxprt_rdma *rdma , struct svc_rdma_send_ctxt *ctxt );
ARGUMENTS rdma controlling transport
ctxt Send context that is being released
SEE ALSO Kernel file ./net/sunrpc/xprtrd... |
svc_rdma_reply_done(9) | NAME svc_rdma_reply_done - Reply chunk Write completion handler
SYNOPSIS void svc_rdma_reply_done (struct ib_cq *cq , struct ib_wc *wc );
ARGUMENTS cq controlling Completion Queue
wc Work Completion report
DESCRIPTION Pages under I/O are released by a subsequent Send completion.
SEE ALSO K... |
svc_rdma_result_payload(9) | NAME svc_rdma_result_payload - special processing for a result payload
SYNOPSIS int svc_rdma_result_payload (struct svc_rqst *rqstp , unsigned int offset , unsigned int length );
ARGUMENTS rqstp RPC transaction context
offset payload's byte offset in rqstp->rq_res
length size of payloa... |
svc_rdma_rw_ctx_init(9) | NAME svc_rdma_rw_ctx_init - Prepare a R/W context for I/O
SYNOPSIS int svc_rdma_rw_ctx_init (struct svcxprt_rdma *rdma , struct svc_rdma_rw_ctxt *ctxt , u64 offset , u32 handle , unsigned int length , enum dma_data_direction direction );
ARGUMENTS rdma controlling transport instance
ctxt R/W con... |
svc_rdma_send_cid_init(9) | NAME svc_rdma_send_cid_init - Initialize a Send Queue completion ID
SYNOPSIS void svc_rdma_send_cid_init (struct svcxprt_rdma *rdma , struct rpc_rdma_cid *cid );
ARGUMENTS rdma controlling transport
cid completion ID to initialize
SEE ALSO Kernel file ./include/linux/sunrpc/svc_rdma.h
April 2... |
svc_rdma_send_ctxt_get(9) | NAME svc_rdma_send_ctxt_get - Get a free send_ctxt
SYNOPSIS struct svc_rdma_send_ctxt * svc_rdma_send_ctxt_get (struct svcxprt_rdma *rdma );
ARGUMENTS rdma controlling svcxprt_rdma
DESCRIPTION Returns a ready-to-use send_ctxt, or NULL if none are available and a fresh one cannot be allocated.
SEE ALSO Kernel... |
svc_rdma_send_ctxt_put(9) | NAME svc_rdma_send_ctxt_put - Return send_ctxt to free list
SYNOPSIS void svc_rdma_send_ctxt_put (struct svcxprt_rdma *rdma , struct svc_rdma_send_ctxt *ctxt );
ARGUMENTS rdma controlling svcxprt_rdma
ctxt object to return to the free list
DESCRIPTION Pages left in sc_pages are DMA unmapped and... |
svc_rdma_send_ctxts_destroy(9) | NAME svc_rdma_send_ctxts_destroy - Release all send_ctxt's for an xprt
SYNOPSIS void svc_rdma_send_ctxts_destroy (struct svcxprt_rdma *rdma );
ARGUMENTS rdma svcxprt_rdma being torn down
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_send_ctxt_get(9), svc_rdma_send_ctxt_put(9), ... |
svc_rdma_send_error_msg(9) | NAME svc_rdma_send_error_msg - Send an RPC/RDMA v1 error response
SYNOPSIS void svc_rdma_send_error_msg (struct svcxprt_rdma *rdma , struct svc_rdma_send_ctxt *sctxt , struct svc_rdma_recv_ctxt *rctxt , int status );
ARGUMENTS rdma controlling transport context
sctxt Send context for the response... |
svc_rdma_send_write_list(9) | NAME svc_rdma_send_write_list - Send all chunks on the Write list
SYNOPSIS int svc_rdma_send_write_list (struct svcxprt_rdma *rdma , const struct svc_rdma_recv_ctxt *rctxt , const struct xdr_buf *xdr );
ARGUMENTS rdma controlling RDMA transport
rctxt Write list provisioned by the client
x... |
svc_rdma_sendto(9) | NAME svc_rdma_sendto - Transmit an RPC reply
SYNOPSIS int svc_rdma_sendto (struct svc_rqst *rqstp );
ARGUMENTS rqstp processed RPC request, reply XDR already in ::rq_res
DESCRIPTION Any resources still associated with rqstp are released upon return. If no reply message was possible, the connection is closed.
... |
svc_rdma_wake_send_waiters(9) | NAME svc_rdma_wake_send_waiters - manage Send Queue accounting
SYNOPSIS void svc_rdma_wake_send_waiters (struct svcxprt_rdma *rdma , int avail );
ARGUMENTS rdma controlling transport
avail Number of additional SQEs that are now available
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_se... |
svc_rdma_wc_read_done(9) | NAME svc_rdma_wc_read_done - Handle completion of an RDMA Read ctx
SYNOPSIS void svc_rdma_wc_read_done (struct ib_cq *cq , struct ib_wc *wc );
ARGUMENTS cq controlling Completion Queue
wc Work Completion
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_rw.c svc_rdma_destroy_rw_ctx... |
svc_rdma_wc_receive(9) | NAME svc_rdma_wc_receive - Invoked by RDMA provider for each polled Receive WC
SYNOPSIS void svc_rdma_wc_receive (struct ib_cq *cq , struct ib_wc *wc );
ARGUMENTS cq Completion Queue context
wc Work Completion object
SEE ALSO Kernel file ./net/sunrpc/xprtrdma/svc_rdma_recvfrom.c svc_rdma_r... |
svc_rdma_wc_send(9) | NAME svc_rdma_wc_send - Invoked by RDMA provider for each polled Send WC
SYNOPSIS void svc_rdma_wc_send (struct ib_cq *cq , struct ib_wc *wc );
ARGUMENTS cq Completion Queue context
wc Work Completion object
DESCRIPTION NB: The svc_xprt/svcxprt_rdma is pinned whenever it's possible that the... |
svc_rdma_write_done(9) | NAME svc_rdma_write_done - Write chunk completion
SYNOPSIS void svc_rdma_write_done (struct ib_cq *cq , struct ib_wc *wc );
ARGUMENTS cq controlling Completion Queue
wc Work Completion
DESCRIPTION Pages under I/O are freed by a subsequent Send completion.
SEE ALSO Kernel file ./net/su... |
svc_rdma_xb_count_sges(9) | NAME svc_rdma_xb_count_sges - Count how many SGEs will be needed
SYNOPSIS int svc_rdma_xb_count_sges (const struct xdr_buf *xdr , void *data );
ARGUMENTS xdr xdr_buf containing portion of an RPC message to transmit
data pointer to arguments
RETURN Number of SGEs needed to Send the contents of ... |
svc_rdma_xb_dma_map(9) | NAME svc_rdma_xb_dma_map - DMA map all segments of an xdr_buf
SYNOPSIS int svc_rdma_xb_dma_map (const struct xdr_buf *xdr , void *data );
ARGUMENTS xdr xdr_buf containing portion of an RPC message to transmit
data pointer to arguments
RETURN 0 if DMA mapping was successful -EIO if DMA mapping ... |
svc_rdma_xb_linearize(9) | NAME svc_rdma_xb_linearize - Copy region of xdr_buf to flat buffer
SYNOPSIS int svc_rdma_xb_linearize (const struct xdr_buf *xdr , void *data );
ARGUMENTS xdr xdr_buf containing portion of an RPC message to copy
data pointer to arguments
RETURN Always zero.
SEE ALSO Kernel file ./net/sunrp... |
svc_rdma_xb_write(9) | NAME svc_rdma_xb_write - Construct RDMA Writes to write an xdr_buf
SYNOPSIS int svc_rdma_xb_write (const struct xdr_buf *xdr , void *data );
ARGUMENTS xdr xdr_buf to write
data pointer to write arguments
RETURN On success, returns zero -E2BIG if the client-provided Write chunk is too small -EN... |
svc_rdma_xdr_decode_req(9) | NAME svc_rdma_xdr_decode_req - Decode the transport header
SYNOPSIS int svc_rdma_xdr_decode_req (struct xdr_buf *rq_arg , struct svc_rdma_recv_ctxt *rctxt );
ARGUMENTS rq_arg xdr_buf containing ingress RPC/RDMA message
rctxt state of decoding
DESCRIPTION On entry, xdr->head[0].iov_base points ... |
svc_recv(9) | NAME svc_recv - Receive and process the next request on any transport
SYNOPSIS int svc_recv (struct svc_rqst *rqstp , long timeo );
ARGUMENTS rqstp an idle RPC service thread
timeo timeout (in jiffies) (0 means infinite timeout)
DESCRIPTION This code is carefully organised not to touch any cach... |
svc_reg_xprt_class(9) | NAME svc_reg_xprt_class - Register a server-side RPC transport class
SYNOPSIS int svc_reg_xprt_class (struct svc_xprt_class *xcl );
ARGUMENTS xcl New transport class to be registered
DESCRIPTION Returns zero on success; otherwise a negative errno is returned.
SEE ALSO Kernel file ./net/sunrpc/svc_xprt.c s... |
svc_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... |
svc_register(9) | NAME svc_register - register an RPC service with the local portmapper
SYNOPSIS int svc_register (const struct svc_serv *serv , struct net *net , const int family , const unsigned short proto , const unsigned short port );
ARGUMENTS serv svc_serv struct for the service to register
net net namesp... |
svc_reserve(9) | NAME svc_reserve - change the space reserved for the reply to a request.
SYNOPSIS void svc_reserve (struct svc_rqst *rqstp , int space );
ARGUMENTS rqstp The request in question
space new max space to reserve
DESCRIPTION Each request reserves some space on the output queue of the transport to mak... |
svc_rqst_release_pages(9) | NAME svc_rqst_release_pages - Release Reply buffer pages
SYNOPSIS void svc_rqst_release_pages (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC transaction context
DESCRIPTION Release response pages that might still be in flight after svc_send, and any spliced filesystem-owned pages.
SEE ALSO Kernel file ./net... |
svc_rqst_replace_page(9) | NAME svc_rqst_replace_page - Replace one page in rq_pages[]
SYNOPSIS bool svc_rqst_replace_page (struct svc_rqst *rqstp , struct page *page );
ARGUMENTS rqstp svc_rqst with pages to replace
page replacement page
DESCRIPTION When replacing a page in rq_pages, batch the release of the replaced pag... |
svc_run(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... |
svc_send(9) | NAME svc_send - Return reply to client
SYNOPSIS void svc_send (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC transaction context
SEE ALSO Kernel file ./net/sunrpc/svc_xprt.c svc_reg_xprt_class(9), svc_unreg_xprt_class(9), svc_print_xprts(9), svc_xprt_deferred_close(9), svc_xprt_received(9), svc_xprt_create_fr... |
svc_sendreply(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... |
svc_serv_maxpages(9) | NAME svc_serv_maxpages - maximum count of pages needed for one RPC message
SYNOPSIS unsigned long svc_serv_maxpages (const struct svc_serv *serv );
ARGUMENTS serv RPC service context
DESCRIPTION Returns a count of pages or vectors that can hold the maximum size RPC message for serv. Each requ... |
svc_set_client(9) | NAME svc_set_client - Assign an appropriate 'auth_domain' as the client
SYNOPSIS enum svc_auth_status svc_set_client (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC execution context
DESCRIPTION Return values: SVC_OK: Client was found and assigned SVC_DENY: Client was explicitly denied SVC_DROP: Ignore this req... |
svc_set_num_threads(9) | NAME svc_set_num_threads - adjust number of threads in serv
SYNOPSIS int svc_set_num_threads (struct svc_serv *serv , unsigned int min_threads , unsigned int nrservs );
ARGUMENTS serv RPC service to adjust
min_threads min number of threads to run per pool
nrservs New number of threads for s... |
svc_set_pool_threads(9) | NAME svc_set_pool_threads - adjust number of threads per pool
SYNOPSIS int svc_set_pool_threads (struct svc_serv *serv , struct svc_pool *pool , unsigned int min_threads , unsigned int max_threads );
ARGUMENTS serv RPC service to adjust
pool Specific pool from which to choose threads
min... |
svc_smccc_hvc(9) | NAME svc_smccc_hvc - hypervisor call between normal and secure world
SYNOPSIS void svc_smccc_hvc (unsigned long a0 , unsigned long a1 , unsigned long a2 , unsigned long a3 , unsigned long a4 , unsigned long a5 , unsigned long a6 , unsigned long a7 , struct arm_smccc_res *res );
ARGUMENTS a0 argument passed i... |
svc_smccc_smc(9) | NAME svc_smccc_smc - secure monitor call between normal and secure world
SYNOPSIS void svc_smccc_smc (unsigned long a0 , unsigned long a1 , unsigned long a2 , unsigned long a3 , unsigned long a4 , unsigned long a5 , unsigned long a6 , unsigned long a7 , struct arm_smccc_res *res );
ARGUMENTS a0 argument pass... |
svc_tcp_handshake(9) | NAME svc_tcp_handshake - Perform a transport-layer security handshake
SYNOPSIS void svc_tcp_handshake (struct svc_xprt *xprt );
ARGUMENTS xprt connected transport endpoint
SEE ALSO Kernel file ./net/sunrpc/svcsock.c svc_tcp_release_ctxt(9), svc_udp_release_ctxt(9), svc_tcp_handshake_done(9), svc_udp_recvfrom(... |
svc_tcp_handshake_done(9) | NAME svc_tcp_handshake_done - Handshake completion handler
SYNOPSIS void svc_tcp_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 peer's identity
DESCRI... |
svc_tcp_recvfrom(9) | NAME svc_tcp_recvfrom - Receive data from a TCP socket
SYNOPSIS int svc_tcp_recvfrom (struct svc_rqst *rqstp );
ARGUMENTS rqstp request structure into which to receive an RPC Call
DESCRIPTION Called in a loop when XPT_DATA has been set. Read the 4-byte stream record marker, then use the record length in th... |
svc_tcp_release_ctxt(9) | NAME svc_tcp_release_ctxt - Release transport-related resources
SYNOPSIS void svc_tcp_release_ctxt (struct svc_xprt *xprt , void *ctxt );
ARGUMENTS xprt the transport which owned the context
ctxt the context from rqstp->rq_xprt_ctxt or dr->xprt_ctxt
SEE ALSO Kernel file ./net/sunrpc/svcsock.c s... |
svc_tcp_sendto(9) | NAME svc_tcp_sendto - Send out a reply on a TCP socket
SYNOPSIS int svc_tcp_sendto (struct svc_rqst *rqstp );
ARGUMENTS rqstp completed svc_rqst
DESCRIPTION xpt_mutex ensures rqstp's whole message is written to the socket without interruption. Returns the number of bytes sent, or a negative errno.
SEE ALSO K... |
svc_thread_cmd_config_status(9) | NAME svc_thread_cmd_config_status - check configuration status
SYNOPSIS void svc_thread_cmd_config_status (struct stratix10_svc_controller *ctrl , struct stratix10_svc_data *p_data , struct stratix10_svc_cb_data *cb_data );
ARGUMENTS ctrl pointer to service layer controller
p_data pointer to servi... |
svc_thread_cmd_data_claim(9) | NAME svc_thread_cmd_data_claim - claim back buffer from the secure world
SYNOPSIS void svc_thread_cmd_data_claim (struct stratix10_svc_controller *ctrl , struct stratix10_svc_data *p_data , struct stratix10_svc_cb_data *cb_data );
ARGUMENTS ctrl pointer to service layer controller
p_data pointer t... |
svc_thread_init_status(9) | NAME svc_thread_init_status - report whether thread has initialised successfully
SYNOPSIS void svc_thread_init_status (struct svc_rqst *rqstp , int err );
ARGUMENTS rqstp the thread in question
err errno code
DESCRIPTION After performing any initialisation that could fail, and before starting n... |
svc_thread_recv_status_ok(9) | NAME svc_thread_recv_status_ok - handle the successful status
SYNOPSIS void svc_thread_recv_status_ok (struct stratix10_svc_data *p_data , struct stratix10_svc_cb_data *cb_data , struct arm_smccc_res res );
ARGUMENTS p_data pointer to service data structure
cb_data pointer to callback data structure ... |
svc_thread_should_stop(9) | NAME svc_thread_should_stop - check if this thread should stop
SYNOPSIS bool svc_thread_should_stop (struct svc_rqst *rqstp );
ARGUMENTS rqstp the thread that might need to stop
DESCRIPTION To stop an svc thread, the pool flags SP_NEED_VICTIM and SP_VICTIM_REMAINS are set. The first thread which s... |
svc_udp_recvfrom(9) | NAME svc_udp_recvfrom - Receive a datagram from a UDP socket.
SYNOPSIS int svc_udp_recvfrom (struct svc_rqst *rqstp );
ARGUMENTS rqstp request structure into which to receive an RPC Call
DESCRIPTION Called in a loop when XPT_DATA has been set.
RETURN On success, the number of bytes in a received RPC Call, or ... |
svc_udp_release_ctxt(9) | NAME svc_udp_release_ctxt - Release transport-related resources
SYNOPSIS void svc_udp_release_ctxt (struct svc_xprt *xprt , void *ctxt );
ARGUMENTS xprt the transport which owned the context
ctxt the context from rqstp->rq_xprt_ctxt or dr->xprt_ctxt
SEE ALSO Kernel file ./net/sunrpc/svcsock.c s... |
svc_udp_sendto(9) | NAME svc_udp_sendto - Send out a reply on a UDP socket
SYNOPSIS int svc_udp_sendto (struct svc_rqst *rqstp );
ARGUMENTS rqstp completed svc_rqst
DESCRIPTION xpt_mutex ensures rqstp's whole message is written to the socket without interruption. Returns the number of bytes sent, or a negative errno.
SEE ALSO K... |
svc_unreg_xprt_class(9) | NAME svc_unreg_xprt_class - Unregister a server-side RPC transport class
SYNOPSIS void svc_unreg_xprt_class (struct svc_xprt_class *xcl );
ARGUMENTS xcl Transport class to be unregistered
SEE ALSO Kernel file ./net/sunrpc/svc_xprt.c svc_reg_xprt_class(9), svc_print_xprts(9), svc_xprt_deferred_close(9), ... |
svc_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... |
svc_wake_up(9) | NAME svc_wake_up - Wake up a service thread for non-transport work
SYNOPSIS void svc_wake_up (struct svc_serv *serv );
ARGUMENTS serv RPC service
DESCRIPTION Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of thos... |
svc_xprt_close(9) | NAME svc_xprt_close - Close a client connection
SYNOPSIS void svc_xprt_close (struct svc_xprt *xprt );
ARGUMENTS xprt transport to disconnect
SEE ALSO Kernel file ./net/sunrpc/svc_xprt.c svc_reg_xprt_class(9), svc_unreg_xprt_class(9), svc_print_xprts(9), svc_xprt_deferred_close(9), svc_xprt_received(9), svc_... |
svc_xprt_create(9) | NAME svc_xprt_create - Add a new listener to @serv
SYNOPSIS int svc_xprt_create (struct svc_serv *serv , const char *xprt_name , struct net *net , const int family , const unsigned short port , int flags , const struct cred *cred );
ARGUMENTS serv target RPC service
xprt_name transport class name
... |
svc_xprt_create_from_sa(9) | NAME svc_xprt_create_from_sa - Add a new listener to @serv from socket address
SYNOPSIS int svc_xprt_create_from_sa (struct svc_serv *serv , const char *xprt_name , struct net *net , struct sockaddr *sap , int flags , const struct cred *cred );
ARGUMENTS serv target RPC service
xprt_name transport cl... |
svc_xprt_deferred_close(9) | NAME svc_xprt_deferred_close - Close a transport
SYNOPSIS void svc_xprt_deferred_close (struct svc_xprt *xprt );
ARGUMENTS xprt transport instance
DESCRIPTION Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.
SEE ALSO Kernel file ./net/sunrpc/svc_xprt.c svc_reg_xp... |
svc_xprt_destroy_all(9) | NAME svc_xprt_destroy_all - Destroy transports associated with @serv
SYNOPSIS void svc_xprt_destroy_all (struct svc_serv *serv , struct net *net , bool unregister );
ARGUMENTS serv RPC service to be shut down
net target network namespace
unregister true if it is OK to unregister the de... |
svc_xprt_enqueue(9) | NAME svc_xprt_enqueue - Queue a transport on an idle nfsd thread
SYNOPSIS void svc_xprt_enqueue (struct svc_xprt *xprt );
ARGUMENTS xprt transport with data pending
SEE ALSO Kernel file ./net/sunrpc/svc_xprt.c svc_reg_xprt_class(9), svc_unreg_xprt_class(9), svc_print_xprts(9), svc_xprt_deferred_close(9), svc... |
svc_xprt_names(9) | NAME svc_xprt_names - format a buffer with a list of transport names
SYNOPSIS int svc_xprt_names (struct svc_serv *serv , char *buf , const int buflen );
ARGUMENTS serv pointer to an RPC service
buf pointer to a buffer to be filled in
buflen length of buffer to be filled in
DESCRI... |
svc_xprt_received(9) | NAME svc_xprt_received - start next receiver thread
SYNOPSIS void svc_xprt_received (struct svc_xprt *xprt );
ARGUMENTS xprt controlling transport
DESCRIPTION The caller must hold the XPT_BUSY bit and must not thereafter touch transport data.
NOTE XPT_DATA only gets cleared when a read-attempt finds no (or i... |
svcauth_gss_accept(9) | NAME svcauth_gss_accept - Decode and validate incoming RPC_AUTH_GSS credential
SYNOPSIS enum svc_auth_status svcauth_gss_accept (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC transaction
DESCRIPTION Return values: SVC_OK: Success SVC_COMPLETE: GSS context lifetime event SVC_DENIED: Credential or ve... |
svcauth_gss_release(9) | NAME svcauth_gss_release - Wrap payload and release resources
SYNOPSIS int svcauth_gss_release (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC transaction context
DESCRIPTION Return values: 0: the Reply is ready to be sent -ENOMEM: failed to allocate memory -EINVAL: encoding error
SEE ALSO Kernel file ./net/su... |
svcauth_map_clnt_to_svc_cred_local(9) | NAME svcauth_map_clnt_to_svc_cred_local - maps a generic cred to a svc_cred suitable for use in nfsd.
SYNOPSIS void svcauth_map_clnt_to_svc_cred_local (struct rpc_clnt *clnt , const struct cred *cred , struct svc_cred *svc );
ARGUMENTS clnt rpc_clnt associated with nfs client
cred generic cred a... |
svcauth_null_accept(9) | NAME svcauth_null_accept - Decode and validate incoming RPC_AUTH_NULL credential
SYNOPSIS enum svc_auth_status svcauth_null_accept (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC transaction
DESCRIPTION Return values: SVC_OK: Both credential and verifier are valid SVC_DENIED: Credential or verifier is not va... |
svcauth_tls_accept(9) | NAME svcauth_tls_accept - Decode and validate incoming RPC_AUTH_TLS credential
SYNOPSIS enum svc_auth_status svcauth_tls_accept (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC transaction
DESCRIPTION Return values: SVC_OK: Both credential and verifier are valid SVC_DENIED: Credential or verifier is not valid SV... |
svcauth_unix_accept(9) | NAME svcauth_unix_accept - Decode and validate incoming RPC_AUTH_SYS credential
SYNOPSIS enum svc_auth_status svcauth_unix_accept (struct svc_rqst *rqstp );
ARGUMENTS rqstp RPC transaction
DESCRIPTION Return values: SVC_OK: Both credential and verifier are valid SVC_DENIED: Credential or verifier is not valid ... |
svcerr_auth(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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.