Lines Matching refs:error
98 int error = vfs_stat(filename, &stat); in COMPAT_SYSCALL_DEFINE2() local
100 if (!error) in COMPAT_SYSCALL_DEFINE2()
101 error = cp_compat_stat64(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
102 return error; in COMPAT_SYSCALL_DEFINE2()
109 int error = vfs_lstat(filename, &stat); in COMPAT_SYSCALL_DEFINE2() local
111 if (!error) in COMPAT_SYSCALL_DEFINE2()
112 error = cp_compat_stat64(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
113 return error; in COMPAT_SYSCALL_DEFINE2()
120 int error = vfs_fstat(fd, &stat); in COMPAT_SYSCALL_DEFINE2() local
122 if (!error) in COMPAT_SYSCALL_DEFINE2()
123 error = cp_compat_stat64(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
124 return error; in COMPAT_SYSCALL_DEFINE2()
132 int error; in COMPAT_SYSCALL_DEFINE4() local
134 error = vfs_fstatat(dfd, filename, &stat, flag); in COMPAT_SYSCALL_DEFINE4()
135 if (error) in COMPAT_SYSCALL_DEFINE4()
136 return error; in COMPAT_SYSCALL_DEFINE4()