Lines Matching refs:NFS_SERVER

1222 	struct nfs_server *server = NFS_SERVER(dir);  in nfs4_opendata_alloc()
1578 if (!nfs4_has_session(NFS_SERVER(state->inode)->nfs_client)) in nfs_set_open_stateid_locked()
1669 struct nfs_server *server = NFS_SERVER(state->inode); in update_open_stateid()
1802 struct nfs_client *clp = NFS_SERVER(state->inode)->nfs_client; in nfs4_opendata_check_deleg()
2076 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_reclaim()
2161 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_open_delegation_recall()
2243 struct nfs_server *server = NFS_SERVER(d_inode(data->dir)); in _nfs4_proc_open_confirm()
2406 struct nfs_server *server = NFS_SERVER(dir); in nfs4_run_open_task()
2462 nfs_fattr_map_and_free_names(NFS_SERVER(dir), &data->f_attr); in _nfs4_recover_proc_open()
2523 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_open()
2593 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_open_expired()
2689 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_delegation_stateid()
2739 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_expired_locks()
2789 struct nfs_server *server = NFS_SERVER(state->inode); in nfs41_check_open_stateid()
2952 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_do_open()
3062 struct nfs_server *server = NFS_SERVER(dir); in nfs4_do_open()
3095 NFS_SERVER(dir)->nfs_client->cl_hostname); in nfs4_do_open()
3133 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_do_setattr()
3189 struct nfs_server *server = NFS_SERVER(inode); in nfs4_do_setattr()
3284 struct nfs_server *server = NFS_SERVER(calldata->inode); in nfs4_close_done()
3439 calldata->arg.bitmask = NFS_SERVER(inode)->cache_consistency_bitmask; in nfs4_close_prepare()
3445 nfs4_map_atomic_open_share(NFS_SERVER(inode), in nfs4_close_prepare()
3453 if (nfs4_setup_sequence(NFS_SERVER(inode)->nfs_client, in nfs4_close_prepare()
3485 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_do_close()
3903 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral()
4013 label = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs4_proc_setattr()
4034 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_lookup()
4088 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4101 err = nfs4_handle_exception(NFS_SERVER(dir), err, &exception); in nfs4_proc_lookup_common()
4147 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_lookupp()
4184 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_lookupp()
4192 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_access()
4232 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_access()
4276 …return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq… in _nfs4_proc_readlink()
4287 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_readlink()
4300 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_create()
4328 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_remove()
4371 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_remove()
4385 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_rmdir()
4452 nfs4_setup_sequence(NFS_SERVER(data->old_dir)->nfs_client, in nfs4_proc_rename_rpc_prepare()
4488 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_link()
4541 err = nfs4_handle_exception(NFS_SERVER(inode), in nfs4_proc_link()
4564 struct nfs_server *server = NFS_SERVER(dir); in nfs4_alloc_createdata()
4594 int status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &data->msg, in nfs4_do_create()
4654 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_symlink()
4683 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_mkdir()
4695 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_mkdir()
4707 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_readdir()
4756 err = nfs4_handle_exception(NFS_SERVER(d_inode(dentry)), err, in nfs4_proc_readdir()
4800 struct nfs_server *server = NFS_SERVER(dir); in nfs4_proc_mknod()
4812 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_mknod()
4986 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_read_done_cb()
5050 if (nfs4_setup_sequence(NFS_SERVER(hdr->inode)->nfs_client, in nfs4_proc_pgio_rpc_prepare()
5077 NFS_SERVER(inode), task->tk_status, in nfs4_write_done_cb()
5085 renew_lease(NFS_SERVER(inode), hdr->timestamp); in nfs4_write_done_cb()
5131 struct nfs_server *server = NFS_SERVER(hdr->inode); in nfs4_proc_write_setup()
5151 nfs4_setup_sequence(NFS_SERVER(data->inode)->nfs_client, in nfs4_proc_commit_rpc_prepare()
5162 if (nfs4_async_handle_error(task, NFS_SERVER(inode), in nfs4_commit_done_cb()
5180 struct nfs_server *server = NFS_SERVER(data->inode); in nfs4_proc_commit_setup()
5194 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5212 struct nfs_server *dst_server = NFS_SERVER(file_inode(dst)); in nfs4_proc_commit()
5471 ret = nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), in __nfs4_get_acl_uncached()
5512 ret = nfs4_handle_exception(NFS_SERVER(inode), ret, &exception); in nfs4_get_acl_uncached()
5519 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_get_acl()
5539 struct nfs_server *server = NFS_SERVER(inode); in __nfs4_proc_set_acl()
5604 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_proc_set_acl()
5614 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_get_security_label()
5657 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_get_security_label()
5670 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_do_set_security_label()
5712 err = nfs4_handle_exception(NFS_SERVER(inode), err, in nfs4_do_set_security_label()
5740 olabel = nfs4_label_alloc(NFS_SERVER(inode), GFP_KERNEL); in nfs4_set_security_label()
6172 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_delegreturn()
6243 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_delegreturn()
6263 struct nfs_server *server = NFS_SERVER(inode); in _nfs4_proc_getlk()
6310 err = nfs4_handle_exception(NFS_SERVER(state->inode), err, in nfs4_proc_getlk()
6348 p->server = NFS_SERVER(inode); in nfs4_alloc_unlockdata()
6455 nfs4_state_protect(NFS_SERVER(lsp->ls_state->inode)->nfs_client, in nfs4_do_unlck()
6510 alloc_seqid = NFS_SERVER(inode)->nfs_client->cl_mvops->alloc_seqid; in nfs4_proc_unlck()
6545 struct nfs_server *server = NFS_SERVER(inode); in nfs4_alloc_lockdata()
6624 struct nfs_server *server = NFS_SERVER(d_inode(data->ctx->dentry)); in nfs4_lock_done()
6768 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_reclaim()
6788 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_expired()
6877 err = nfs4_handle_exception(NFS_SERVER(state->inode), in nfs4_proc_setlk()
6947 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_retry_setlk()
7047 struct nfs_server *server = NFS_SERVER(state->inode); in nfs4_lock_delegation_recall()
7161 return nfs4_server_supports_acls(NFS_SERVER(d_inode(dentry))); in nfs4_xattr_list_nfs4_acl()
7237 struct nfs_server *server = NFS_SERVER(dir); in _nfs4_proc_fs_locations()
7262 if (NFS_SERVER(dir)->attr_bitmask[1] & FATTR4_WORD1_MOUNTED_ON_FILEID) in _nfs4_proc_fs_locations()
7286 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_fs_locations()
7303 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_get_locations()
7360 struct nfs_server *server = NFS_SERVER(inode); in _nfs41_proc_get_locations()
7419 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_get_locations()
7450 struct nfs_server *server = NFS_SERVER(inode); in _nfs40_proc_fsid_present()
7451 struct nfs_client *clp = NFS_SERVER(inode)->nfs_client; in _nfs40_proc_fsid_present()
7496 struct nfs_server *server = NFS_SERVER(inode); in _nfs41_proc_fsid_present()
7543 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_fsid_present()
7587 struct rpc_clnt *clnt = NFS_SERVER(dir)->client; in _nfs4_proc_secinfo()
7591 clnt = NFS_SERVER(dir)->nfs_client->cl_rpcclient; in _nfs4_proc_secinfo()
7592 cred = nfs4_get_clid_cred(NFS_SERVER(dir)->nfs_client); in _nfs4_proc_secinfo()
7598 nfs4_state_protect(NFS_SERVER(dir)->nfs_client, in _nfs4_proc_secinfo()
7601 status = nfs4_call_sync(clnt, NFS_SERVER(dir), &msg, &args.seq_args, in _nfs4_proc_secinfo()
7620 if (_nfs4_is_integrity_protected(NFS_SERVER(dir)->nfs_client)) in nfs4_proc_secinfo()
7633 err = nfs4_handle_exception(NFS_SERVER(dir), err, in nfs4_proc_secinfo()
8811 struct nfs_server *server = NFS_SERVER(lgp->args.inode); in nfs4_layoutget_prepare()
8833 struct nfs_server *server = NFS_SERVER(inode); in nfs4_layoutget_handle_exception()
8945 struct nfs_server *server = NFS_SERVER(inode); in nfs4_proc_layoutget()
9025 server = NFS_SERVER(lrp->args.inode); in nfs4_layoutreturn_done()
9084 .rpc_client = NFS_SERVER(lrp->args.inode)->client, in nfs4_proc_layoutreturn()
9091 nfs4_state_protect(NFS_SERVER(lrp->args.inode)->nfs_client, in nfs4_proc_layoutreturn()
9173 struct nfs_server *server = NFS_SERVER(data->args.inode); in nfs4_layoutcommit_prepare()
9185 struct nfs_server *server = NFS_SERVER(data->args.inode); in nfs4_layoutcommit_done()