id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
nfs_page_group_sync_on_bit_locked(9) | NAME nfs_page_group_sync_on_bit_locked - Test if all requests have @bit set
SYNOPSIS bool nfs_page_group_sync_on_bit_locked (struct nfs_page *req , unsigned int bit );
ARGUMENTS req request in page group
bit PG_* bit that is used to sync page group
DESCRIPTION must be called with page group l... |
nfs_page_max_length(9) | NAME nfs_page_max_length - Retrieve the maximum possible length for a request
SYNOPSIS size_t nfs_page_max_length (const struct nfs_page *req );
ARGUMENTS req pointer to a struct nfs_page
DESCRIPTION Returns the maximum possible length of a request
SEE ALSO Kernel file ./include/linux/nfs_page.h nfs_page_to... |
nfs_page_to_folio(9) | NAME nfs_page_to_folio - Retrieve a struct folio for the request
SYNOPSIS struct folio * nfs_page_to_folio (const struct nfs_page *req );
ARGUMENTS req pointer to a struct nfs_page
DESCRIPTION If a folio was assigned to req, then return it, otherwise return NULL.
SEE ALSO Kernel file ./include/linux/nfs_pag... |
nfs_page_to_inode(9) | NAME nfs_page_to_inode - Retrieve an inode for the request
SYNOPSIS struct inode * nfs_page_to_inode (const struct nfs_page *req );
ARGUMENTS req pointer to a struct nfs_page
SEE ALSO Kernel file ./include/linux/nfs_page.h nfs_page_to_folio(9), nfs_page_to_page(9), nfs_page_max_length(9), nfs_list_add_reques... |
nfs_page_to_page(9) | NAME nfs_page_to_page - Retrieve a struct page for the request
SYNOPSIS struct page * nfs_page_to_page (const struct nfs_page *req , size_t pgbase );
ARGUMENTS req pointer to a struct nfs_page
pgbase folio byte offset
DESCRIPTION Return the page containing the byte that is at offset pgbase relat... |
nfs_pageio_complete(9) | NAME nfs_pageio_complete - Complete I/O then cleanup an nfs_pageio_descriptor
SYNOPSIS void nfs_pageio_complete (struct nfs_pageio_descriptor *desc );
ARGUMENTS desc pointer to io descriptor
SEE ALSO Kernel file ./fs/nfs/pagelist.c nfs_iocounter_wait(9), nfs_async_iocounter_wait(9), nfs_page_group_sync_o... |
nfs_pageio_cond_complete(9) | NAME nfs_pageio_cond_complete - Conditional I/O completion
SYNOPSIS void nfs_pageio_cond_complete (struct nfs_pageio_descriptor *desc , pgoff_t index );
ARGUMENTS desc pointer to io descriptor
index page index
DESCRIPTION It is important to ensure that processes don't try to take locks on non... |
nfs_pageio_do_add_request(9) | NAME nfs_pageio_do_add_request - Attempt to coalesce a request into a page list.
SYNOPSIS unsigned int nfs_pageio_do_add_request (struct nfs_pageio_descriptor *desc , struct nfs_page *req );
ARGUMENTS desc destination io descriptor
req request
DESCRIPTION If the request 'req' was successfully ... |
nfs_pageio_init(9) | NAME nfs_pageio_init - initialise a page io descriptor
SYNOPSIS void nfs_pageio_init (struct nfs_pageio_descriptor *desc , struct inode *inode , const struct nfs_pageio_ops *pg_ops , const struct nfs_pgio_completion_ops *compl_ops , const struct nfs_rw_ops *rw_ops , size_t bsize , int io_flags );
ARGUMENTS desc ... |
nfs_pgio_data_destroy(9) | NAME nfs_pgio_data_destroy - make @hdr suitable for reuse
SYNOPSIS void nfs_pgio_data_destroy (struct nfs_pgio_header *hdr );
ARGUMENTS hdr A header that has had nfs_generic_pgio called
DESCRIPTION Frees memory and releases refs from nfs_generic_pgio, so that it may be called again.
SEE ALSO Kernel file .... |
nfs_pgio_error(9) | NAME nfs_pgio_error - Clean up from a pageio error
SYNOPSIS void nfs_pgio_error (struct nfs_pgio_header *hdr );
ARGUMENTS hdr pageio header
SEE ALSO Kernel file ./fs/nfs/pagelist.c nfs_iocounter_wait(9), nfs_async_iocounter_wait(9), nfs_page_group_sync_on_bit_locked(9), nfs_page_create_from_page(9), nfs_... |
nfs_pgio_prepare(9) | NAME nfs_pgio_prepare - Prepare pageio hdr to go over the wire
SYNOPSIS void nfs_pgio_prepare (struct rpc_task *task , void *calldata );
ARGUMENTS task The current task
calldata pageio header to prepare
SEE ALSO Kernel file ./fs/nfs/pagelist.c nfs_iocounter_wait(9), nfs_async_iocounter_wait(9),... |
nfs_pgio_release(9) | NAME nfs_pgio_release - Release pageio data
SYNOPSIS void nfs_pgio_release (void *calldata );
ARGUMENTS calldata The pageio header to release
SEE ALSO Kernel file ./fs/nfs/pagelist.c nfs_iocounter_wait(9), nfs_async_iocounter_wait(9), nfs_page_group_sync_on_bit_locked(9), nfs_page_create_from_page(9), nfs_... |
nfs_pgio_result(9) | NAME nfs_pgio_result - Basic pageio error handling
SYNOPSIS void nfs_pgio_result (struct rpc_task *task , void *calldata );
ARGUMENTS task The task that ran
calldata Pageio header to check
SEE ALSO Kernel file ./fs/nfs/pagelist.c nfs_iocounter_wait(9), nfs_async_iocounter_wait(9), nfs_page_gro... |
nfs_pgio_rpcsetup(9) | NAME nfs_pgio_rpcsetup - Set up arguments for a pageio call
SYNOPSIS void nfs_pgio_rpcsetup (struct nfs_pgio_header *hdr , unsigned int pgbase , unsigned int count , int how , struct nfs_commit_info *cinfo );
ARGUMENTS hdr The pageio hdr
pgbase base
count Number of bytes to read
... |
nfs_post_op_update_inode(9) | NAME nfs_post_op_update_inode - try to update the inode attribute cache
SYNOPSIS int nfs_post_op_update_inode (struct inode *inode , struct nfs_fattr *fattr );
ARGUMENTS inode pointer to inode
fattr updated attributes
DESCRIPTION After an operation that has changed the inode metadata, mark the a... |
nfs_post_op_update_inode_force_wcc(9) | NAME nfs_post_op_update_inode_force_wcc - try to update the inode attribute cache
SYNOPSIS int nfs_post_op_update_inode_force_wcc (struct inode *inode , struct nfs_fattr *fattr );
ARGUMENTS inode pointer to inode
fattr updated attributes
DESCRIPTION After an operation that has changed the inode m... |
nfs_post_op_update_inode_force_wcc_locked(9) | NAME nfs_post_op_update_inode_force_wcc_locked - update the inode attribute cache
SYNOPSIS int nfs_post_op_update_inode_force_wcc_locked (struct inode *inode , struct nfs_fattr *fattr );
ARGUMENTS inode pointer to inode
fattr updated attributes
DESCRIPTION After an operation that has changed the ... |
nfs_reap_expired_delegations(9) | NAME nfs_reap_expired_delegations - reap expired delegations
SYNOPSIS void nfs_reap_expired_delegations (struct nfs_client *clp );
ARGUMENTS clp nfs_client to process
DESCRIPTION Iterates through all the delegations associated with this server and checks if they have may have been revoked. This function is u... |
nfs_refresh_inode(9) | NAME nfs_refresh_inode - try to update the inode attribute cache
SYNOPSIS int nfs_refresh_inode (struct inode *inode , struct nfs_fattr *fattr );
ARGUMENTS inode pointer to inode
fattr updated attributes
DESCRIPTION Check that an RPC call that returned attributes has not overlapped with oth... |
nfs_remove_bad_delegation(9) | NAME nfs_remove_bad_delegation - handle delegations that are unusable
SYNOPSIS void nfs_remove_bad_delegation (struct inode *inode , const nfs4_stateid *stateid );
ARGUMENTS inode inode to process
stateid the delegation's stateid
DESCRIPTION If the server ACK-ed our FREE_STATEID then clean up the d... |
nfs_request_add_commit_list(9) | NAME nfs_request_add_commit_list - add request to a commit list
SYNOPSIS void nfs_request_add_commit_list (struct nfs_page *req , struct nfs_commit_info *cinfo );
ARGUMENTS req pointer to a struct nfs_page
cinfo holds list lock and accounting info
DESCRIPTION This sets the PG_CLEAN bit, updates... |
nfs_request_add_commit_list_locked(9) | NAME nfs_request_add_commit_list_locked - add request to a commit list
SYNOPSIS void nfs_request_add_commit_list_locked (struct nfs_page *req , struct list_head *dst , struct nfs_commit_info *cinfo );
ARGUMENTS req pointer to a struct nfs_page
dst commit list head
cinfo holds lis... |
nfs_request_remove_commit_list(9) | NAME nfs_request_remove_commit_list - Remove request from a commit list
SYNOPSIS void nfs_request_remove_commit_list (struct nfs_page *req , struct nfs_commit_info *cinfo );
ARGUMENTS req pointer to a nfs_page
cinfo holds list lock and accounting info
DESCRIPTION This clears the PG_CLEAN bit, a... |
nfs_revalidate_file_size(9) | NAME nfs_revalidate_file_size - Revalidate the file size
SYNOPSIS int nfs_revalidate_file_size (struct inode *inode , struct file *filp );
ARGUMENTS inode pointer to inode struct
filp pointer to struct file
DESCRIPTION Revalidates the file length. This is basically a wrapper around nfs_revali... |
nfs_revalidate_inode(9) | NAME nfs_revalidate_inode - Revalidate the inode attributes
SYNOPSIS int nfs_revalidate_inode (struct inode *inode , unsigned long flags );
ARGUMENTS inode pointer to inode struct
flags cache flags to check
DESCRIPTION Updates inode attribute information by retrieving the data from the server.
S... |
nfs_revalidate_mapping(9) | NAME nfs_revalidate_mapping - Revalidate the pagecache
SYNOPSIS int nfs_revalidate_mapping (struct inode *inode , struct address_space *mapping );
ARGUMENTS inode pointer to host inode
mapping pointer to mapping
SEE ALSO Kernel file ./fs/nfs/inode.c nfs_compat_user_ino64(9), nfs_sync_mapping(9), n... |
nfs_root_data(9) | NAME nfs_root_data - Return prepared 'data' for NFSROOT mount
SYNOPSIS int nfs_root_data (char **root_device , char **root_data );
ARGUMENTS root_device OUT: address of string containing NFSROOT device
root_data OUT: address of string containing NFSROOT mount options
DESCRIPTION Returns zero and sets root_... |
nfs_save_change_attribute(9) | NAME nfs_save_change_attribute - Returns the inode attribute change cookie @dir - pointer to parent directory inode The "cache change attribute" is updated when we need to revalidate our dentry cache after a directory was seen to change on the server.
SYNOPSIS unsigned long nfs_save_change_attribute (struct inode *dir... |
nfs_server_return_all_delegations(9) | NAME nfs_server_return_all_delegations - return delegations for one superblock
SYNOPSIS void nfs_server_return_all_delegations (struct nfs_server *server );
ARGUMENTS server pointer to nfs_server to process
SEE ALSO Kernel file ./fs/nfs/delegation.c nfs_mark_delegation_referenced(9), nfs4_have_delegation(9), n... |
nfs_set_verifier(9) | NAME nfs_set_verifier - save a parent directory verifier in the dentry
SYNOPSIS void nfs_set_verifier (struct dentry *dentry , unsigned long verf );
ARGUMENTS dentry pointer to dentry
verf verifier to save
DESCRIPTION Saves the parent directory verifier in dentry. If the inode has a delegation,... |
nfs_setattr_update_inode(9) | NAME nfs_setattr_update_inode - Update inode metadata after a setattr call.
SYNOPSIS void nfs_setattr_update_inode (struct inode *inode , struct iattr *attr , struct nfs_fattr *fattr );
ARGUMENTS inode pointer to struct inode
attr pointer to struct iattr
fattr pointer to struct nfs_... |
nfs_sillyrename(9) | NAME nfs_sillyrename - Perform a silly-rename of a dentry
SYNOPSIS int nfs_sillyrename (struct inode *dir , struct dentry *dentry );
ARGUMENTS dir inode of directory that contains dentry
dentry dentry to be sillyrenamed
DESCRIPTION NFSv2/3 is stateless and the server doesn't know when the cli... |
nfs_ssc_register(9) | NAME nfs_ssc_register - install the NFS_FS client ops in the nfs_ssc_client_tbl
SYNOPSIS void nfs_ssc_register (const struct nfs_ssc_client_ops *ops );
ARGUMENTS ops NFS_FS ops to be installed
DESCRIPTION Return values: None
SEE ALSO Kernel file ./fs/nfs_common/nfs_ssc.c nfs42_ssc_register(9), nfs42_ssc_unr... |
nfs_ssc_unregister(9) | NAME nfs_ssc_unregister - uninstall the NFS_FS client ops from the nfs_ssc_client_tbl
SYNOPSIS void nfs_ssc_unregister (const struct nfs_ssc_client_ops *ops );
ARGUMENTS ops ops to be uninstalled
DESCRIPTION Return values: None
SEE ALSO Kernel file ./fs/nfs_common/nfs_ssc.c nfs42_ssc_register(9), nfs42_ssc_... |
nfs_start_io_direct(9) | NAME nfs_start_io_direct - declare the file is being used for direct i/o
SYNOPSIS int nfs_start_io_direct (struct inode *inode );
ARGUMENTS inode file inode
DESCRIPTION Declare that a direct I/O operation is about to start, and ensure that we block all buffered I/O. On exit, the function ensures that the N... |
nfs_start_io_read(9) | NAME nfs_start_io_read - declare the file is being used for buffered reads
SYNOPSIS int nfs_start_io_read (struct inode *inode );
ARGUMENTS inode file inode
DESCRIPTION Declare that a buffered read operation is about to start, and ensure that we block all direct I/O. On exit, the function ensures that the NFS... |
nfs_start_io_write(9) | NAME nfs_start_io_write - declare the file is being used for buffered writes
SYNOPSIS int nfs_start_io_write (struct inode *inode );
ARGUMENTS inode file inode
DESCRIPTION Declare that a buffered read operation is about to start, and ensure that we block all direct I/O.
SEE ALSO Kernel file ./fs/nfs/io.c nfs_... |
nfs_stat_to_errno(9) | NAME nfs_stat_to_errno - convert an NFS status code to a local errno
SYNOPSIS int nfs_stat_to_errno (enum nfs_stat status );
ARGUMENTS status NFS status code to convert
DESCRIPTION Returns a local errno value, or -EIO if the NFS status code is not recognized. This function is used jointly by NFSv2 and NFSv3.
... |
nfs_stream_decode_acl(9) | NAME nfs_stream_decode_acl - Decode an NFSv3 ACL
SYNOPSIS bool nfs_stream_decode_acl (struct xdr_stream *xdr , unsigned int *aclcnt , struct posix_acl **pacl );
ARGUMENTS xdr an xdr_stream positioned at an encoded ACL
aclcnt OUT: count of ACEs in decoded posix_acl
pacl OUT: a dynam... |
nfs_stream_encode_acl(9) | NAME nfs_stream_encode_acl - Encode an NFSv3 ACL
SYNOPSIS bool nfs_stream_encode_acl (struct xdr_stream *xdr , struct inode *inode , struct posix_acl *acl , int encode_entries , int typeflag );
ARGUMENTS xdr an xdr_stream positioned to receive an encoded ACL
inode inode of file whose ACL this is... |
nfs_swap_rw(9) | NAME nfs_swap_rw - NFS address space operation for swap I/O
SYNOPSIS int nfs_swap_rw (struct kiocb *iocb , struct iov_iter *iter );
ARGUMENTS iocb target I/O control block
iter I/O buffer
DESCRIPTION Perform IO to the swap-file. This is much like direct IO.
SEE ALSO Kernel file ./fs/nfs/direc... |
nfs_sync_mapping(9) | NAME nfs_sync_mapping - helper to flush all mmapped dirty data to disk
SYNOPSIS int nfs_sync_mapping (struct address_space *mapping );
ARGUMENTS mapping pointer to struct address_space
SEE ALSO Kernel file ./fs/nfs/inode.c nfs_compat_user_ino64(9), nfs_vmtruncate(9), nfs_setattr_update_inode(9), nfs_close_conte... |
nfs_test_expired_all_delegations(9) | NAME nfs_test_expired_all_delegations - test all delegations for a client
SYNOPSIS void nfs_test_expired_all_delegations (struct nfs_client *clp );
ARGUMENTS clp nfs_client to process
DESCRIPTION Helper for handling "recallable state revoked" status from server.
SEE ALSO Kernel file ./fs/nfs/delegation.c n... |
nfs_unlock_and_release_request(9) | NAME nfs_unlock_and_release_request - Unlock request and release the nfs_page
SYNOPSIS void nfs_unlock_and_release_request (struct nfs_page *req );
ARGUMENTS req pointer to request
SEE ALSO Kernel file ./fs/nfs/pagelist.c nfs_iocounter_wait(9), nfs_async_iocounter_wait(9), nfs_page_group_sync_on_bit_locke... |
nfs_unlock_request(9) | NAME nfs_unlock_request - Unlock request and wake up sleepers.
SYNOPSIS void nfs_unlock_request (struct nfs_page *req );
ARGUMENTS req pointer to request
SEE ALSO Kernel file ./fs/nfs/pagelist.c nfs_iocounter_wait(9), nfs_async_iocounter_wait(9), nfs_page_group_sync_on_bit_locked(9), nfs_page_create_from... |
nfs_verify_change_attribute(9) | NAME nfs_verify_change_attribute - Detects NFS remote directory changes
SYNOPSIS bool nfs_verify_change_attribute (struct inode *dir , unsigned long verf );
ARGUMENTS dir pointer to parent directory inode
verf previously saved change attribute
DESCRIPTION Return "false" if the verifiers doesn'... |
nfs_vmtruncate(9) | NAME nfs_vmtruncate - unmap mappings "freed" by truncate() syscall
SYNOPSIS int nfs_vmtruncate (struct inode * inode , loff_t offset );
ARGUMENTS inode inode of the file used
offset file offset to start truncating
DESCRIPTION This is a copy of the common vmtruncate, but with the locking corrected ... |
nfs_wait_on_request(9) | NAME nfs_wait_on_request - Wait for a request to complete.
SYNOPSIS int nfs_wait_on_request (struct nfs_page *req );
ARGUMENTS req request to wait upon.
DESCRIPTION Interruptible by fatal signals only. The user is responsible for holding a count on the request.
SEE ALSO Kernel file ./fs/nfs/write.c nfs_fol... |
nfs_wb_folio(9) | NAME nfs_wb_folio - Write back all requests on one page
SYNOPSIS int nfs_wb_folio (struct inode *inode , struct folio *folio );
ARGUMENTS inode pointer to page
folio pointer to folio
DESCRIPTION Assumes that the folio has been locked by the caller, and will not unlock it.
SEE ALSO Kernel file ./... |
nfs_wb_folio_reclaim(9) | NAME nfs_wb_folio_reclaim - Write back all requests on one page
SYNOPSIS int nfs_wb_folio_reclaim (struct inode *inode , struct folio *folio );
ARGUMENTS inode pointer to page
folio pointer to folio
DESCRIPTION Assumes that the folio has been locked by the caller
SEE ALSO Kernel file ./fs/nfs/wr... |
nfsacl_decode(9) | NAME nfsacl_decode - Decode an NFSv3 ACL
SYNOPSIS int nfsacl_decode (struct xdr_buf *buf , unsigned int base , unsigned int *aclcnt , struct posix_acl **pacl );
ARGUMENTS buf xdr_buf containing XDR'd ACL data to decode
base byte offset in xdr_buf where XDR'd ACL begins
aclcnt count... |
nfsacl_encode(9) | NAME nfsacl_encode - Encode an NFSv3 ACL
SYNOPSIS int nfsacl_encode (struct xdr_buf *buf , unsigned int base , struct inode *inode , struct posix_acl *acl , int encode_entries , int typeflag );
ARGUMENTS buf destination xdr_buf to contain XDR encoded ACL
base byte offset in xdr_buf where XDR'd ... |
nfsd41_cb_destroy_referring_call_list(9) | NAME nfsd41_cb_destroy_referring_call_list - release referring call info
SYNOPSIS void nfsd41_cb_destroy_referring_call_list (struct nfsd4_callback *cb );
ARGUMENTS cb context of a callback that has completed
DESCRIPTION Callers who allocate referring calls using nfsd41_cb_referring_call must release those ... |
nfsd41_cb_referring_call(9) | NAME nfsd41_cb_referring_call - add a referring call to a callback operation
SYNOPSIS void nfsd41_cb_referring_call (struct nfsd4_callback *cb , struct nfs4_sessionid *sessionid , u32 slotid , u32 seqno );
ARGUMENTS cb context of callback to add the rc to
sessionid referring call's session ID
... |
nfsd4_async_copy_reaper(9) | NAME nfsd4_async_copy_reaper - Purge completed copies
SYNOPSIS void nfsd4_async_copy_reaper (struct nfsd_net *nn );
ARGUMENTS nn Network namespace with possible active copy information
SEE ALSO Kernel file ./fs/nfsd/nfs4proc.c set_change_info(9), nfsd4_has_active_async_copies(9), nfsd4_cancel_copy_by_sb(9),... |
nfsd4_block_decode_layoutupdate(9) | NAME nfsd4_block_decode_layoutupdate - decode the block layout extent array
SYNOPSIS __be32 nfsd4_block_decode_layoutupdate (struct xdr_stream *xdr , struct iomap **iomapp , int *nr_iomapsp , u32 block_size );
ARGUMENTS xdr subbuf set to the encoded array
iomapp pointer to store the decoded exten... |
nfsd4_block_encode_layoutget(9) | NAME nfsd4_block_encode_layoutget - encode block/scsi layout extent array
SYNOPSIS __be32 nfsd4_block_encode_layoutget (struct xdr_stream *xdr , const struct nfsd4_layoutget *lgp );
ARGUMENTS xdr stream for data encoding
lgp layoutget content, actually an array of extents to encode
DESCRIPTIO... |
nfsd4_cancel_copy_by_sb(9) | NAME nfsd4_cancel_copy_by_sb - cancel async copy operations on @sb
SYNOPSIS void nfsd4_cancel_copy_by_sb (struct net *net , struct super_block *sb );
ARGUMENTS net net namespace containing the copy operations
sb targeted superblock
SEE ALSO Kernel file ./fs/nfsd/nfs4proc.c set_change_info(9)... |
nfsd4_change_attribute(9) | NAME nfsd4_change_attribute - Generate an NFSv4 change_attribute value
SYNOPSIS u64 nfsd4_change_attribute (const struct kstat *stat );
ARGUMENTS stat inode attributes
DESCRIPTION Caller must fill in stat before calling, typically by invoking vfs_getattr with STATX_MODE, STATX_CTIME, and STATX_CHANGE_COOKIE. ... |
nfsd4_decode_bitmap4(9) | NAME nfsd4_decode_bitmap4 - Decode an NFSv4 bitmap4
SYNOPSIS __be32 nfsd4_decode_bitmap4 (struct nfsd4_compoundargs *argp , u32 *bmval , u32 bmlen );
ARGUMENTS argp NFSv4 compound argument structure
bmval pointer to an array of u32's to decode into
bmlen size of the bmval array
DES... |
nfsd4_deleg_getattr_conflict(9) | NAME nfsd4_deleg_getattr_conflict - Recall if GETATTR causes conflict
SYNOPSIS __be32 nfsd4_deleg_getattr_conflict (struct svc_rqst *rqstp , struct dentry *dentry , struct nfs4_delegation **pdp );
ARGUMENTS rqstp RPC transaction context
dentry dentry of inode to be checked for a conflict
pd... |
nfsd4_deleg_lm_open_conflict(9) | NAME nfsd4_deleg_lm_open_conflict - see if the given file points to an inode that has an existing open that would conflict with the desired lease.
SYNOPSIS int nfsd4_deleg_lm_open_conflict (struct file *filp , int arg );
ARGUMENTS filp file to check
arg type of lease that we're trying to acquir... |
nfsd4_do_async_copy(9) | NAME nfsd4_do_async_copy - kthread function for background server-side COPY
SYNOPSIS int nfsd4_do_async_copy (void *data );
ARGUMENTS data arguments for COPY operation
DESCRIPTION Return values: 0: Copy operation is done.
SEE ALSO Kernel file ./fs/nfsd/nfs4proc.c set_change_info(9), nfsd4_has_active_async_co... |
nfsd4_encode_bool(9) | NAME nfsd4_encode_bool - Encode an XDR bool type result
SYNOPSIS __be32 nfsd4_encode_bool (struct xdr_stream *xdr , bool val );
ARGUMENTS xdr target XDR stream
val boolean value to encode
DESCRIPTION Return values: nfs_ok: val encoded; xdr advanced to next position nfserr_resource: stream buf... |
nfsd4_encode_opaque(9) | NAME nfsd4_encode_opaque - Encode a variable-length XDR opaque type result
SYNOPSIS __be32 nfsd4_encode_opaque (struct xdr_stream *xdr , const void *data , size_t size );
ARGUMENTS xdr target XDR stream
data pointer to data
size length of data in bytes
DESCRIPTION Return values:... |
nfsd4_encode_opaque_fixed(9) | NAME nfsd4_encode_opaque_fixed - Encode a fixed-length XDR opaque type result
SYNOPSIS __be32 nfsd4_encode_opaque_fixed (struct xdr_stream *xdr , const void *data , size_t size );
ARGUMENTS xdr target XDR stream
data pointer to data
size length of data in bytes
DESCRIPTION Retur... |
nfsd4_encode_replay(9) | NAME nfsd4_encode_replay - encode a result stored in the stateowner reply cache
SYNOPSIS void nfsd4_encode_replay (struct xdr_stream *xdr , struct nfsd4_op *op );
ARGUMENTS xdr send buffer's XDR stream
op operation being replayed
DESCRIPTION op->replay->rp_buf contains the previously-sent al... |
nfsd4_encode_uint32_t(9) | NAME nfsd4_encode_uint32_t - Encode an XDR uint32_t type result
SYNOPSIS __be32 nfsd4_encode_uint32_t (struct xdr_stream *xdr , u32 val );
ARGUMENTS xdr target XDR stream
val integer value to encode
DESCRIPTION Return values: nfs_ok: val encoded; xdr advanced to next position nfserr_resource:... |
nfsd4_encode_uint64_t(9) | NAME nfsd4_encode_uint64_t - Encode an XDR uint64_t type result
SYNOPSIS __be32 nfsd4_encode_uint64_t (struct xdr_stream *xdr , u64 val );
ARGUMENTS xdr target XDR stream
val integer value to encode
DESCRIPTION Return values: nfs_ok: val encoded; xdr advanced to next position nfserr_resource:... |
nfsd4_force_end_grace(9) | NAME nfsd4_force_end_grace - forcibly end the NFSv4 grace period
SYNOPSIS bool nfsd4_force_end_grace (struct nfsd_net *nn );
ARGUMENTS nn network namespace for the server instance to be updated
DESCRIPTION Forces bypass of normal grace period completion, then schedules the laundromat to end the grace perio... |
nfsd4_has_active_async_copies(9) | NAME nfsd4_has_active_async_copies - Check for ongoing copy operations
SYNOPSIS bool nfsd4_has_active_async_copies (struct nfs4_client *clp );
ARGUMENTS clp Client to be checked
DESCRIPTION NFSD maintains state for async COPY operations after they complete, and this state remains in the nfs4_client's as... |
nfsd4_is_junction(9) | NAME nfsd4_is_junction - Test if an object could be an NFS junction
SYNOPSIS int nfsd4_is_junction (struct dentry *dentry );
ARGUMENTS dentry object to test
DESCRIPTION Returns 1 if "dentry" appears to contain NFS junction information. Otherwise 0 is returned.
SEE ALSO Kernel file ./fs/nfsd/vfs.c nfserrno(... |
nfsd4_layout_lm_open_conflict(9) | NAME nfsd4_layout_lm_open_conflict - see if the given file points to an inode that has an existing open that would conflict with the desired lease.
SYNOPSIS int nfsd4_layout_lm_open_conflict (struct file *filp , int arg );
ARGUMENTS filp file to check
arg type of lease that we're trying to acqu... |
nfsd4_process_open2(9) | NAME nfsd4_process_open2 - finish open processing
SYNOPSIS __be32 nfsd4_process_open2 (struct svc_rqst *rqstp , struct svc_fh *current_fh , struct nfsd4_open *open );
ARGUMENTS rqstp the RPC transaction being executed
current_fh NFSv4 COMPOUND's current filehandle
open OPEN arguments
DE... |
nfsd4_put_client(9) | NAME nfsd4_put_client - release a reference on an nfs4_client
SYNOPSIS void nfsd4_put_client (struct nfs4_client *clp );
ARGUMENTS clp the client to be released
DESCRIPTION When the last reference is released, the client is freed.
SEE ALSO Kernel file ./fs/nfsd/nfs4state.c nfs4_delegation_exists(9), has... |
nfsd4_release_lockowner(9) | NAME nfsd4_release_lockowner - process NFSv4.0 RELEASE_LOCKOWNER operations
SYNOPSIS __be32 nfsd4_release_lockowner (struct svc_rqst *rqstp , struct nfsd4_compound_state *cstate , union nfsd4_op_u *u );
ARGUMENTS rqstp RPC transaction
cstate NFSv4 COMPOUND state
u RELEASE_LOCKOWNE... |
nfsd4_revoke_states(9) | NAME nfsd4_revoke_states - revoke all nfsv4 states associated with given filesystem
SYNOPSIS void nfsd4_revoke_states (struct nfsd_net *nn , struct super_block *sb );
ARGUMENTS nn used to identify instance of nfsd (there is one per net namespace)
sb super_block used to identify target filesy... |
nfsd4_run_cb(9) | NAME nfsd4_run_cb - queue up a callback job to run
SYNOPSIS bool nfsd4_run_cb (struct nfsd4_callback *cb );
ARGUMENTS cb callback to queue
DESCRIPTION Kick off a callback to do its thing. Returns false if it was already on a queue, true otherwise.
SEE ALSO Kernel file ./fs/nfsd/nfs4callback.c nfsd41_cb_ref... |
nfsd4_scsi_decode_layoutupdate(9) | NAME nfsd4_scsi_decode_layoutupdate - decode the scsi layout extent array
SYNOPSIS __be32 nfsd4_scsi_decode_layoutupdate (struct xdr_stream *xdr , struct iomap **iomapp , int *nr_iomapsp , u32 block_size );
ARGUMENTS xdr subbuf set to the encoded array
iomapp pointer to store the decoded extent a... |
nfsd4_spo_must_allow(9) | NAME nfsd4_spo_must_allow - Determine if the compound op contains an operation that is allowed to be sent with machine credentials
SYNOPSIS bool nfsd4_spo_must_allow (struct svc_rqst *rqstp );
ARGUMENTS rqstp a pointer to the struct svc_rqst
DESCRIPTION Checks to see if the compound contains a spo_must_allow o... |
nfsd4_vet_deleg_time(9) | NAME nfsd4_vet_deleg_time - vet and set the timespec for a delegated timestamp update
SYNOPSIS bool nfsd4_vet_deleg_time (struct timespec64 *req , const struct timespec64 *orig , const struct timespec64 *now );
ARGUMENTS req timestamp from the client
orig original timestamp in the inode
... |
nfsd_breaker_owns_lease(9) | NAME nfsd_breaker_owns_lease - Check if lease conflict was resolved
SYNOPSIS bool nfsd_breaker_owns_lease (struct file_lease *fl );
ARGUMENTS fl Lock state to check
DESCRIPTION Return values: true: Lease conflict was resolved false: Lease conflict was not resolved.
SEE ALSO Kernel file ./fs/nfsd/nfs4stat... |
nfsd_cache_csum(9) | NAME nfsd_cache_csum - Checksum incoming NFS Call arguments
SYNOPSIS __wsum nfsd_cache_csum (struct xdr_buf *buf , unsigned int start , unsigned int remaining );
ARGUMENTS buf buffer containing a whole RPC Call message
start starting byte of the NFS Call header
remaining size of the NF... |
nfsd_cache_lookup(9) | NAME nfsd_cache_lookup - Find an entry in the duplicate reply cache
SYNOPSIS int nfsd_cache_lookup (struct svc_rqst *rqstp , unsigned int start , unsigned int len , struct nfsd_cacherep **cacherep );
ARGUMENTS rqstp Incoming Call to find
start starting byte in rqstp->rq_arg of the NFS Call header
... |
nfsd_cache_update(9) | NAME nfsd_cache_update - Update an entry in the duplicate reply cache.
SYNOPSIS void nfsd_cache_update (struct svc_rqst *rqstp , struct nfsd_cacherep *rp , int cachetype , __be32 *statp );
ARGUMENTS rqstp svc_rqst with a finished Reply
rp IN: DRC entry for this request
cachetype which... |
nfsd_commit(9) | NAME nfsd_commit - Commit pending writes to stable storage
SYNOPSIS __be32 nfsd_commit (struct svc_rqst *rqstp , struct svc_fh *fhp , struct nfsd_file *nf , u64 offset , u32 count , __be32 *verf );
ARGUMENTS rqstp RPC request being processed
fhp NFS filehandle
nf target file
... |
nfsd_copy_write_verifier(9) | NAME nfsd_copy_write_verifier - Atomically copy a write verifier
SYNOPSIS void nfsd_copy_write_verifier (__be32 verf[2] , struct nfsd_net *nn );
ARGUMENTS verf buffer in which to receive the verifier cookie
nn NFS net namespace
DESCRIPTION This function provides a wait-free mechanism for copy... |
nfsd_create_setattr(9) | NAME nfsd_create_setattr - Set a created file's attributes
SYNOPSIS __be32 nfsd_create_setattr (struct svc_rqst *rqstp , struct svc_fh *fhp , struct svc_fh *resfhp , struct nfsd_attrs *attrs );
ARGUMENTS rqstp RPC transaction being executed
fhp NFS filehandle of parent directory
resfhp ... |
nfsd_destroy_serv(9) | NAME nfsd_destroy_serv - tear down NFSD's svc_serv for a namespace
SYNOPSIS void nfsd_destroy_serv (struct net *net );
ARGUMENTS net network namespace the NFS service is associated with
SEE ALSO Kernel file ./fs/nfsd/nfssvc.c nfsd_copy_write_verifier(9), nfsd_reset_write_verifier(9), nfsd_set_nrthreads(9), n... |
nfsd_dispatch(9) | NAME nfsd_dispatch - Process an NFS or NFSACL or LOCALIO Request
SYNOPSIS int nfsd_dispatch (struct svc_rqst *rqstp );
ARGUMENTS rqstp incoming request
DESCRIPTION This RPC dispatcher integrates the NFS server's duplicate reply cache. Return values: 0: Processing complete; do not send a Reply 1: Processing co... |
nfsd_export_wq_init(9) | NAME nfsd_export_wq_init - allocate the export release workqueue
SYNOPSIS int nfsd_export_wq_init (void );
ARGUMENTS void no arguments
DESCRIPTION Called once at module load. The workqueue runs deferred svc_export and svc_expkey release work scheduled by queue_rcu_work in the cache put callbacks. Return valu... |
nfsd_export_wq_shutdown(9) | NAME nfsd_export_wq_shutdown - drain and free the export release workqueue
SYNOPSIS void nfsd_export_wq_shutdown (void );
ARGUMENTS void no arguments
DESCRIPTION Called once at module unload. Per-namespace teardown in nfsd_export_shutdown has already drained all deferred work.
SEE ALSO Kernel file ./fs/nfsd/... |
nfsd_file_acquire(9) | NAME nfsd_file_acquire - Get a struct nfsd_file with an open file
SYNOPSIS __be32 nfsd_file_acquire (struct svc_rqst *rqstp , struct svc_fh *fhp , unsigned int may_flags , struct nfsd_file **pnf );
ARGUMENTS rqstp the RPC transaction being executed
fhp the NFS filehandle of the file to be opened... |
nfsd_file_acquire_dir(9) | NAME nfsd_file_acquire_dir - Get a struct nfsd_file with an open directory
SYNOPSIS __be32 nfsd_file_acquire_dir (struct svc_rqst *rqstp , struct svc_fh *fhp , struct nfsd_file **pnf );
ARGUMENTS rqstp the RPC transaction being executed
fhp the NFS filehandle of the file to be opened
pnf... |
nfsd_file_acquire_gc(9) | NAME nfsd_file_acquire_gc - Get a struct nfsd_file with an open file
SYNOPSIS __be32 nfsd_file_acquire_gc (struct svc_rqst *rqstp , struct svc_fh *fhp , unsigned int may_flags , struct nfsd_file **pnf );
ARGUMENTS rqstp the RPC transaction being executed
fhp the NFS filehandle of the file to be ... |
nfsd_file_acquire_local(9) | NAME nfsd_file_acquire_local - Get a struct nfsd_file with an open file for localio
SYNOPSIS __be32 nfsd_file_acquire_local (struct net *net , struct svc_cred *cred , struct auth_domain *client , struct svc_fh *fhp , unsigned int may_flags , struct nfsd_file **pnf );
ARGUMENTS net The network namespace in whi... |
nfsd_file_acquire_opened(9) | NAME nfsd_file_acquire_opened - Get a struct nfsd_file using existing open file
SYNOPSIS __be32 nfsd_file_acquire_opened (struct svc_rqst *rqstp , struct svc_fh *fhp , unsigned int may_flags , struct file *file , struct nfsd_file **pnf );
ARGUMENTS rqstp the RPC transaction being executed
fhp th... |
nfsd_file_cache_purge(9) | NAME nfsd_file_cache_purge - Remove all cache items associated with @net
SYNOPSIS void nfsd_file_cache_purge (struct net *net );
ARGUMENTS net target net namespace
SEE ALSO Kernel file ./fs/nfsd/filecache.c nfsd_file_check_write_error(9), nfsd_file_put(9), nfsd_file_put_local(9), nfsd_file_file(9),... |
nfsd_file_check_write_error(9) | NAME nfsd_file_check_write_error - check for writeback errors on a file
SYNOPSIS void nfsd_file_check_write_error (struct nfsd_file *nf );
ARGUMENTS nf nfsd_file to check for writeback errors
DESCRIPTION Check whether a nfsd_file has an unseen error. Reset the write verifier if so.
SEE ALSO Kernel file ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.