Lines Matching refs:nfs_client
278 struct nfs_client *clp) in nfs_abort_delegation_return()
291 struct nfs_client *clp) in nfs_detach_delegation_locked()
313 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation()
361 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation()
437 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_end_delegation_return()
499 int nfs_client_return_marked_delegations(struct nfs_client *clp) in nfs_client_return_marked_delegations()
636 if (!nfs4_has_session(NFS_SERVER(inode)->nfs_client) || in nfs4_inode_make_writeable()
646 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_if_closed_delegation()
653 set_bit(NFS4CLNT_DELEGRETURN, &server->nfs_client->cl_state); in nfs_mark_return_delegation()
668 static void nfs_client_mark_return_all_delegations(struct nfs_client *clp) in nfs_client_mark_return_all_delegations()
678 static void nfs_delegation_run_state_manager(struct nfs_client *clp) in nfs_delegation_run_state_manager()
689 void nfs_expire_all_delegations(struct nfs_client *clp) in nfs_expire_all_delegations()
702 struct nfs_client *clp = server->nfs_client; in nfs_server_return_all_delegations()
731 static void nfs_client_mark_return_unused_delegation_types(struct nfs_client *clp, in nfs_client_mark_return_unused_delegation_types()
794 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) in nfs_expire_unused_delegation_types()
816 void nfs_expire_unreferenced_delegations(struct nfs_client *clp) in nfs_expire_unreferenced_delegations()
839 struct nfs_client *clp = server->nfs_client; in nfs_async_inode_return_delegation()
896 struct inode *nfs_delegation_find_inode(struct nfs_client *clp, in nfs_delegation_find_inode()
934 void nfs_delegation_mark_reclaim(struct nfs_client *clp) in nfs_delegation_mark_reclaim()
949 void nfs_delegation_reap_unclaimed(struct nfs_client *clp) in nfs_delegation_reap_unclaimed()
992 static inline bool nfs4_server_rebooted(const struct nfs_client *clp) in nfs4_server_rebooted()
1006 set_bit(NFS4CLNT_DELEGATION_EXPIRED, &server->nfs_client->cl_state); in nfs_mark_test_expired_delegation()
1037 void nfs_mark_test_expired_all_delegations(struct nfs_client *clp) in nfs_mark_test_expired_all_delegations()
1053 void nfs_test_expired_all_delegations(struct nfs_client *clp) in nfs_test_expired_all_delegations()
1065 const struct nfs4_minor_version_ops *ops = server->nfs_client->cl_mvops; in nfs_delegation_test_free_expired()
1084 void nfs_reap_expired_delegations(struct nfs_client *clp) in nfs_reap_expired_delegations()
1136 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in nfs_inode_find_delegation_state_and_recover()
1159 int nfs_delegations_present(struct nfs_client *clp) in nfs_delegations_present()