• Home
  • Raw
  • Download

Lines Matching refs:status

69 	int	status;  in do_proc_get_root()  local
73 status = rpc_call_sync(client, &msg, 0); in do_proc_get_root()
74 dprintk("%s: reply fsinfo: %d\n", __func__, status); in do_proc_get_root()
75 if (status == 0 && !(info->fattr->valid & NFS_ATTR_FATTR)) { in do_proc_get_root()
78 status = rpc_call_sync(client, &msg, 0); in do_proc_get_root()
79 dprintk("%s: reply getattr: %d\n", __func__, status); in do_proc_get_root()
81 return status; in do_proc_get_root()
91 int status; in nfs3_proc_get_root() local
93 status = do_proc_get_root(server->client, fhandle, info); in nfs3_proc_get_root()
94 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs3_proc_get_root()
95 status = do_proc_get_root(server->nfs_client->cl_rpcclient, fhandle, info); in nfs3_proc_get_root()
96 return status; in nfs3_proc_get_root()
112 int status; in nfs3_proc_getattr() local
116 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_getattr()
117 dprintk("NFS reply getattr: %d\n", status); in nfs3_proc_getattr()
118 return status; in nfs3_proc_getattr()
135 int status; in nfs3_proc_setattr() local
141 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_setattr()
142 if (status == 0) { in nfs3_proc_setattr()
147 dprintk("NFS reply setattr: %d\n", status); in nfs3_proc_setattr()
148 return status; in nfs3_proc_setattr()
170 int status; in nfs3_proc_lookup() local
178 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_lookup()
180 if (status >= 0 && !(fattr->valid & NFS_ATTR_FATTR)) { in nfs3_proc_lookup()
184 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_lookup()
187 dprintk("NFS reply lookup: %d\n", status); in nfs3_proc_lookup()
188 return status; in nfs3_proc_lookup()
204 int status = -ENOMEM; in nfs3_proc_access() local
211 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_access()
213 if (status == 0) in nfs3_proc_access()
217 dprintk("NFS reply access: %d\n", status); in nfs3_proc_access()
218 return status; in nfs3_proc_access()
235 int status = -ENOMEM; in nfs3_proc_readlink() local
243 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_readlink()
247 dprintk("NFS reply readlink: %d\n", status); in nfs3_proc_readlink()
248 return status; in nfs3_proc_readlink()
285 int status; in nfs3_do_create() local
287 status = rpc_call_sync(NFS_CLIENT(dir), &data->msg, 0); in nfs3_do_create()
289 if (status != 0) in nfs3_do_create()
290 return ERR_PTR(status); in nfs3_do_create()
310 int status = -ENOMEM; in nfs3_proc_create() local
331 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_create()
332 if (status) in nfs3_proc_create()
337 status = PTR_ERR_OR_ZERO(d_alias); in nfs3_proc_create()
339 if (status != -ENOTSUPP) in nfs3_proc_create()
359 if (status != 0) in nfs3_proc_create()
378 status = nfs3_proc_setattr(dentry, data->res.fattr, sattr); in nfs3_proc_create()
380 dprintk("NFS reply setattr (post-create): %d\n", status); in nfs3_proc_create()
381 if (status != 0) in nfs3_proc_create()
385 status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl); in nfs3_proc_create()
394 dprintk("NFS reply create: %d\n", status); in nfs3_proc_create()
395 return status; in nfs3_proc_create()
411 int status = -ENOMEM; in nfs3_proc_remove() local
418 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_remove()
422 dprintk("NFS reply remove: %d\n", status); in nfs3_proc_remove()
423 return status; in nfs3_proc_remove()
493 int status = -ENOMEM; in nfs3_proc_link() local
501 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs3_proc_link()
507 dprintk("NFS reply link: %d\n", status); in nfs3_proc_link()
508 return status; in nfs3_proc_link()
517 int status = -ENOMEM; in nfs3_proc_symlink() local
536 status = PTR_ERR_OR_ZERO(d_alias); in nfs3_proc_symlink()
538 if (status == 0) in nfs3_proc_symlink()
543 dprintk("NFS reply symlink: %d\n", status); in nfs3_proc_symlink()
544 return status; in nfs3_proc_symlink()
553 int status = -ENOMEM; in nfs3_proc_mkdir() local
561 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mkdir()
562 if (status) in nfs3_proc_mkdir()
572 status = PTR_ERR_OR_ZERO(d_alias); in nfs3_proc_mkdir()
574 if (status != 0) in nfs3_proc_mkdir()
580 status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl); in nfs3_proc_mkdir()
588 dprintk("NFS reply mkdir: %d\n", status); in nfs3_proc_mkdir()
589 return status; in nfs3_proc_mkdir()
605 int status = -ENOMEM; in nfs3_proc_rmdir() local
613 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_rmdir()
617 dprintk("NFS reply rmdir: %d\n", status); in nfs3_proc_rmdir()
618 return status; in nfs3_proc_rmdir()
654 int status = -ENOMEM; in nfs3_proc_readdir() local
666 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs3_proc_readdir()
674 plus? "plus" : "", status); in nfs3_proc_readdir()
675 return status; in nfs3_proc_readdir()
685 int status = -ENOMEM; in nfs3_proc_mknod() local
694 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); in nfs3_proc_mknod()
695 if (status) in nfs3_proc_mknod()
719 status = -EINVAL; in nfs3_proc_mknod()
724 status = PTR_ERR_OR_ZERO(d_alias); in nfs3_proc_mknod()
725 if (status != 0) in nfs3_proc_mknod()
731 status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl); in nfs3_proc_mknod()
739 dprintk("NFS reply mknod: %d\n", status); in nfs3_proc_mknod()
740 return status; in nfs3_proc_mknod()
752 int status; in nfs3_proc_statfs() local
756 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_statfs()
757 dprintk("NFS reply fsstat: %d\n", status); in nfs3_proc_statfs()
758 return status; in nfs3_proc_statfs()
770 int status; in do_proc_fsinfo() local
774 status = rpc_call_sync(client, &msg, 0); in do_proc_fsinfo()
775 dprintk("NFS reply fsinfo: %d\n", status); in do_proc_fsinfo()
776 return status; in do_proc_fsinfo()
787 int status; in nfs3_proc_fsinfo() local
789 status = do_proc_fsinfo(server->client, fhandle, info); in nfs3_proc_fsinfo()
790 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs3_proc_fsinfo()
791 status = do_proc_fsinfo(server->nfs_client->cl_rpcclient, fhandle, info); in nfs3_proc_fsinfo()
792 return status; in nfs3_proc_fsinfo()
804 int status; in nfs3_proc_pathconf() local
808 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_pathconf()
809 dprintk("NFS reply pathconf: %d\n", status); in nfs3_proc_pathconf()
810 return status; in nfs3_proc_pathconf()
930 int status; in nfs3_proc_lock() local
940 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx); in nfs3_proc_lock()
945 return status; in nfs3_proc_lock()