Searched refs:ftruncate (Results 1 – 25 of 51) sorted by relevance
123
/qemu/util/ |
H A D | memfd.c | 79 if (ftruncate(mfd, size) == -1) { in qemu_memfd_create() 128 ftruncate(mfd, size) == -1) { in qemu_memfd_alloc()
|
H A D | osdep.c | 159 if (ftruncate(ret, 0) == -1) { in qemu_dup_flags()
|
H A D | oslib-posix.c | 171 if (ftruncate(fd, 0) < 0) { in qemu_write_pidfile()
|
/qemu/include/sysemu/ |
H A D | os-win32.h | 144 #if !defined(ftruncate) 145 # define ftruncate qemu_ftruncate64 macro
|
/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-madvise.c | 45 ret = ftruncate(fd, pagesize); in test_file()
|
H A D | linux-test.c | 168 chk_error(ftruncate(fd, 50)); in test_file()
|
/qemu/tests/qtest/ |
H A D | npcm7xx_sdhci-test.c | 194 ret = ftruncate(fd, NPCM7XX_TEST_IMAGE_SIZE); in drive_create()
|
H A D | ivshmem-test.c | 469 g_assert(ftruncate(*fd, size) == 0); in mktempshm()
|
H A D | fdc-test.c | 612 ret = ftruncate(fd, TEST_IMAGE_SIZE); in main()
|
H A D | aspeed_smc-test.c | 621 ret = ftruncate(fd, FLASH_SIZE); in main()
|
H A D | pflash-cfi02-test.c | 643 if (ftruncate(fd, UNIFORM_FLASH_SIZE) < 0) { in main()
|
/qemu/tests/qtest/fuzz/ |
H A D | virtio_blk_fuzz.c | 164 ret = ftruncate(fd, TEST_IMAGE_SIZE); in drive_create()
|
/qemu/contrib/vhost-user-gpu/ |
H A D | vugbm.c | 69 ret = ftruncate(buf->memfd, udmabuf_get_size(buf)); in udmabuf_alloc_bo()
|
/qemu/linux-user/mips/ |
H A D | syscall-args-o32.c.inc | 94 [ 93] = 2, /* ftruncate */
|
/qemu/contrib/ivshmem-server/ |
H A D | ivshmem-server.c | 243 ret = ftruncate(fd, shmsize); in ivshmem_server_ftruncate()
|
/qemu/bsd-user/netbsd/ |
H A D | strace.list | 33 { TARGET_NETBSD_NR_ftruncate, "ftruncate", NULL, NULL, NULL },
|
/qemu/bsd-user/openbsd/ |
H A D | strace.list | 41 { TARGET_OPENBSD_NR_ftruncate, "ftruncate", NULL, NULL, NULL },
|
/qemu/linux-user/mips64/ |
H A D | syscall_n32.tbl | 85 75 n32 ftruncate sys_ftruncate
|
H A D | syscall_n64.tbl | 85 75 n64 ftruncate sys_ftruncate
|
/qemu/linux-user/x86_64/ |
H A D | syscall_64.tbl | 88 77 common ftruncate sys_ftruncate
|
/qemu/linux-user/xtensa/ |
H A D | syscall.tbl | 34 23 common ftruncate sys_ftruncate
|
/qemu/linux-user/microblaze/ |
H A D | syscall.tbl | 103 93 common ftruncate sys_ftruncate
|
/qemu/linux-user/m68k/ |
H A D | syscall.tbl | 103 93 common ftruncate sys_ftruncate
|
/qemu/linux-user/sh4/ |
H A D | syscall.tbl | 103 93 common ftruncate sys_ftruncate
|
/qemu/linux-user/arm/ |
H A D | syscall.tbl | 108 93 common ftruncate sys_ftruncate
|
123