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()
76 retval = -EFAULT; in do_sys_name_to_handle()
78 return retval; in do_sys_name_to_handle()
143 int retval = 0; in do_handle_to_path() local
148 retval = PTR_ERR(path->mnt); in do_handle_to_path()
158 retval = PTR_ERR(path->dentry); in do_handle_to_path()
165 return retval; in do_handle_to_path()
171 int retval = 0; in handle_to_path() local
181 retval = -EPERM; in handle_to_path()
185 retval = -EFAULT; in handle_to_path()
190 retval = -EINVAL; in handle_to_path()
196 retval = -ENOMEM; in handle_to_path()
204 retval = -EFAULT; in handle_to_path()
208 retval = do_handle_to_path(mountdirfd, handle, path); in handle_to_path()
213 return retval; in handle_to_path()
219 long retval = 0; in do_handle_open() local
224 retval = handle_to_path(mountdirfd, ufh, &path); in do_handle_open()
225 if (retval) in do_handle_open()
226 return retval; in do_handle_open()
236 retval = PTR_ERR(file); in do_handle_open()
238 retval = fd; in do_handle_open()
243 return retval; in do_handle_open()