Home
last modified time | relevance | path

Searched refs:nfserrno (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/fs/nfsd/
Dvfs.c60 nfserrno (int errno) in nfserrno() function
287 return nfserrno(host_err); in nfsd_lookup_dentry()
412 return nfserrno(get_write_access(inode)); in nfsd_get_write_access()
573 return nfserrno(host_err); in nfsd_setattr()
625 ret = nfserrno(cloned); in nfsd4_clone_file_range()
629 ret = nfserrno(-EINVAL); in nfsd4_clone_file_range()
652 ret = nfserrno(status); in nfsd4_clone_file_range()
694 return nfserrno(error); in nfsd4_vfs_fallocate()
909 err = nfserrno(host_err); in nfsd_open()
996 return nfserrno(host_err); in nfsd_finish_read()
[all …]
Dblocklayout.c110 return nfserrno(error); in nfsd4_block_proc_layoutget()
138 return nfserrno(error); in nfsd4_block_commit_blocks()
172 return nfserrno(nfsd4_block_get_device_info_simple(sb, gdp)); in nfsd4_block_proc_getdeviceinfo()
185 return nfserrno(nr_iomaps); in nfsd4_block_proc_layoutcommit()
312 return nfserrno(nfsd4_block_get_device_info_scsi(sb, clp, gdp)); in nfsd4_scsi_proc_getdeviceinfo()
324 return nfserrno(nr_iomaps); in nfsd4_scsi_proc_layoutcommit()
Dnfs3acl.c56 resp->status = nfserrno(PTR_ERR(acl)); in nfsd3_proc_getacl()
66 resp->status = nfserrno(PTR_ERR(acl)); in nfsd3_proc_getacl()
117 resp->status = nfserrno(error); in nfsd3_proc_setacl()
Dflexfilelayout.c77 return nfserrno(error); in nfsd4_ff_proc_layoutget()
91 return nfserrno(-ENOMEM); in nfsd4_ff_proc_getdeviceinfo()
Dnfs2acl.c64 resp->status = nfserrno(PTR_ERR(acl)); in nfsacld_proc_getacl()
74 resp->status = nfserrno(PTR_ERR(acl)); in nfsacld_proc_getacl()
142 resp->status = nfserrno(error); in nfsacld_proc_setacl()
Dvfs.h63 __be32 nfserrno (int errno);
179 return nfserrno(vfs_getattr(&p, stat, request_mask, in fh_getattr()
Dnfsfh.c116 return nfserrno(nfsd_setuser(rqstp, exp)); in nfsd_setuser_and_check_port()
208 return nfserrno(PTR_ERR(exp)); in nfsd_set_fh_dentry()
223 error = nfserrno(-ENOMEM); in nfsd_set_fh_dentry()
268 error = nfserrno(PTR_ERR(dentry)); in nfsd_set_fh_dentry()
Dnfs4proc.c218 return nfserrno(PTR_ERR(filp)); in nfsd4_vfs_create()
259 return nfserrno(host_err); in nfsd4_create_file()
268 status = nfserrno(PTR_ERR(child)); in nfsd4_create_file()
1154 return nfserrno(err); in nfsd4_setattr()
1171 status = nfserrno(attrs.na_labelerr); in nfsd4_setattr()
1173 status = nfserrno(attrs.na_aclerr); in nfsd4_setattr()
1682 status = nfserrno(bytes); in nfsd4_do_copy()
1821 status = nfserrno(-ENOMEM); in nfsd4_copy()
1863 status = nfserrno(-ENOMEM); in nfsd4_copy()
1935 status = nfserrno(-ENOMEM); in nfsd4_copy_notify()
[all …]
Dnfs3proc.c250 return nfserrno(host_err); in nfsd3_create_file()
256 status = nfserrno(PTR_ERR(child)); in nfsd3_create_file()
315 status = nfserrno(host_err); in nfsd3_create_file()
409 resp->status = nfserrno(PTR_ERR(argp->tname)); in nfsd3_proc_symlink()
Dnfsproc.c279 resp->status = nfserrno(hosterr); in nfsd_proc_create()
286 resp->status = nfserrno(PTR_ERR(dchild)); in nfsd_proc_create()
482 resp->status = nfserrno(PTR_ERR(argp->tname)); in nfsd_proc_symlink()
Dblocklayoutxdr.c102 return nfserrno(ret); in nfsd4_block_encode_getdeviceinfo()
Dnfs4idmap.c557 return nfserrno(ret); in idmap_name_to_id()
593 return nfserrno(ret); in idmap_id_to_name()
Dfilecache.c1065 status = nfserrno(nfsd_open_break_lease(file_inode(nf->nf_file), may_flags)); in nfsd_file_do_acquire()
1103 status = nfserrno(ret); in nfsd_file_do_acquire()
Dnfs4xdr.c2763 return nfserrno(PTR_ERR(exp_ps)); in nfsd4_encode_fsloc_fsroot()
3485 status = nfserrno(err); in nfsd4_encode_fattr()
3543 return nfserrno(PTR_ERR(dentry)); in nfsd4_encode_dirent_fattr()
3568 nfserr = nfserrno(err); in nfsd4_encode_dirent_fattr()
4083 nfserr = nfserrno(status); in nfsd4_encode_splice_read()
4216 nfserr = nfserrno(status); in nfsd4_encode_readlink()
Dnfs4acl.c795 return nfserrno(host_error); in nfsd4_acl_to_attr()
Dnfs4state.c5264 status = nfserrno(nfsd_open_break_lease(cur_fh->fh_dentry->d_inode, in nfs4_get_vfs_file()
7660 status = nfserrno(err); in nfsd4_lock()
7723 err = nfserrno(nfsd_open_break_lease(inode, NFSD_MAY_READ)); in nfsd_test_lock()
7727 err = nfserrno(vfs_test_lock(nf->nf_file, lock)); in nfsd_test_lock()
7878 status = nfserrno(err); in nfsd4_locku()
8458 status = nfserrno(nfsd_open_break_lease(inode, NFSD_MAY_READ)); in nfsd4_deleg_getattr_conflict()
Dexport.c1222 return nfserrno(PTR_ERR(exp)); in exp_pseudoroot()