Home
last modified time | relevance | path

Searched refs:fstat (Results 1 – 25 of 46) sorted by relevance

12

/qemu/tests/tcg/cris/libc/
H A Dcheck_mmap1.c29 if (fstat (fd, &sb) < 0) in main()
H A Dcheck_mmap2.c29 if (fstat (fd, &sb) < 0) in main()
/qemu/util/
H A Dchardev_open.c52 if (fstat(fd, &st) || !S_ISCHR(st.st_mode) || in open_cdev_internal()
H A Ddrm.c58 ret = fstat(r, &st); in qemu_drm_rendernode_open()
H A Doslib-posix.c137 if (fstat(fd, &b) < 0) { in qemu_write_pidfile()
/qemu/hw/xen/
H A Dxen_pt_load_rom.c45 if (fstat(fileno(fp), &st) == -1) { in pci_assign_dev_load_option_rom()
/qemu/fsdev/
H A Dfile-op-9p.h152 int (*fstat)(FsContext *, int, V9fsFidOpenState *, struct stat *); member
/qemu/hw/9pfs/
H A D9p-util.h100 #define qemu_fstat fstat
H A Dcofile.c80 err = s->ops->fstat(&s->ctx, fidp->fid_type, &fidp->fs, stbuf); in v9fs_co_fstat()
H A D9p-local.c388 ret = fstat(fd, &stbuf); in fchmodat_nofollow()
780 err = fstat(fd, stbuf); in local_fstat()
1594 .fstat = local_fstat,
H A D9p-proxy.c839 return fstat(fd, stbuf); in proxy_fstat()
1261 .fstat = proxy_fstat,
/qemu/net/
H A Dtap-bsd.c82 if (fstat(fd, &s) < 0) { in tap_open()
/qemu/bsd-user/
H A Dbsdload.c54 if (fstat(bprm->fd, &st) < 0) { in prepare_binprm()
H A Dmmap.c487 if (fstat(fd, &sb) == -1) { in target_mmap()
/qemu/contrib/elf2dmp/
H A Dqemu_elf.c201 if (fstat(fd, &st)) { in QEMU_Elf_map()
/qemu/block/
H A Dfile-posix.c492 if (fstat(fd, &st)) { in check_hdev_writable()
742 if (fstat(s->fd, &st) < 0) { in raw_open_common()
1493 if (fstat(s->fd, &st)) { in raw_refresh_limits()
2284 if (fstat(fd, &st) < 0) { in handle_aiocb_truncate()
2653 if (fstat(s->fd, &st)) { in raw_co_truncate()
2695 if (fstat(fd, &st)) in raw_getlength()
2714 if (fstat(fd, &st)) in raw_getlength()
2782 if (!fstat(fd, &sb) && (S_IFCHR & sb.st_mode)) { in raw_getlength()
2865 if (fstat(s->fd, &st) < 0) { in raw_co_get_allocated_file_size()
4334 ret = fstat(fd, &st); in cdrom_probe_device()
/qemu/linux-user/
H A Dlinuxload.c42 if (fstat(bprm->src.fd, &st) < 0) { in prepare_binprm()
/qemu/linux-user/mips/
H A Dsyscall-args-o32.c.inc109 [ 108] = 2, /* fstat */
/qemu/bsd-user/freebsd/
H A Dos-stat.h28 __sym_compat(fstat, freebsd11_fstat, FBSD_1.0);
108 ret = get_errno(fstat(arg1, &st)); in do_freebsd_fstat()
/qemu/contrib/ivshmem-server/
H A Divshmem-server.c238 if (fstat(fd, &mapstat) != -1 && mapstat.st_size == shmsize) { in ivshmem_server_ftruncate()
/qemu/semihosting/
H A Dsyscalls.c388 if (fstat(gf->hostfd, &buf) < 0) { in host_flen()
401 ret = fstat(gf->hostfd, &buf); in host_fstat()
/qemu/tests/tcg/multiarch/linux/
H A Dlinux-test.c169 chk_error(fstat(fd, &st)); in test_file()
/qemu/bsd-user/openbsd/
H A Dstrace.list38 { TARGET_OPENBSD_NR_fstat, "fstat", "%s(%d,%p)", NULL, NULL },
/qemu/linux-user/mips64/
H A Dsyscall_n32.tbl15 5 n32 fstat sys_newfstat
H A Dsyscall_n64.tbl15 5 n64 fstat sys_newfstat

12