Lines Matching defs:target_errno
3167 fileio_error *target_errno)
3169 *target_errno = FILEIO_ENOSYS;
3175 ULONGEST offset, fileio_error *target_errno)
3177 *target_errno = FILEIO_ENOSYS;
3183 ULONGEST offset, fileio_error *target_errno)
3185 *target_errno = FILEIO_ENOSYS;
3190 target_ops::fileio_fstat (int fd, struct stat *sb, fileio_error *target_errno)
3192 *target_errno = FILEIO_ENOSYS;
3198 struct stat *sb, fileio_error *target_errno)
3200 *target_errno = FILEIO_ENOSYS;
3205 target_ops::fileio_close (int fd, fileio_error *target_errno)
3207 *target_errno = FILEIO_ENOSYS;
3213 fileio_error *target_errno)
3215 *target_errno = FILEIO_ENOSYS;
3221 fileio_error *target_errno)
3223 *target_errno = FILEIO_ENOSYS;
3231 int flags, int mode, bool warn_if_slow, fileio_error *target_errno)
3236 warn_if_slow, target_errno);
3238 if (fd == -1 && *target_errno == FILEIO_ENOSYS)
3248 warn_if_slow, fd, fd != -1 ? 0 : *target_errno);
3252 *target_errno = FILEIO_ENOSYS;
3260 ULONGEST offset, fileio_error *target_errno)
3266 *target_errno = FILEIO_EBADF;
3268 *target_errno = FILEIO_EIO;
3271 len, offset, target_errno);
3275 ret != -1 ? 0 : *target_errno);
3283 ULONGEST offset, fileio_error *target_errno)
3289 *target_errno = FILEIO_EBADF;
3291 *target_errno = FILEIO_EIO;
3294 len, offset, target_errno);
3297 pulongest (offset), ret, ret != -1 ? 0 : *target_errno);
3304 target_fileio_fstat (int fd, struct stat *sb, fileio_error *target_errno)
3310 *target_errno = FILEIO_EBADF;
3312 *target_errno = FILEIO_EIO;
3314 ret = fh->target->fileio_fstat (fh->target_fd, sb, target_errno);
3317 ret != -1 ? 0 : *target_errno);
3325 struct stat *sb, fileio_error *target_errno)
3329 int ret = t->fileio_stat (inf, filename, sb, target_errno);
3331 if (ret == -1 && *target_errno == FILEIO_ENOSYS)
3336 ret != -1 ? 0 : *target_errno);
3340 *target_errno = FILEIO_ENOSYS;
3347 target_fileio_close (int fd, fileio_error *target_errno)
3353 *target_errno = FILEIO_EBADF;
3358 target_errno);
3365 ret != -1 ? 0 : *target_errno);
3373 fileio_error *target_errno)
3377 int ret = t->fileio_unlink (inf, filename, target_errno);
3379 if (ret == -1 && *target_errno == FILEIO_ENOSYS)
3384 ret != -1 ? 0 : *target_errno);
3388 *target_errno = FILEIO_ENOSYS;
3396 fileio_error *target_errno)
3401 = t->fileio_readlink (inf, filename, target_errno);
3403 if (!ret.has_value () && *target_errno == FILEIO_ENOSYS)
3409 ret ? 0 : *target_errno);
3413 *target_errno = FILEIO_ENOSYS;
3431 fileio_error target_errno;
3433 target_fileio_close (m_fd, &target_errno);
3463 fileio_error target_errno;
3466 0700, false, &target_errno));
3479 &target_errno);