Lines Matching refs:NFS_SERVER

1215 	switch (NFS_SERVER(inode)->change_attr_type) {  in nfs4_update_changeattr_locked()
1349 struct nfs_server *server = NFS_SERVER(dir); in nfs4_opendata_alloc()
1699 if (!nfs4_has_session(NFS_SERVER(state->inode)->nfs_client)) in nfs_set_open_stateid_locked()
1800 struct nfs_server *server = NFS_SERVER(state->inode); in update_open_stateid()
1933 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; in nfs4_opendata_check_deleg()
2220 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_reclaim()
2308 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_open_delegation_recall()
2390 struct nfs_server *server = NFS_SERVER(d_inode(data->dir)); in _nfs4_proc_open_confirm()
2553 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task()
2613 nfs_fattr_map_and_free_names(NFS_SERVER(dir), &data->f_attr); in _nfs4_recover_proc_open()
2674 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open()
2740 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_expired()
2837 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_delegation_stateid()
2902 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_expired_locks()
2952 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_open_stateid()
3119 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_do_open()
3229 struct nfs_server *server = NFS_SERVER(dir); in nfs4_do_open()
3264 NFS_SERVER(dir)->nfs_client->cl_hostname); in nfs4_do_open()
3302 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_do_setattr()
3360 struct nfs_server *server = NFS_SERVER(inode); in nfs4_do_setattr()
3556 struct nfs_server *server = NFS_SERVER(calldata->inode); in nfs4_close_done()
3632 struct nfs_server *server = NFS_SERVER(inode); in nfs4_close_prepare()
3698 nfs4_map_atomic_open_share(NFS_SERVER(inode), in nfs4_close_prepare()
3706 if (nfs4_setup_sequence(NFS_SERVER(inode)->nfs_client, in nfs4_close_prepare()
3738 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_close()
4158 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral()
4279 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs4_proc_setattr()
4300 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_lookup()
4367 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4380 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4426 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_lookupp()
4445 if (NFS_SERVER(inode)->flags & NFS_MOUNT_SOFTREVAL) in _nfs4_proc_lookupp()
4469 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_lookupp()
4477 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_access()
4518 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_access()
4562 …return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq… in _nfs4_proc_readlink()
4575 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_readlink()
4588 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_create()
4616 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_remove()
4662 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_remove()
4678 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_rmdir()
4746 nfs4_setup_sequence(NFS_SERVER(data->old_dir)->nfs_client, in nfs4_proc_rename_rpc_prepare()
4784 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_link()
4841 err = nfs4_handle_exception(NFS_SERVER(inode), in nfs4_proc_link()
4864 struct nfs_server *server = NFS_SERVER(dir); in nfs4_alloc_createdata()
4894 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_create()
4957 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_symlink()
4986 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_mkdir()
5000 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_mkdir()
5012 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_readdir()
5061 err = nfs4_handle_exception(NFS_SERVER(d_inode(arg->dentry)), in nfs4_proc_readdir()
5105 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_mknod()
5119 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_mknod()
5296 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_read_done_cb()
5335 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_read_plus_not_supported()
5393 if (nfs4_setup_sequence(NFS_SERVER(hdr->inode)->nfs_client, in nfs4_proc_pgio_rpc_prepare()
5420 NFS_SERVER(inode), task->tk_status, in nfs4_write_done_cb()
5428 renew_lease(NFS_SERVER(inode), hdr->timestamp); in nfs4_write_done_cb()
5509 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_proc_write_setup()
5533 nfs4_setup_sequence(NFS_SERVER(data->inode)->nfs_client, in nfs4_proc_commit_rpc_prepare()
5544 if (nfs4_async_handle_error(task, NFS_SERVER(inode), in nfs4_commit_done_cb()
5562 struct nfs_server *server = NFS_SERVER(data->inode); in nfs4_proc_commit_setup()
5576 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5594 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs4_proc_commit()
5833 struct nfs_server *server = NFS_SERVER(inode); in __nfs4_get_acl_uncached()
5860 ret = nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), in __nfs4_get_acl_uncached()
5904 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5911 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_get_acl()
5931 struct nfs_server *server = NFS_SERVER(inode); in __nfs4_proc_set_acl()
5996 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_set_acl()
6006 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_get_security_label()
6051 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_get_security_label()
6064 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_do_set_security_label()
6106 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_do_set_security_label()
6129 olabel = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs4_set_security_label()
6544 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_delegreturn()
6616 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_delegreturn()
6636 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_getlk()
6685 err = nfs4_handle_exception(NFS_SERVER(state->inode), err, in nfs4_proc_getlk()
6760 p->server = NFS_SERVER(inode); in nfs4_alloc_unlockdata()
6873 NFS_SERVER(lsp->ls_state->inode)->nfs_client; in nfs4_do_unlck()
6878 nfs4_state_protect(NFS_SERVER(lsp->ls_state->inode)->nfs_client, in nfs4_do_unlck()
6933 alloc_seqid = NFS_SERVER(inode)->nfs_client->cl_mvops->alloc_seqid; in nfs4_proc_unlck()
6968 struct nfs_server *server = NFS_SERVER(inode); in nfs4_alloc_lockdata()
7056 renew_lease(NFS_SERVER(d_inode(data->ctx->dentry)), in nfs4_lock_done()
7151 struct nfs_client *client = NFS_SERVER(state->inode)->nfs_client; in _nfs4_do_setlk()
7193 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_reclaim()
7213 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_expired()
7303 err = nfs4_handle_exception(NFS_SERVER(state->inode), in nfs4_proc_setlk()
7366 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_retry_setlk()
7502 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_delegation_recall()
7617 return nfs4_server_supports_acls(NFS_SERVER(d_inode(dentry))); in nfs4_xattr_list_nfs4_acl()
7822 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_fs_locations()
7847 if (NFS_SERVER(dir)->attr_bitmask[1] & FATTR4_WORD1_MOUNTED_ON_FILEID) in _nfs4_proc_fs_locations()
7873 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_fs_locations()
7890 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_get_locations()
7947 struct nfs_server *server = NFS_SERVER(inode); in _nfs41_proc_get_locations()
8006 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_get_locations()
8039 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_fsid_present()
8040 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in _nfs40_proc_fsid_present()
8085 struct nfs_server *server = NFS_SERVER(inode); in _nfs41_proc_fsid_present()
8132 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_fsid_present()
8166 struct rpc_clnt *clnt = NFS_SERVER(dir)->client; in _nfs4_proc_secinfo()
8167 struct nfs_client *clp = NFS_SERVER(dir)->nfs_client; in _nfs4_proc_secinfo()
8181 .seq_server = NFS_SERVER(dir), in _nfs4_proc_secinfo()
8225 if (_nfs4_is_integrity_protected(NFS_SERVER(dir)->nfs_client)) in nfs4_proc_secinfo()
8238 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_secinfo()
9424 struct nfs_server *server = NFS_SERVER(lgp->args.inode); in nfs4_layoutget_prepare()
9446 struct nfs_server *server = NFS_SERVER(inode); in nfs4_layoutget_handle_exception()
9557 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_layoutget()
9645 server = NFS_SERVER(lrp->args.inode); in nfs4_layoutreturn_done()
9705 .rpc_client = NFS_SERVER(lrp->args.inode)->client, in nfs4_proc_layoutreturn()
9713 nfs4_state_protect(NFS_SERVER(lrp->args.inode)->nfs_client, in nfs4_proc_layoutreturn()
9797 struct nfs_server *server = NFS_SERVER(data->args.inode); in nfs4_layoutcommit_prepare()
9809 struct nfs_server *server = NFS_SERVER(data->args.inode); in nfs4_layoutcommit_done()