Lines Matching refs:retval
21 long retval; in do_sys_name_to_handle() local
49 retval = exportfs_encode_fh(path->dentry, in do_sys_name_to_handle()
52 handle->handle_type = retval; in do_sys_name_to_handle()
57 (retval == FILEID_INVALID) || (retval == -ENOSPC)) { in do_sys_name_to_handle()
68 retval = -EOVERFLOW; in do_sys_name_to_handle()
70 retval = 0; in do_sys_name_to_handle()
75 retval = -EFAULT; in do_sys_name_to_handle()
77 return retval; in do_sys_name_to_handle()
142 int retval = 0; in do_handle_to_path() local
147 retval = PTR_ERR(path->mnt); in do_handle_to_path()
157 retval = PTR_ERR(path->dentry); in do_handle_to_path()
164 return retval; in do_handle_to_path()
170 int retval = 0; in handle_to_path() local
180 retval = -EPERM; in handle_to_path()
184 retval = -EFAULT; in handle_to_path()
189 retval = -EINVAL; in handle_to_path()
195 retval = -ENOMEM; in handle_to_path()
203 retval = -EFAULT; in handle_to_path()
207 retval = do_handle_to_path(mountdirfd, handle, path); in handle_to_path()
212 return retval; in handle_to_path()
218 long retval = 0; in do_handle_open() local
223 retval = handle_to_path(mountdirfd, ufh, &path); in do_handle_open()
224 if (retval) in do_handle_open()
225 return retval; in do_handle_open()
235 retval = PTR_ERR(file); in do_handle_open()
237 retval = fd; in do_handle_open()
242 return retval; in do_handle_open()