Lines Matching refs:NFS_SERVER
1325 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc()
1675 if (!nfs4_has_session(NFS_SERVER(state->inode)->nfs_client)) in nfs_set_open_stateid_locked()
1776 struct nfs_server *server = NFS_SERVER(state->inode); in update_open_stateid()
1909 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; in nfs4_opendata_check_deleg()
2196 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_reclaim()
2283 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_open_delegation_recall()
2365 struct nfs_server *server = NFS_SERVER(d_inode(data->dir)); in _nfs4_proc_open_confirm()
2528 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task()
2585 nfs_fattr_map_and_free_names(NFS_SERVER(dir), &data->f_attr); in _nfs4_recover_proc_open()
2646 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open()
2712 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_expired()
2809 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_delegation_stateid()
2874 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_expired_locks()
2924 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_open_stateid()
3091 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_do_open()
3201 struct nfs_server *server = NFS_SERVER(dir); in nfs4_do_open()
3236 NFS_SERVER(dir)->nfs_client->cl_hostname); in nfs4_do_open()
3274 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_do_setattr()
3332 struct nfs_server *server = NFS_SERVER(inode); in nfs4_do_setattr()
3523 struct nfs_server *server = NFS_SERVER(calldata->inode); in nfs4_close_done()
3657 calldata->arg.bitmask = NFS_SERVER(inode)->cache_consistency_bitmask; in nfs4_close_prepare()
3658 nfs4_bitmask_adjust(calldata->arg.bitmask, inode, NFS_SERVER(inode), NULL); in nfs4_close_prepare()
3664 nfs4_map_atomic_open_share(NFS_SERVER(inode), in nfs4_close_prepare()
3672 if (nfs4_setup_sequence(NFS_SERVER(inode)->nfs_client, in nfs4_close_prepare()
3704 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_close()
4120 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral()
4239 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs4_proc_setattr()
4260 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_lookup()
4324 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4337 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4383 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_lookupp()
4422 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_lookupp()
4430 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_access()
4471 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_access()
4515 …return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq… in _nfs4_proc_readlink()
4528 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_readlink()
4541 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_create()
4569 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_remove()
4615 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_remove()
4631 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_rmdir()
4699 nfs4_setup_sequence(NFS_SERVER(data->old_dir)->nfs_client, in nfs4_proc_rename_rpc_prepare()
4737 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_link()
4793 err = nfs4_handle_exception(NFS_SERVER(inode), in nfs4_proc_link()
4816 struct nfs_server *server = NFS_SERVER(dir); in nfs4_alloc_createdata()
4846 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_create()
4909 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_symlink()
4938 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_mkdir()
4952 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_mkdir()
4969 .bitmask = NFS_SERVER(d_inode(dentry))->attr_bitmask, in _nfs4_proc_readdir()
4986 …status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &msg, &args.seq_args, &res.seq_r… in _nfs4_proc_readdir()
5009 err = nfs4_handle_exception(NFS_SERVER(d_inode(dentry)), err, in nfs4_proc_readdir()
5053 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_mknod()
5067 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_mknod()
5244 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_read_done_cb()
5283 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_read_plus_not_supported()
5333 nfs42_read_plus_support(NFS_SERVER(hdr->inode), msg); in nfs4_proc_read_setup()
5340 if (nfs4_setup_sequence(NFS_SERVER(hdr->inode)->nfs_client, in nfs4_proc_pgio_rpc_prepare()
5367 NFS_SERVER(inode), task->tk_status, in nfs4_write_done_cb()
5375 renew_lease(NFS_SERVER(inode), hdr->timestamp); in nfs4_write_done_cb()
5453 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_proc_write_setup()
5475 nfs4_setup_sequence(NFS_SERVER(data->inode)->nfs_client, in nfs4_proc_commit_rpc_prepare()
5486 if (nfs4_async_handle_error(task, NFS_SERVER(inode), in nfs4_commit_done_cb()
5504 struct nfs_server *server = NFS_SERVER(data->inode); in nfs4_proc_commit_setup()
5518 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5536 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs4_proc_commit()
5775 struct nfs_server *server = NFS_SERVER(inode); in __nfs4_get_acl_uncached()
5802 ret = nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), in __nfs4_get_acl_uncached()
5846 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5853 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_get_acl()
5873 struct nfs_server *server = NFS_SERVER(inode); in __nfs4_proc_set_acl()
5927 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_set_acl()
5937 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_get_security_label()
5982 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_get_security_label()
5995 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_do_set_security_label()
6037 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_do_set_security_label()
6060 olabel = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs4_set_security_label()
6476 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_delegreturn()
6543 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_delegreturn()
6563 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_getlk()
6612 err = nfs4_handle_exception(NFS_SERVER(state->inode), err, in nfs4_proc_getlk()
6687 p->server = NFS_SERVER(inode); in nfs4_alloc_unlockdata()
6800 nfs4_state_protect(NFS_SERVER(lsp->ls_state->inode)->nfs_client, in nfs4_do_unlck()
6855 alloc_seqid = NFS_SERVER(inode)->nfs_client->cl_mvops->alloc_seqid; in nfs4_proc_unlck()
6890 struct nfs_server *server = NFS_SERVER(inode); in nfs4_alloc_lockdata()
6978 renew_lease(NFS_SERVER(d_inode(data->ctx->dentry)), in nfs4_lock_done()
7111 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_reclaim()
7131 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_expired()
7221 err = nfs4_handle_exception(NFS_SERVER(state->inode), in nfs4_proc_setlk()
7291 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_retry_setlk()
7391 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_delegation_recall()
7505 return nfs4_server_supports_acls(NFS_SERVER(d_inode(dentry))); in nfs4_xattr_list_nfs4_acl()
7613 ret = nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs4_xattr_get_nfs4_user()
7644 ret = nfs_revalidate_inode(NFS_SERVER(inode), inode); in nfs4_listxattr_nfs4_user()
7708 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_fs_locations()
7733 if (NFS_SERVER(dir)->attr_bitmask[1] & FATTR4_WORD1_MOUNTED_ON_FILEID) in _nfs4_proc_fs_locations()
7759 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_fs_locations()
7776 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_get_locations()
7833 struct nfs_server *server = NFS_SERVER(inode); in _nfs41_proc_get_locations()
7892 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_get_locations()
7925 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_fsid_present()
7926 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in _nfs40_proc_fsid_present()
7971 struct nfs_server *server = NFS_SERVER(inode); in _nfs41_proc_fsid_present()
8018 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_fsid_present()
8052 struct rpc_clnt *clnt = NFS_SERVER(dir)->client; in _nfs4_proc_secinfo()
8053 struct nfs_client *clp = NFS_SERVER(dir)->nfs_client; in _nfs4_proc_secinfo()
8067 .seq_server = NFS_SERVER(dir), in _nfs4_proc_secinfo()
8111 if (_nfs4_is_integrity_protected(NFS_SERVER(dir)->nfs_client)) in nfs4_proc_secinfo()
8124 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_secinfo()
9310 struct nfs_server *server = NFS_SERVER(lgp->args.inode); in nfs4_layoutget_prepare()
9332 struct nfs_server *server = NFS_SERVER(inode); in nfs4_layoutget_handle_exception()
9444 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_layoutget()
9534 server = NFS_SERVER(lrp->args.inode); in nfs4_layoutreturn_done()
9594 .rpc_client = NFS_SERVER(lrp->args.inode)->client, in nfs4_proc_layoutreturn()
9601 nfs4_state_protect(NFS_SERVER(lrp->args.inode)->nfs_client, in nfs4_proc_layoutreturn()
9678 struct nfs_server *server = NFS_SERVER(data->args.inode); in nfs4_layoutcommit_prepare()
9690 struct nfs_server *server = NFS_SERVER(data->args.inode); in nfs4_layoutcommit_done()