/openbmc/qemu/tests/qtest/ |
H A D | aspeed_smc-test.c | 39 ret = ftruncate(fd, 32 * 1024 * 1024); in test_palmetto_bmc() 86 ret = ftruncate(fd, 32 * 1024 * 1024); in test_ast2500_evb() 129 ret = ftruncate(fd, 64 * 1024 * 1024); in test_ast2600_evb() 172 ret = ftruncate(fd, 1 * 1024 * 1024); in test_ast1030_evb()
|
H A D | ast2700-smc-test.c | 23 ret = ftruncate(fd, 128 * 1024 * 1024); in test_ast2700_evb()
|
H A D | pnv-spi-seeprom-test.c | 88 ret = ftruncate(fd, FLASH_SIZE); in test_spi_seeprom()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-read-hwpoison.c | 144 if (ftruncate(fd, len) < 0) { in test_hugetlb_read() 164 if (ftruncate(fd, 0) < 0) { in test_hugetlb_read() 181 if (ftruncate(fd, len) < 0) { in test_hugetlb_read_hwpoison() 230 if (ftruncate(fd, 0) < 0) { in test_hugetlb_read_hwpoison()
|
H A D | map_populate.c | 82 ret = ftruncate(fileno(ftmp), MMAP_SZ); in main()
|
/openbmc/qemu/util/ |
H A D | memfd.c | 80 if (ftruncate(mfd, size) == -1) { in qemu_memfd_create() 129 ftruncate(mfd, size) == -1) { in qemu_memfd_alloc()
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | partition.py | 283 os.ftruncate(sparse.fileno(), rootfs_size * 1024) 365 os.ftruncate(sparse.fileno(), rootfs_size * 1024) 442 os.ftruncate(sparse.fileno(), size * 1024) 466 os.ftruncate(sparse.fileno(), size * 1024) 510 os.ftruncate(sparse.fileno(), self.size * 1024)
|
/openbmc/qemu/include/sysemu/ |
H A D | os-win32.h | 144 #if !defined(ftruncate) 145 # define ftruncate qemu_ftruncate64 macro
|
/openbmc/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-madvise.c | 45 ret = ftruncate(fd, pagesize); in test_file()
|
/openbmc/u-boot/tools/ |
H A D | fit_common.c | 66 if (ftruncate(fd, sbuf->st_size)) { in mmap_fdt()
|
/openbmc/qemu/backends/ |
H A D | hostmem-shm.c | 78 if (ftruncate(fd, backend->size) == -1) { in shm_backend_memory_alloc()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/ |
H A D | lfs64.patch | 24 #define ftruncate64(fd, length) ftruncate((fd), (length))
|
/openbmc/linux/tools/testing/selftests/drivers/dma-buf/ |
H A D | udmabuf.c | 54 ret = ftruncate(memfd, size); in main()
|
/openbmc/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 86 r = ftruncate(fd, sz); in mfd_assert_new() 575 r = ftruncate(fd, mfd_def_size / 2); in mfd_assert_shrink() 595 r = ftruncate(fd, mfd_def_size / 2); in mfd_fail_shrink() 610 r = ftruncate(fd, mfd_def_size * 2); in mfd_assert_grow() 634 r = ftruncate(fd, mfd_def_size * 2); in mfd_fail_grow()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/libcdio/libcdio/ |
H A D | Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch | 28 AC_CHECK_FUNCS( [chdir drand48 fseeko fseeko64 ftruncate geteuid getgid \
|
/openbmc/linux/tools/testing/selftests/futex/functional/ |
H A D | futex_wait.c | 132 if (ftruncate(fd, sizeof(f_private))) { in main()
|
/openbmc/linux/tools/bootconfig/ |
H A D | main.c | 348 ret = ftruncate(fd, stat.st_size in delete_xbc() 465 if (ftruncate(fd, stat.st_size) < 0) { in apply_xbc()
|
/openbmc/linux/Documentation/security/ |
H A D | landlock.rst | 73 :manpage:`ftruncate` the resulting file descriptor if the related file 78 * ``int fd = open(path, O_WRONLY); ftruncate(fd); close(fd);``
|
/openbmc/linux/arch/arm/vdso/ |
H A D | vdsomunge.c | 183 if (ftruncate(outfd, stat.st_size) != 0) in main()
|
/openbmc/openbmc/meta-openembedded/meta-networking/files/waf-cross-answers/ |
H A D | cross-answers-aarch64.txt | 34 Checking for ftruncate extend: OK
|
H A D | cross-answers-mips64el.txt | 34 Checking for ftruncate extend: OK
|
H A D | cross-answers-powerpc.txt | 35 Checking for ftruncate extend: OK
|
H A D | cross-answers-aarch64_be.txt | 34 Checking for ftruncate extend: OK
|
H A D | cross-answers-mips.txt | 35 Checking for ftruncate extend: OK
|
H A D | cross-answers-riscv32.txt | 35 Checking for ftruncate extend: OK
|