Lines Matching refs:NFS_SERVER
1336 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc()
1687 if (!nfs4_has_session(NFS_SERVER(state->inode)->nfs_client)) in nfs_set_open_stateid_locked()
1788 struct nfs_server *server = NFS_SERVER(state->inode); in update_open_stateid()
1921 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; in nfs4_opendata_check_deleg()
2208 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_reclaim()
2295 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_open_delegation_recall()
2377 struct nfs_server *server = NFS_SERVER(d_inode(data->dir)); in _nfs4_proc_open_confirm()
2540 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task()
2597 nfs_fattr_map_and_free_names(NFS_SERVER(dir), &data->f_attr); in _nfs4_recover_proc_open()
2658 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open()
2724 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_expired()
2821 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_delegation_stateid()
2886 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_expired_locks()
2936 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_open_stateid()
3108 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_do_open()
3218 struct nfs_server *server = NFS_SERVER(dir); in nfs4_do_open()
3253 NFS_SERVER(dir)->nfs_client->cl_hostname); in nfs4_do_open()
3291 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_do_setattr()
3349 struct nfs_server *server = NFS_SERVER(inode); in nfs4_do_setattr()
3540 struct nfs_server *server = NFS_SERVER(calldata->inode); in nfs4_close_done()
3616 struct nfs_server *server = NFS_SERVER(inode); in nfs4_close_prepare()
3682 nfs4_map_atomic_open_share(NFS_SERVER(inode), in nfs4_close_prepare()
3690 if (nfs4_setup_sequence(NFS_SERVER(inode)->nfs_client, in nfs4_close_prepare()
3722 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_close()
4138 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral()
4257 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs4_proc_setattr()
4278 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_lookup()
4342 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4355 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4401 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_lookupp()
4440 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_lookupp()
4448 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_access()
4489 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_access()
4533 …return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq… in _nfs4_proc_readlink()
4546 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_readlink()
4559 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_create()
4587 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_remove()
4633 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_remove()
4649 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_rmdir()
4717 nfs4_setup_sequence(NFS_SERVER(data->old_dir)->nfs_client, in nfs4_proc_rename_rpc_prepare()
4755 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_link()
4811 err = nfs4_handle_exception(NFS_SERVER(inode), in nfs4_proc_link()
4834 struct nfs_server *server = NFS_SERVER(dir); in nfs4_alloc_createdata()
4864 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_create()
4927 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_symlink()
4956 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_mkdir()
4970 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_mkdir()
4982 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_readdir()
5033 err = nfs4_handle_exception(NFS_SERVER(d_inode(dentry)), err, in nfs4_proc_readdir()
5077 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_mknod()
5091 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_mknod()
5268 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_read_done_cb()
5307 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_read_plus_not_supported()
5357 nfs42_read_plus_support(NFS_SERVER(hdr->inode), msg); in nfs4_proc_read_setup()
5364 if (nfs4_setup_sequence(NFS_SERVER(hdr->inode)->nfs_client, in nfs4_proc_pgio_rpc_prepare()
5391 NFS_SERVER(inode), task->tk_status, in nfs4_write_done_cb()
5399 renew_lease(NFS_SERVER(inode), hdr->timestamp); in nfs4_write_done_cb()
5482 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_proc_write_setup()
5506 nfs4_setup_sequence(NFS_SERVER(data->inode)->nfs_client, in nfs4_proc_commit_rpc_prepare()
5517 if (nfs4_async_handle_error(task, NFS_SERVER(inode), in nfs4_commit_done_cb()
5535 struct nfs_server *server = NFS_SERVER(data->inode); in nfs4_proc_commit_setup()
5549 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5567 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs4_proc_commit()
5806 struct nfs_server *server = NFS_SERVER(inode); in __nfs4_get_acl_uncached()
5833 ret = nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), in __nfs4_get_acl_uncached()
5877 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5884 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_get_acl()
5904 struct nfs_server *server = NFS_SERVER(inode); in __nfs4_proc_set_acl()
5969 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_set_acl()
5979 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_get_security_label()
6024 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_get_security_label()
6037 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_do_set_security_label()
6079 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_do_set_security_label()
6102 olabel = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs4_set_security_label()
6519 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_delegreturn()
6591 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_delegreturn()
6611 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_getlk()
6660 err = nfs4_handle_exception(NFS_SERVER(state->inode), err, in nfs4_proc_getlk()
6735 p->server = NFS_SERVER(inode); in nfs4_alloc_unlockdata()
6848 nfs4_state_protect(NFS_SERVER(lsp->ls_state->inode)->nfs_client, in nfs4_do_unlck()
6903 alloc_seqid = NFS_SERVER(inode)->nfs_client->cl_mvops->alloc_seqid; in nfs4_proc_unlck()
6938 struct nfs_server *server = NFS_SERVER(inode); in nfs4_alloc_lockdata()
7017 struct nfs_server *server = NFS_SERVER(d_inode(data->ctx->dentry)); in nfs4_lock_done()
7161 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_reclaim()
7181 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_expired()
7271 err = nfs4_handle_exception(NFS_SERVER(state->inode), in nfs4_proc_setlk()
7341 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_retry_setlk()
7441 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_delegation_recall()
7556 return nfs4_server_supports_acls(NFS_SERVER(d_inode(dentry))); in nfs4_xattr_list_nfs4_acl()
7666 ret = nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs4_xattr_get_nfs4_user()
7697 ret = nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs4_listxattr_nfs4_user()
7761 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_fs_locations()
7786 if (NFS_SERVER(dir)->attr_bitmask[1] & FATTR4_WORD1_MOUNTED_ON_FILEID) in _nfs4_proc_fs_locations()
7812 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_fs_locations()
7829 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_get_locations()
7886 struct nfs_server *server = NFS_SERVER(inode); in _nfs41_proc_get_locations()
7945 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_get_locations()
7978 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_fsid_present()
7979 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in _nfs40_proc_fsid_present()
8024 struct nfs_server *server = NFS_SERVER(inode); in _nfs41_proc_fsid_present()
8071 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_fsid_present()
8105 struct rpc_clnt *clnt = NFS_SERVER(dir)->client; in _nfs4_proc_secinfo()
8106 struct nfs_client *clp = NFS_SERVER(dir)->nfs_client; in _nfs4_proc_secinfo()
8120 .seq_server = NFS_SERVER(dir), in _nfs4_proc_secinfo()
8164 if (_nfs4_is_integrity_protected(NFS_SERVER(dir)->nfs_client)) in nfs4_proc_secinfo()
8177 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_secinfo()
9367 struct nfs_server *server = NFS_SERVER(lgp->args.inode); in nfs4_layoutget_prepare()
9389 struct nfs_server *server = NFS_SERVER(inode); in nfs4_layoutget_handle_exception()
9501 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_layoutget()
9591 server = NFS_SERVER(lrp->args.inode); in nfs4_layoutreturn_done()
9651 .rpc_client = NFS_SERVER(lrp->args.inode)->client, in nfs4_proc_layoutreturn()
9658 nfs4_state_protect(NFS_SERVER(lrp->args.inode)->nfs_client, in nfs4_proc_layoutreturn()
9740 struct nfs_server *server = NFS_SERVER(data->args.inode); in nfs4_layoutcommit_prepare()
9752 struct nfs_server *server = NFS_SERVER(data->args.inode); in nfs4_layoutcommit_done()