• Home
  • Raw
  • Download

Lines Matching refs:status

83 	u32 status;  member
86 { .status = MNT_OK, .errno = 0, },
87 { .status = MNT_EPERM, .errno = -EPERM, },
88 { .status = MNT_ENOENT, .errno = -ENOENT, },
89 { .status = MNT_EACCES, .errno = -EACCES, },
90 { .status = MNT_EINVAL, .errno = -EINVAL, },
110 u32 status; member
113 { .status = MNT3_OK, .errno = 0, },
114 { .status = MNT3ERR_PERM, .errno = -EPERM, },
115 { .status = MNT3ERR_NOENT, .errno = -ENOENT, },
116 { .status = MNT3ERR_IO, .errno = -EIO, },
117 { .status = MNT3ERR_ACCES, .errno = -EACCES, },
118 { .status = MNT3ERR_NOTDIR, .errno = -ENOTDIR, },
119 { .status = MNT3ERR_INVAL, .errno = -EINVAL, },
120 { .status = MNT3ERR_NAMETOOLONG, .errno = -ENAMETOOLONG, },
121 { .status = MNT3ERR_NOTSUPP, .errno = -ENOTSUPP, },
122 { .status = MNT3ERR_SERVERFAULT, .errno = -EREMOTEIO, },
133 u32 status; member
169 int status; in nfs_mount() local
190 status = rpc_call_sync(mnt_clnt, &msg, RPC_TASK_SOFT|RPC_TASK_TIMEOUT); in nfs_mount()
193 if (status < 0) in nfs_mount()
199 status = 0; in nfs_mount()
211 return status; in nfs_mount()
214 status = PTR_ERR(mnt_clnt); in nfs_mount()
215 dprintk("NFS: failed to create MNT RPC client, status=%d\n", status); in nfs_mount()
219 dprintk("NFS: MNT request failed, status=%d\n", status); in nfs_mount()
224 status = result.errno; in nfs_mount()
259 int status; in nfs_umount() local
279 status = rpc_call_sync(clnt, &msg, 0); in nfs_umount()
282 if (unlikely(status < 0)) in nfs_umount()
293 dprintk("NFS: UMNT request failed, status=%d\n", status); in nfs_umount()
327 u32 status; in decode_status() local
333 status = be32_to_cpup(p); in decode_status()
336 if (mnt_errtbl[i].status == status) { in decode_status()
342 dprintk("NFS: unrecognized MNT status code: %u\n", status); in decode_status()
366 int status; in mnt_xdr_dec_mountres() local
368 status = decode_status(xdr, res); in mnt_xdr_dec_mountres()
369 if (unlikely(status != 0 || res->errno != 0)) in mnt_xdr_dec_mountres()
370 return status; in mnt_xdr_dec_mountres()
377 u32 status; in decode_fhs_status() local
383 status = be32_to_cpup(p); in decode_fhs_status()
386 if (mnt3_errtbl[i].status == status) { in decode_fhs_status()
392 dprintk("NFS: unrecognized MNT3 status code: %u\n", status); in decode_fhs_status()
459 int status; in mnt_xdr_dec_mountres3() local
461 status = decode_fhs_status(xdr, res); in mnt_xdr_dec_mountres3()
462 if (unlikely(status != 0 || res->errno != 0)) in mnt_xdr_dec_mountres3()
463 return status; in mnt_xdr_dec_mountres3()
464 status = decode_fhandle3(xdr, res); in mnt_xdr_dec_mountres3()
465 if (unlikely(status != 0)) { in mnt_xdr_dec_mountres3()