id
stringlengths
4
63
text
stringlengths
153
8.81M
nfs42_ssc_unregister_ops(9)
NAME nfs42_ssc_unregister_ops - wrapper to un-register NFS_V4 ops in nfs_common SYNOPSIS void nfs42_ssc_unregister_ops (void ); ARGUMENTS void no arguments DESCRIPTION Return values: None. SEE ALSO Kernel file ./fs/nfs/nfs4file.c nfs42_ssc_register_ops(9) April 2026 ...
nfs4_copy_delegation_stateid(9)
NAME nfs4_copy_delegation_stateid - Copy inode's state ID information SYNOPSIS bool nfs4_copy_delegation_stateid (struct inode *inode , fmode_t flags , nfs4_stateid *dst , const struct cred **cred ); ARGUMENTS inode inode to check flags delegation type requirement dst stateid data ...
nfs4_decode_dirent(9)
NAME nfs4_decode_dirent - Decode a single NFSv4 directory entry stored in the local page cache. SYNOPSIS int nfs4_decode_dirent (struct xdr_stream *xdr , struct nfs_entry *entry , bool plus ); ARGUMENTS xdr XDR stream where entry resides entry buffer to fill in with entry data plus ...
nfs4_delegation_exists(9)
NAME nfs4_delegation_exists - Discover if this delegation already exists SYNOPSIS bool nfs4_delegation_exists (struct nfs4_client *clp , struct nfs4_file *fp ); ARGUMENTS clp a pointer to the nfs4_client we're granting a delegation to fp a pointer to the nfs4_file we're granting a delegation ...
nfs4_delegation_flush_on_close(9)
NAME nfs4_delegation_flush_on_close - Check if we must flush file on close SYNOPSIS bool nfs4_delegation_flush_on_close (const struct inode *inode ); ARGUMENTS inode inode to check DESCRIPTION This function checks the number of outstanding writes to the file against the delegation 'space_limit' field to see if...
nfs4_detect_session_trunking(9)
NAME nfs4_detect_session_trunking - Checks for session trunking. SYNOPSIS int nfs4_detect_session_trunking (struct nfs_client *clp , struct nfs41_exchange_id_res *res , struct rpc_xprt *xprt ); ARGUMENTS clp original mount nfs_client res result structure from an exchange_id using the original ...
nfs4_discover_server_trunking(9)
NAME nfs4_discover_server_trunking - Detect server IP address trunking SYNOPSIS int nfs4_discover_server_trunking (struct nfs_client *clp , struct nfs_client **result ); ARGUMENTS clp nfs_client under test result OUT: found nfs_client, or clp DESCRIPTION Returns zero or a negative errno. If zer...
nfs4_ff_find_or_create_ds_client(9)
NAME nfs4_ff_find_or_create_ds_client - Find or create a DS rpc client SYNOPSIS struct rpc_clnt * nfs4_ff_find_or_create_ds_client (struct nfs4_ff_layout_mirror *mirror , struct nfs_client *ds_clp , struct inode *inode , u32 dss_id ); ARGUMENTS mirror pointer to the mirror ds_clp nfs_client for the ...
nfs4_ff_layout_prepare_ds(9)
NAME nfs4_ff_layout_prepare_ds - prepare a DS connection for an RPC call SYNOPSIS struct nfs4_pnfs_ds * nfs4_ff_layout_prepare_ds (struct pnfs_layout_segment *lseg , struct nfs4_ff_layout_mirror *mirror , u32 dss_id , bool fail_return ); ARGUMENTS lseg the layout segment we're operating on mirror ...
nfs4_find_ds_client(9)
NAME nfs4_find_ds_client - Common lookup case for DS I/O SYNOPSIS struct nfs4_ds_server * nfs4_find_ds_client (struct nfs_client *ds_clp , rpc_authflavor_t flavor ); ARGUMENTS ds_clp pointer to the DS's nfs_client flavor rpc auth flavour to match SEE ALSO Kernel file ./fs/nfs/nfs4client.c nfs4_find...
nfs4_find_or_create_ds_client(9)
NAME nfs4_find_or_create_ds_client - Find or create a DS rpc client SYNOPSIS struct rpc_clnt * nfs4_find_or_create_ds_client (struct nfs_client *ds_clp , struct inode *inode ); ARGUMENTS ds_clp pointer to the DS's nfs_client inode pointer to the inode DESCRIPTION Find or create a DS rpc client wit...
nfs4_free_state_owners(9)
NAME nfs4_free_state_owners - Release all cached state owners SYNOPSIS void nfs4_free_state_owners (struct list_head *head ); ARGUMENTS head resulting list of state owners DESCRIPTION Frees a list of state owners that was generated by nfs4_purge_state_owners SEE ALSO Kernel file ./fs/nfs/nfs4state.c nfs4_ge...
nfs4_get_clid_cred(9)
NAME nfs4_get_clid_cred - Acquire credential for a setclientid operation SYNOPSIS const struct cred * nfs4_get_clid_cred (struct nfs_client *clp ); ARGUMENTS clp client state handle DESCRIPTION Returns a cred with reference count bumped, or NULL. SEE ALSO Kernel file ./fs/nfs/nfs4state.c nfs4_get_renew_c...
nfs4_get_renew_cred(9)
NAME nfs4_get_renew_cred - Acquire credential for a renew operation SYNOPSIS const struct cred * nfs4_get_renew_cred (struct nfs_client *clp ); ARGUMENTS clp client state handle DESCRIPTION Returns an rpc_cred with reference count bumped, or NULL. Caller must hold clp->cl_lock. SEE ALSO Kernel file ./fs/...
nfs4_get_state_owner(9)
NAME nfs4_get_state_owner - Look up a state owner given a credential SYNOPSIS struct nfs4_state_owner * nfs4_get_state_owner (struct nfs_server *server , const struct cred *cred , gfp_t gfp_flags ); ARGUMENTS server nfs_server to search cred RPC credential to match gfp_flags allocation m...
nfs4_have_delegation(9)
NAME nfs4_have_delegation - check if inode has a delegation, mark it NFS_DELEGATION_REFERENCED if there is one. SYNOPSIS int nfs4_have_delegation (struct inode *inode , fmode_t type , int flags ); ARGUMENTS inode inode to check type delegation types to check for flags various modifi...
nfs4_init_client(9)
NAME nfs4_init_client - Initialise an NFS4 client record SYNOPSIS struct nfs_client * nfs4_init_client (struct nfs_client *clp , const struct nfs_client_initdata *cl_init ); ARGUMENTS clp nfs_client to initialise cl_init pointer to nfs_client_initdata DESCRIPTION Returns pointer to an NFS client,...
nfs4_inode_make_writeable(9)
NAME nfs4_inode_make_writeable - SYNOPSIS void nfs4_inode_make_writeable (struct inode *inode ); ARGUMENTS inode pointer to inode DESCRIPTION Make the inode writeable by returning the delegation if necessary SEE ALSO Kernel file ./fs/nfs/delegation.c nfs_mark_delegation_referenced(9), nfs4_have_delegation(9)...
nfs4_inode_return_delegation(9)
NAME nfs4_inode_return_delegation - synchronously return a delegation SYNOPSIS void nfs4_inode_return_delegation (struct inode *inode ); ARGUMENTS inode inode to process DESCRIPTION This routine will always flush any dirty data to disk on the assumption that if we need to return the delegation, then we should ...
nfs4_inode_return_delegation_on_close(9)
NAME nfs4_inode_return_delegation_on_close - asynchronously return a delegation SYNOPSIS void nfs4_inode_return_delegation_on_close (struct inode *inode ); ARGUMENTS inode inode to process DESCRIPTION This routine is called on file close in order to determine if the inode delegation needs to be returned immedi...
nfs4_inode_set_return_delegation_on_close(9)
NAME nfs4_inode_set_return_delegation_on_close - asynchronously return a delegation SYNOPSIS void nfs4_inode_set_return_delegation_on_close (struct inode *inode ); ARGUMENTS inode inode to process DESCRIPTION This routine is called to request that the delegation be returned as soon as the file is closed. If th...
nfs4_negotiate_security(9)
NAME nfs4_negotiate_security - in response to an NFS4ERR_WRONGSEC on lookup, return an rpc_clnt that uses the best available security flavor with respect to the secinfo flavor list and the sec= mount options. SYNOPSIS struct rpc_clnt * nfs4_negotiate_security (struct rpc_clnt *clnt , struct inode *inode , const struct...
nfs4_preprocess_seqid_op(9)
NAME nfs4_preprocess_seqid_op - find and prep an ol_stateid for a seqid-morphing op SYNOPSIS __be32 nfs4_preprocess_seqid_op (struct nfsd4_compound_state *cstate , u32 seqid , stateid_t *stateid , unsigned short typemask , unsigned short statusmask , struct nfs4_ol_stateid **stpp , struct nfsd_net *nn ); ARGUMENTS cs...
nfs4_preprocess_stateid_op(9)
NAME nfs4_preprocess_stateid_op - find and prep stateid for an operation SYNOPSIS __be32 nfs4_preprocess_stateid_op (struct svc_rqst *rqstp , struct nfsd4_compound_state *cstate , struct svc_fh *fhp , stateid_t *stateid , int flags , struct nfsd_file **nfp , struct nfs4_stid **cstid ); ARGUMENTS rqstp incoming ...
nfs4_proc_fsid_present(9)
NAME nfs4_proc_fsid_present - Is this FSID present or absent on server? SYNOPSIS int nfs4_proc_fsid_present (struct inode *inode , const struct cred *cred ); ARGUMENTS inode inode on FSID to check cred credential to use for this operation DESCRIPTION Server indicates whether the FSID is pr...
nfs4_proc_get_locations(9)
NAME nfs4_proc_get_locations - discover locations for a migrated FSID SYNOPSIS int nfs4_proc_get_locations (struct nfs_server *server , struct nfs_fh *fhandle , struct nfs4_fs_locations *locations , struct page *page , const struct cred *cred ); ARGUMENTS server pointer to nfs_server to process fhandle ...
nfs4_proc_get_rootfh(9)
NAME nfs4_proc_get_rootfh - get file handle for server's pseudoroot SYNOPSIS int nfs4_proc_get_rootfh (struct nfs_server *server , struct nfs_fh *fhandle , struct nfs_fattr *fattr , bool auth_probe ); ARGUMENTS server initialized nfs_server handle fhandle we fill in the pseudo-fs root file handle ...
nfs4_proc_setclientid(9)
NAME nfs4_proc_setclientid - Negotiate client ID SYNOPSIS int nfs4_proc_setclientid (struct nfs_client *clp , u32 program , unsigned short port , const struct cred *cred , struct nfs4_setclientid_res *res ); ARGUMENTS clp state data structure program RPC program for NFSv4 callback service ...
nfs4_proc_setclientid_confirm(9)
NAME nfs4_proc_setclientid_confirm - Confirm client ID SYNOPSIS int nfs4_proc_setclientid_confirm (struct nfs_client *clp , struct nfs4_setclientid_res *arg , const struct cred *cred ); ARGUMENTS clp state data structure arg result of a previous SETCLIENTID cred credential to us...
nfs4_purge_state_owners(9)
NAME nfs4_purge_state_owners - Release all cached state owners SYNOPSIS void nfs4_purge_state_owners (struct nfs_server *server , struct list_head *head ); ARGUMENTS server nfs_server with cached state owners to release head resulting list of state owners DESCRIPTION Called at umount time. R...
nfs4_put_state_owner(9)
NAME nfs4_put_state_owner - Release a nfs4_state_owner SYNOPSIS void nfs4_put_state_owner (struct nfs4_state_owner *sp ); ARGUMENTS sp state owner data to release DESCRIPTION Note that we keep released state owners on an LRU list. This caches valid state owners so that they can be reused, to avoid the OPE...
nfs4_refresh_delegation_stateid(9)
NAME nfs4_refresh_delegation_stateid - Update delegation stateid seqid SYNOPSIS bool nfs4_refresh_delegation_stateid (nfs4_stateid *dst , struct inode *inode ); ARGUMENTS dst stateid to refresh inode inode to check DESCRIPTION Returns "true" and updates "dst->seqid" * if inode had a delegation ...
nfs4_replace_transport(9)
NAME nfs4_replace_transport - set up transport to destination server SYNOPSIS int nfs4_replace_transport (struct nfs_server *server , const struct nfs4_fs_locations *locations ); ARGUMENTS server export being migrated locations fs_locations array DESCRIPTION Returns zero on success, or a negative errn...
nfs4_schedule_lease_moved_recovery(9)
NAME nfs4_schedule_lease_moved_recovery - start lease-moved recovery SYNOPSIS void nfs4_schedule_lease_moved_recovery (struct nfs_client *clp ); ARGUMENTS clp server to check for moved leases SEE ALSO Kernel file ./fs/nfs/nfs4state.c nfs4_get_renew_cred(9), nfs41_discover_server_trunking(9), nfs4_get_clid_...
nfs4_schedule_migration_recovery(9)
NAME nfs4_schedule_migration_recovery - trigger migration recovery SYNOPSIS int nfs4_schedule_migration_recovery (const struct nfs_server *server ); ARGUMENTS server FSID that is migrating DESCRIPTION Returns zero if recovery has started, otherwise a negative NFS4ERR value is returned. SEE ALSO Kernel file ....
nfs4_set_lease_period(9)
NAME nfs4_set_lease_period - Sets the lease period on a nfs_client SYNOPSIS void nfs4_set_lease_period (struct nfs_client *clp , u32 period ); ARGUMENTS clp pointer to nfs_client period new value for lease period (in seconds) SEE ALSO Kernel file ./fs/nfs/nfs4renewd.c April 2026 ...
nfs4_setup_slot_table(9)
NAME nfs4_setup_slot_table - prepare a stand-alone slot table for use SYNOPSIS int nfs4_setup_slot_table (struct nfs4_slot_table *tbl , unsigned int max_reqs , const char *queue ); ARGUMENTS tbl slot table to set up max_reqs maximum number of requests allowed queue name to give RPC wa...
nfs4_shutdown_slot_table(9)
NAME nfs4_shutdown_slot_table - release resources attached to a slot table SYNOPSIS void nfs4_shutdown_slot_table (struct nfs4_slot_table *tbl ); ARGUMENTS tbl slot table to shut down SEE ALSO Kernel file ./fs/nfs/nfs4session.c nfs4_slot_tbl_drain_complete(9), nfs4_setup_slot_table(9) April 2026 ...
nfs4_slot_tbl_drain_complete(9)
NAME nfs4_slot_tbl_drain_complete - wake waiters when drain is complete SYNOPSIS void nfs4_slot_tbl_drain_complete (struct nfs4_slot_table *tbl ); ARGUMENTS tbl controlling slot table SEE ALSO Kernel file ./fs/nfs/nfs4session.c nfs4_shutdown_slot_table(9), nfs4_setup_slot_table(9) April 2026 ...
nfs4_test_session_trunk(9)
NAME nfs4_test_session_trunk - SYNOPSIS void nfs4_test_session_trunk (struct rpc_clnt *clnt , struct rpc_xprt *xprt , void *data ); ARGUMENTS clnt struct rpc_clnt to get new transport xprt the rpc_xprt to test data call data for _nfs4_proc_exchange_id. DESCRIPTION This is an ad...
nfs4_update_server(9)
NAME nfs4_update_server - Move an nfs_server to a different nfs_client SYNOPSIS int nfs4_update_server (struct nfs_server *server , const char *hostname , struct sockaddr_storage *sap , size_t salen , struct net *net ); ARGUMENTS server represents FSID to be moved hostname new end-point's hostname ...
nfs_async_inode_return_delegation(9)
NAME nfs_async_inode_return_delegation - asynchronously return a delegation SYNOPSIS int nfs_async_inode_return_delegation (struct inode *inode , const nfs4_stateid *stateid ); ARGUMENTS inode inode to process stateid state ID information DESCRIPTION Returns zero on success, or a negative errno val...
nfs_async_iocounter_wait(9)
NAME nfs_async_iocounter_wait - wait on a rpc_waitqueue for I/O to complete SYNOPSIS bool nfs_async_iocounter_wait (struct rpc_task *task , struct nfs_lock_context *l_ctx ); ARGUMENTS task the rpc_task that should wait l_ctx nfs_lock_context with io_counter to check DESCRIPTION Returns true if t...
nfs_async_rename(9)
NAME nfs_async_rename - perform an asynchronous rename operation SYNOPSIS struct rpc_task * nfs_async_rename (struct inode *old_dir , struct inode *new_dir , struct dentry *old_dentry , struct dentry *new_dentry , void (*complete)(struct rpc_task *, struct nfs_renamedata *) ); ARGUMENTS old_dir directory that cur...
nfs_async_rename_done(9)
NAME nfs_async_rename_done - Sillyrename post-processing SYNOPSIS void nfs_async_rename_done (struct rpc_task *task , void *calldata ); ARGUMENTS task rpc_task of the sillyrename calldata nfs_renamedata for the sillyrename DESCRIPTION Do the directory attribute updates and the d_move SEE ALSO Kern...
nfs_async_rename_release(9)
NAME nfs_async_rename_release - Release the sillyrename data. SYNOPSIS void nfs_async_rename_release (void *calldata ); ARGUMENTS calldata the struct nfs_renamedata to be released SEE ALSO Kernel file ./fs/nfs/unlink.c nfs_free_unlinkdata(9), nfs_async_unlink_done(9), nfs_async_unlink_release(9), nfs_async_unlink...
nfs_async_unlink(9)
NAME nfs_async_unlink - asynchronous unlinking of a file SYNOPSIS int nfs_async_unlink (struct dentry *dentry , const struct qstr *name ); ARGUMENTS dentry parent directory of dentry name name of dentry to unlink SEE ALSO Kernel file ./fs/nfs/unlink.c nfs_free_unlinkdata(9), nfs_async_unlink_done...
nfs_async_unlink_done(9)
NAME nfs_async_unlink_done - Sillydelete post-processing SYNOPSIS void nfs_async_unlink_done (struct rpc_task *task , void *calldata ); ARGUMENTS task rpc_task of the sillydelete calldata pointer to nfs_unlinkdata DESCRIPTION Do the directory attribute update. SEE ALSO Kernel file ./fs/nfs/unlin...
nfs_async_unlink_release(9)
NAME nfs_async_unlink_release - Release the sillydelete data. SYNOPSIS void nfs_async_unlink_release (void *calldata ); ARGUMENTS calldata struct nfs_unlinkdata to release DESCRIPTION We need to call nfs_put_unlinkdata as a 'tk_release' task since the rpc_task would be freed too. SEE ALSO Kernel file ./fs/nfs/un...
nfs_check_inode_attributes(9)
NAME nfs_check_inode_attributes - verify consistency of the inode attribute cache SYNOPSIS int nfs_check_inode_attributes (struct inode *inode , struct nfs_fattr *fattr ); ARGUMENTS inode pointer to inode fattr updated attributes DESCRIPTION Verifies the attribute cache. If we have just changed t...
nfs_clear_invalid_mapping(9)
NAME nfs_clear_invalid_mapping - Conditionally clear a mapping SYNOPSIS int nfs_clear_invalid_mapping (struct address_space *mapping ); ARGUMENTS mapping pointer to mapping DESCRIPTION If the NFS_INO_INVALID_DATA inode flag is set, clear the mapping. SEE ALSO Kernel file ./fs/nfs/inode.c nfs_compat_user_ino64(9...
nfs_clear_verifier_delegated(9)
NAME nfs_clear_verifier_delegated - clear the dir verifier delegation tag SYNOPSIS void nfs_clear_verifier_delegated (struct inode *inode ); ARGUMENTS inode pointer to inode DESCRIPTION Iterates through the dentries in the inode alias list and clears the tag used to indicate that the dentry has been revalid...
nfs_client_return_marked_delegations(9)
NAME nfs_client_return_marked_delegations - return previously marked delegations SYNOPSIS int nfs_client_return_marked_delegations (struct nfs_client *clp ); ARGUMENTS clp nfs_client to process DESCRIPTION Note that this function is designed to be called by the state manager thread. For this reason, it ca...
nfs_close_context(9)
NAME nfs_close_context - Common close_context() routine NFSv2/v3 SYNOPSIS void nfs_close_context (struct nfs_open_context *ctx , int is_sync ); ARGUMENTS ctx pointer to context is_sync is this a synchronous close DESCRIPTION Ensure that the attributes are up to date if we're mounted with close-to...
nfs_coalesce_size(9)
NAME nfs_coalesce_size - test two requests for compatibility SYNOPSIS unsigned int nfs_coalesce_size (struct nfs_page *prev , struct nfs_page *req , struct nfs_pageio_descriptor *pgio ); ARGUMENTS prev pointer to nfs_page req pointer to nfs_page pgio pointer to nfs_pagio_descript...
nfs_compat_user_ino64(9)
NAME nfs_compat_user_ino64 - returns the user-visible inode number SYNOPSIS u64 nfs_compat_user_ino64 (u64 fileid ); ARGUMENTS fileid 64-bit fileid DESCRIPTION This function returns a 32-bit inode number if the boot parameter nfs.enable_ino64 is zero. SEE ALSO Kernel file ./fs/nfs/inode.c nfs_sync_mapping(9), ...
nfs_complete_unlink(9)
NAME nfs_complete_unlink - Initialize completion of the sillydelete SYNOPSIS void nfs_complete_unlink (struct dentry *dentry , struct inode *inode ); ARGUMENTS dentry dentry to delete inode inode DESCRIPTION Since we're most likely to be called by dentry_iput, we only use the dentry to find the si...
nfs_delegation_find_inode(9)
NAME nfs_delegation_find_inode - retrieve the inode associated with a delegation SYNOPSIS struct inode * nfs_delegation_find_inode (struct nfs_client *clp , const struct nfs_fh *fhandle ); ARGUMENTS clp client state handle fhandle filehandle from a delegation recall DESCRIPTION Returns pointer to...
nfs_delegation_mark_reclaim(9)
NAME nfs_delegation_mark_reclaim - mark all delegations as needing to be reclaimed SYNOPSIS void nfs_delegation_mark_reclaim (struct nfs_client *clp ); ARGUMENTS clp nfs_client to process SEE ALSO Kernel file ./fs/nfs/delegation.c nfs_mark_delegation_referenced(9), nfs4_have_delegation(9), nfs_inode_reclaim...
nfs_delegation_reap_unclaimed(9)
NAME nfs_delegation_reap_unclaimed - reap unclaimed delegations after reboot recovery is done SYNOPSIS void nfs_delegation_reap_unclaimed (struct nfs_client *clp ); ARGUMENTS clp nfs_client to process SEE ALSO Kernel file ./fs/nfs/delegation.c nfs_mark_delegation_referenced(9), nfs4_have_delegation(9), nfs_...
nfs_delegations_present(9)
NAME nfs_delegations_present - check for existence of delegations SYNOPSIS int nfs_delegations_present (struct nfs_client *clp ); ARGUMENTS clp client state handle DESCRIPTION Returns one if there are any nfs_delegation structures attached to this nfs_client. SEE ALSO Kernel file ./fs/nfs/delegation.c nfs_...
nfs_destroy_directcache(9)
NAME nfs_destroy_directcache - destroy the slab cache for nfs_direct_req structures SYNOPSIS void nfs_destroy_directcache (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./fs/nfs/direct.c nfs_swap_rw(9), nfs_file_direct_read(9), nfs_file_direct_write(9), nfs_init_directcache(9) April 2026 ...
nfs_do_submount(9)
NAME nfs_do_submount - set up mountpoint when crossing a filesystem boundary SYNOPSIS int nfs_do_submount (struct fs_context *fc ); ARGUMENTS fc pointer to struct nfs_fs_context SEE ALSO Kernel file ./fs/nfs/namespace.c April 2026 ...
nfs_end_io_direct(9)
NAME nfs_end_io_direct - declare that the direct i/o operation is done SYNOPSIS void nfs_end_io_direct (struct inode *inode ); ARGUMENTS inode file inode DESCRIPTION Declare that a direct I/O operation is done, and release the shared lock on inode->i_rwsem. SEE ALSO Kernel file ./fs/nfs/io.c nfs_start_io_read...
nfs_end_io_read(9)
NAME nfs_end_io_read - declare that the buffered read operation is done SYNOPSIS void nfs_end_io_read (struct inode *inode ); ARGUMENTS inode file inode DESCRIPTION Declare that a buffered read operation is done, and release the shared lock on inode->i_rwsem. SEE ALSO Kernel file ./fs/nfs/io.c nfs_start_io_re...
nfs_end_io_write(9)
NAME nfs_end_io_write - declare that the buffered write operation is done SYNOPSIS void nfs_end_io_write (struct inode *inode ); ARGUMENTS inode file inode DESCRIPTION Declare that a buffered write operation is done, and release the lock on inode->i_rwsem. SEE ALSO Kernel file ./fs/nfs/io.c nfs_start_io_read(...
nfs_expire_all_delegations(9)
NAME nfs_expire_all_delegations - SYNOPSIS void nfs_expire_all_delegations (struct nfs_client *clp ); ARGUMENTS clp client to process SEE ALSO Kernel file ./fs/nfs/delegation.c nfs_mark_delegation_referenced(9), nfs4_have_delegation(9), nfs_inode_reclaim_delegation(9), nfs_inode_set_delegation(9), nfs_client...
nfs_expire_unreferenced_delegations(9)
NAME nfs_expire_unreferenced_delegations - Eliminate unused delegations SYNOPSIS void nfs_expire_unreferenced_delegations (struct nfs_client *clp ); ARGUMENTS clp nfs_client to process SEE ALSO Kernel file ./fs/nfs/delegation.c nfs_mark_delegation_referenced(9), nfs4_have_delegation(9), nfs_inode_reclaim_de...
nfs_fattr_free_names(9)
NAME nfs_fattr_free_names - free up the NFSv4 owner and group strings SYNOPSIS void nfs_fattr_free_names (struct nfs_fattr *fattr ); ARGUMENTS fattr a fully initialised nfs_fattr structure SEE ALSO Kernel file ./fs/nfs/nfs4idmap.c nfs_fattr_init_names(9), nfs_fattr_map_and_free_names(9) April 2026 ...
nfs_fattr_init_names(9)
NAME nfs_fattr_init_names - initialise the nfs_fattr owner_name/group_name fields SYNOPSIS void nfs_fattr_init_names (struct nfs_fattr *fattr , struct nfs4_string *owner_name , struct nfs4_string *group_name ); ARGUMENTS fattr fully initialised struct nfs_fattr owner_name owner name string cache ...
nfs_fattr_map_and_free_names(9)
NAME nfs_fattr_map_and_free_names - map owner/group strings into uid/gid and free SYNOPSIS void nfs_fattr_map_and_free_names (struct nfs_server *server , struct nfs_fattr *fattr ); ARGUMENTS server pointer to the filesystem nfs_server structure fattr a fully initialised nfs_fattr structure DESCRIP...
nfs_fattr_set_barrier(9)
NAME nfs_fattr_set_barrier - SYNOPSIS void nfs_fattr_set_barrier (struct nfs_fattr *fattr ); ARGUMENTS fattr attributes DESCRIPTION Used to set a barrier after an attribute was updated. This barrier ensures that older attributes from RPC calls that may have raced with our update cannot clobber these new values...
nfs_fhandle_hash(9)
NAME nfs_fhandle_hash - calculate the crc32 hash for the filehandle @fh - pointer to filehandle SYNOPSIS u32 nfs_fhandle_hash (const struct nfs_fh *fh ); ARGUMENTS fh -- undescribed -- DESCRIPTION returns a crc32 hash for the filehandle that is compatible with the one displayed by "wireshark". SEE ALSO Ker...
nfs_file_direct_read(9)
NAME nfs_file_direct_read - file direct read operation for NFS files SYNOPSIS ssize_t nfs_file_direct_read (struct kiocb *iocb , struct iov_iter *iter , bool swap ); ARGUMENTS iocb target I/O control block iter vector of user buffers into which to read data swap flag indicating th...
nfs_file_direct_write(9)
NAME nfs_file_direct_write - file direct write operation for NFS files SYNOPSIS ssize_t nfs_file_direct_write (struct kiocb *iocb , struct iov_iter *iter , bool swap ); ARGUMENTS iocb target I/O control block iter vector of user buffers from which to write data swap flag indicatin...
nfs_find_best_sec(9)
NAME nfs_find_best_sec - Find a security mechanism supported locally SYNOPSIS struct rpc_clnt * nfs_find_best_sec (struct rpc_clnt *clnt , struct nfs_server *server , struct nfs4_secinfo_flavors *flavors ); ARGUMENTS clnt pointer to rpc_clnt server NFS server struct flavors List of sec...
nfs_folio_find_head_request(9)
NAME nfs_folio_find_head_request - find head request associated with a folio SYNOPSIS struct nfs_page * nfs_folio_find_head_request (struct folio *folio ); ARGUMENTS folio pointer to folio DESCRIPTION must be called while holding the inode lock. returns matching head request with reference held, or NULL if no...
nfs_follow_referral(9)
NAME nfs_follow_referral - set up mountpoint when hitting a referral on moved error SYNOPSIS int nfs_follow_referral (struct fs_context *fc , const struct nfs4_fs_locations *locations ); ARGUMENTS fc pointer to struct nfs_fs_context locations array of NFSv4 server location information SEE ALSO Ker...
nfs_force_lookup_revalidate(9)
NAME nfs_force_lookup_revalidate - Mark the directory as having changed SYNOPSIS void nfs_force_lookup_revalidate (struct inode *dir ); ARGUMENTS dir pointer to directory inode DESCRIPTION This forces the revalidation code in nfs_lookup_revalidate to do a full lookup on all child dentries of 'dir' whenever a...
nfs_free_request(9)
NAME nfs_free_request - Release the count on an NFS read/write request SYNOPSIS void nfs_free_request (struct nfs_page *req ); ARGUMENTS req request to release NOTE Should never be called with the spinlock held! SEE ALSO Kernel file ./fs/nfs/pagelist.c nfs_iocounter_wait(9), nfs_async_iocounter_wait(9),...
nfs_free_unlinkdata(9)
NAME nfs_free_unlinkdata - release data from a sillydelete operation. SYNOPSIS void nfs_free_unlinkdata (struct nfs_unlinkdata *data ); ARGUMENTS data pointer to unlink structure. SEE ALSO Kernel file ./fs/nfs/unlink.c nfs_async_unlink_done(9), nfs_async_unlink_release(9), nfs_async_unlink(9), nfs_complete...
nfs_init_client(9)
NAME nfs_init_client - Initialise an NFS2 or NFS3 client SYNOPSIS struct nfs_client * nfs_init_client (struct nfs_client *clp , const struct nfs_client_initdata *cl_init ); ARGUMENTS clp nfs_client to initialise cl_init Initialisation parameters DESCRIPTION Returns pointer to an NFS client, or an...
nfs_init_directcache(9)
NAME nfs_init_directcache - create a slab cache for nfs_direct_req structures SYNOPSIS int nfs_init_directcache (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./fs/nfs/direct.c nfs_swap_rw(9), nfs_file_direct_read(9), nfs_file_direct_write(9), nfs_destroy_directcache(9) April 2026 ...
nfs_inode_attrs_cmp(9)
NAME nfs_inode_attrs_cmp - compare attributes SYNOPSIS int nfs_inode_attrs_cmp (const struct nfs_fattr *fattr , const struct inode *inode ); ARGUMENTS fattr attributes inode pointer to inode DESCRIPTION This function returns '1' if it thinks the attributes in fattr are more recent than the o...
nfs_inode_attrs_cmp_generic(9)
NAME nfs_inode_attrs_cmp_generic - compare attributes SYNOPSIS int nfs_inode_attrs_cmp_generic (const struct nfs_fattr *fattr , const struct inode *inode ); ARGUMENTS fattr attributes inode pointer to inode DESCRIPTION Attempt to divine whether or not an RPC call reply carrying stale attribute...
nfs_inode_attrs_cmp_monotonic(9)
NAME nfs_inode_attrs_cmp_monotonic - compare attributes SYNOPSIS int nfs_inode_attrs_cmp_monotonic (const struct nfs_fattr *fattr , const struct inode *inode ); ARGUMENTS fattr attributes inode pointer to inode DESCRIPTION Attempt to divine whether or not an RPC call reply carrying stale attrib...
nfs_inode_attrs_cmp_strict_monotonic(9)
NAME nfs_inode_attrs_cmp_strict_monotonic - compare attributes SYNOPSIS int nfs_inode_attrs_cmp_strict_monotonic (const struct nfs_fattr *fattr , const struct inode *inode ); ARGUMENTS fattr attributes inode pointer to inode DESCRIPTION Attempt to divine whether or not an RPC call reply carr...
nfs_inode_evict_delegation(9)
NAME nfs_inode_evict_delegation - return delegation, don't reclaim opens SYNOPSIS void nfs_inode_evict_delegation (struct inode *inode ); ARGUMENTS inode inode to process DESCRIPTION Does not protect against delegation reclaims, therefore really only safe to be called from nfs4_clear_inode. Guaranteed to alway...
nfs_inode_finish_partial_attr_update(9)
NAME nfs_inode_finish_partial_attr_update - complete a previous inode update SYNOPSIS int nfs_inode_finish_partial_attr_update (const struct nfs_fattr *fattr , const struct inode *inode ); ARGUMENTS fattr attributes inode pointer to inode DESCRIPTION Returns '1' if the last attribute update left ...
nfs_inode_reclaim_delegation(9)
NAME nfs_inode_reclaim_delegation - process a delegation reclaim request SYNOPSIS void nfs_inode_reclaim_delegation (struct inode *inode , const struct cred *cred , fmode_t type , const nfs4_stateid *stateid , unsigned long pagemod_limit , u32 deleg_type ); ARGUMENTS inode inode to process cred c...
nfs_inode_set_delegation(9)
NAME nfs_inode_set_delegation - set up a delegation on an inode SYNOPSIS int nfs_inode_set_delegation (struct inode *inode , const struct cred *cred , fmode_t type , const nfs4_stateid *stateid , unsigned long pagemod_limit , u32 deleg_type ); ARGUMENTS inode inode to which delegation applies cred ...
nfs_iocounter_wait(9)
NAME nfs_iocounter_wait - wait for i/o to complete SYNOPSIS int nfs_iocounter_wait (struct nfs_lock_context *l_ctx ); ARGUMENTS l_ctx nfs_lock_context with io_counter to use DESCRIPTION returns -ERESTARTSYS if interrupted by a fatal signal. Otherwise returns 0 once the io_count hits 0. SEE ALSO Kernel file ...
nfs_list_add_request(9)
NAME nfs_list_add_request - Insert a request into a list SYNOPSIS void nfs_list_add_request (struct nfs_page *req , struct list_head *head ); ARGUMENTS req request head head of list into which to insert the request. SEE ALSO Kernel file ./include/linux/nfs_page.h nfs_page_to_folio(9), nfs_page...
nfs_list_move_request(9)
NAME nfs_list_move_request - Move a request to a new list SYNOPSIS void nfs_list_move_request (struct nfs_page *req , struct list_head *head ); ARGUMENTS req request head head of list into which to insert the request. SEE ALSO Kernel file ./include/linux/nfs_page.h nfs_page_to_folio(9), nfs_pa...
nfs_list_remove_request(9)
NAME nfs_list_remove_request - Remove a request from its wb_list SYNOPSIS void nfs_list_remove_request (struct nfs_page *req ); ARGUMENTS req request SEE ALSO Kernel file ./include/linux/nfs_page.h nfs_page_to_folio(9), nfs_page_to_page(9), nfs_page_to_inode(9), nfs_page_max_length(9), nfs_list_add_request(9...
nfs_mark_delegation_referenced(9)
NAME nfs_mark_delegation_referenced - set delegation's REFERENCED flag SYNOPSIS void nfs_mark_delegation_referenced (struct nfs_delegation *delegation ); ARGUMENTS delegation delegation to process SEE ALSO Kernel file ./fs/nfs/delegation.c nfs4_have_delegation(9), nfs_inode_reclaim_delegation(9), nfs_inode_set_d...
nfs_mark_test_expired_all_delegations(9)
NAME nfs_mark_test_expired_all_delegations - mark all delegations for testing SYNOPSIS void nfs_mark_test_expired_all_delegations (struct nfs_client *clp ); ARGUMENTS clp nfs_client to process DESCRIPTION Iterates through all the delegations associated with this server and marks them as needing to be checked...
nfs_mount(9)
NAME nfs_mount - Obtain an NFS file handle for the given host and path SYNOPSIS int nfs_mount (struct nfs_mount_request *info , int timeo , int retrans ); ARGUMENTS info pointer to mount request arguments timeo deciseconds the mount waits for a response before it retries retrans numbe...
nfs_page_create_from_folio(9)
NAME nfs_page_create_from_folio - Create an NFS read/write request. SYNOPSIS struct nfs_page * nfs_page_create_from_folio (struct nfs_open_context *ctx , struct folio *folio , unsigned int offset , unsigned int count ); ARGUMENTS ctx open context to use folio folio to write offset s...
nfs_page_create_from_page(9)
NAME nfs_page_create_from_page - Create an NFS read/write request. SYNOPSIS struct nfs_page * nfs_page_create_from_page (struct nfs_open_context *ctx , struct page *page , unsigned int pgbase , loff_t offset , unsigned int count ); ARGUMENTS ctx open context to use page page to write pg...