Lines Matching refs:retval
19 long retval; in do_sys_name_to_handle() local
47 retval = exportfs_encode_fh(path->dentry, in do_sys_name_to_handle()
50 handle->handle_type = retval; in do_sys_name_to_handle()
55 (retval == FILEID_INVALID) || (retval == -ENOSPC)) { in do_sys_name_to_handle()
66 retval = -EOVERFLOW; in do_sys_name_to_handle()
68 retval = 0; in do_sys_name_to_handle()
74 retval = -EFAULT; in do_sys_name_to_handle()
76 return retval; in do_sys_name_to_handle()
141 int retval = 0; in do_handle_to_path() local
146 retval = PTR_ERR(path->mnt); in do_handle_to_path()
156 retval = PTR_ERR(path->dentry); in do_handle_to_path()
163 return retval; in do_handle_to_path()
169 int retval = 0; in handle_to_path() local
179 retval = -EPERM; in handle_to_path()
183 retval = -EFAULT; in handle_to_path()
188 retval = -EINVAL; in handle_to_path()
194 retval = -ENOMEM; in handle_to_path()
202 retval = -EFAULT; in handle_to_path()
206 retval = do_handle_to_path(mountdirfd, handle, path); in handle_to_path()
211 return retval; in handle_to_path()
217 long retval = 0; in do_handle_open() local
222 retval = handle_to_path(mountdirfd, ufh, &path); in do_handle_open()
223 if (retval) in do_handle_open()
224 return retval; in do_handle_open()
234 retval = PTR_ERR(file); in do_handle_open()
236 retval = fd; in do_handle_open()
241 return retval; in do_handle_open()