Lines Matching refs:status
64 int status; in nfs_proc_get_root() local
68 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_get_root()
70 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs_proc_get_root()
71 status = rpc_call_sync(server->nfs_client->cl_rpcclient, &msg, 0); in nfs_proc_get_root()
72 dprintk("%s: reply getattr: %d\n", __func__, status); in nfs_proc_get_root()
73 if (status) in nfs_proc_get_root()
74 return status; in nfs_proc_get_root()
78 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_get_root()
80 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs_proc_get_root()
81 status = rpc_call_sync(server->nfs_client->cl_rpcclient, &msg, 0); in nfs_proc_get_root()
82 dprintk("%s: reply statfs: %d\n", __func__, status); in nfs_proc_get_root()
83 if (status) in nfs_proc_get_root()
84 return status; in nfs_proc_get_root()
110 int status; in nfs_proc_getattr() local
114 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_getattr()
115 dprintk("NFS reply getattr: %d\n", status); in nfs_proc_getattr()
116 return status; in nfs_proc_getattr()
133 int status; in nfs_proc_setattr() local
142 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs_proc_setattr()
143 if (status == 0) in nfs_proc_setattr()
145 dprintk("NFS reply setattr: %d\n", status); in nfs_proc_setattr()
146 return status; in nfs_proc_setattr()
168 int status; in nfs_proc_lookup() local
172 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_lookup()
173 dprintk("NFS reply lookup: %d\n", status); in nfs_proc_lookup()
174 return status; in nfs_proc_lookup()
190 int status; in nfs_proc_readlink() local
193 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs_proc_readlink()
194 dprintk("NFS reply readlink: %d\n", status); in nfs_proc_readlink()
195 return status; in nfs_proc_readlink()
238 int status = -ENOMEM; in nfs_proc_create() local
246 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_create()
248 if (status == 0) in nfs_proc_create()
249 status = nfs_instantiate(dentry, data->res.fh, data->res.fattr, NULL); in nfs_proc_create()
252 dprintk("NFS reply create: %d\n", status); in nfs_proc_create()
253 return status; in nfs_proc_create()
268 int status = -ENOMEM; in nfs_proc_mknod() local
287 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mknod()
290 if (status == -EINVAL && S_ISFIFO(mode)) { in nfs_proc_mknod()
293 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mknod()
295 if (status == 0) in nfs_proc_mknod()
296 status = nfs_instantiate(dentry, data->res.fh, data->res.fattr, NULL); in nfs_proc_mknod()
299 dprintk("NFS reply mknod: %d\n", status); in nfs_proc_mknod()
300 return status; in nfs_proc_mknod()
314 int status; in nfs_proc_remove() local
317 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_remove()
320 dprintk("NFS reply remove: %d\n", status); in nfs_proc_remove()
321 return status; in nfs_proc_remove()
378 int status; in nfs_proc_link() local
381 status = rpc_call_sync(NFS_CLIENT(inode), &msg, 0); in nfs_proc_link()
384 dprintk("NFS reply link: %d\n", status); in nfs_proc_link()
385 return status; in nfs_proc_link()
406 int status = -ENAMETOOLONG; in nfs_proc_symlink() local
415 status = -ENOMEM; in nfs_proc_symlink()
419 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_symlink()
427 if (status == 0) in nfs_proc_symlink()
428 status = nfs_instantiate(dentry, fh, fattr, NULL); in nfs_proc_symlink()
434 dprintk("NFS reply symlink: %d\n", status); in nfs_proc_symlink()
435 return status; in nfs_proc_symlink()
445 int status = -ENOMEM; in nfs_proc_mkdir() local
454 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_mkdir()
456 if (status == 0) in nfs_proc_mkdir()
457 status = nfs_instantiate(dentry, data->res.fh, data->res.fattr, NULL); in nfs_proc_mkdir()
460 dprintk("NFS reply mkdir: %d\n", status); in nfs_proc_mkdir()
461 return status; in nfs_proc_mkdir()
476 int status; in nfs_proc_rmdir() local
479 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_rmdir()
481 dprintk("NFS reply rmdir: %d\n", status); in nfs_proc_rmdir()
482 return status; in nfs_proc_rmdir()
508 int status; in nfs_proc_readdir() local
511 status = rpc_call_sync(NFS_CLIENT(dir), &msg, 0); in nfs_proc_readdir()
515 dprintk("NFS reply readdir: %d\n", status); in nfs_proc_readdir()
516 return status; in nfs_proc_readdir()
529 int status; in nfs_proc_statfs() local
533 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_statfs()
534 dprintk("NFS reply statfs: %d\n", status); in nfs_proc_statfs()
535 if (status) in nfs_proc_statfs()
544 return status; in nfs_proc_statfs()
557 int status; in nfs_proc_fsinfo() local
561 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_fsinfo()
562 dprintk("NFS reply fsinfo: %d\n", status); in nfs_proc_fsinfo()
563 if (status) in nfs_proc_fsinfo()
575 return status; in nfs_proc_fsinfo()