/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 | 79 if (ftruncate(mfd, size) == -1) { in qemu_memfd_create() 128 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) 359 os.ftruncate(sparse.fileno(), rootfs_size * 1024) 436 os.ftruncate(sparse.fileno(), size * 1024) 457 os.ftruncate(sparse.fileno(), size * 1024) 501 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/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/ |
H A D | lfs64.patch | 14 #define ftruncate64(fd, length) ftruncate((fd), (length))
|
/openbmc/u-boot/tools/ |
H A D | fit_common.c | 66 if (ftruncate(fd, sbuf->st_size)) { in mmap_fdt()
|
/openbmc/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-madvise.c | 45 ret = ftruncate(fd, pagesize); in test_file()
|
/openbmc/qemu/backends/ |
H A D | hostmem-shm.c | 78 if (ftruncate(fd, backend->size) == -1) { in shm_backend_memory_alloc()
|
/openbmc/linux/tools/testing/selftests/drivers/dma-buf/ |
H A D | udmabuf.c | 54 ret = ftruncate(memfd, size); in main()
|
/openbmc/qemu/tests/qtest/ |
H A D | pnv-spi-seeprom-test.c | 88 ret = ftruncate(fd, FLASH_SIZE); in test_spi_seeprom()
|
/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/testing/selftests/memfd/ |
H A D | memfd_test.c | 85 r = ftruncate(fd, sz); in mfd_assert_new() 574 r = ftruncate(fd, mfd_def_size / 2); in mfd_assert_shrink() 594 r = ftruncate(fd, mfd_def_size / 2); in mfd_fail_shrink() 609 r = ftruncate(fd, mfd_def_size * 2); in mfd_assert_grow() 633 r = ftruncate(fd, mfd_def_size * 2); in mfd_fail_grow()
|
/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/arch/arm/vdso/ |
H A D | vdsomunge.c | 183 if (ftruncate(outfd, stat.st_size) != 0) in main()
|
/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/u-boot/test/py/tests/ |
H A D | test_gpt.py | 41 os.ftruncate(fd, 4194304)
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | virtio_blk_fuzz.c | 164 ret = ftruncate(fd, TEST_IMAGE_SIZE); in drive_create()
|
/openbmc/openbmc/meta-openembedded/meta-networking/files/waf-cross-answers/ |
H A D | cross-answers-mipsel.txt | 35 Checking for ftruncate extend: OK
|
H A D | cross-answers-mips64el.txt | 34 Checking for ftruncate extend: OK
|
H A D | cross-answers-aarch64_be.txt | 34 Checking for ftruncate extend: OK
|
H A D | cross-answers-i586.txt | 35 Checking for ftruncate extend: OK
|
H A D | cross-answers-arm.txt | 35 Checking for ftruncate extend: OK
|
H A D | cross-answers-powerpc.txt | 35 Checking for ftruncate extend: OK
|