ftruncate 183 arch/arm/vdso/vdsomunge.c if (ftruncate(outfd, stat.st_size) != 0) ftruncate 226 fs/hostfs/hostfs_user.c if (ftruncate(fd, attrs->ia_size)) ftruncate 203 fs/open.c SYSCALL_DEFINE2(ftruncate, unsigned int, fd, unsigned long, length) ftruncate 209 fs/open.c COMPAT_SYSCALL_DEFINE2(ftruncate, unsigned int, fd, compat_ulong_t, length) ftruncate 906 tools/perf/util/probe-file.c if (ftruncate(fd, st.st_size) < 0) ftruncate 922 tools/perf/util/probe-file.c ret = ftruncate(pcache->fd, 0); ftruncate 351 tools/testing/selftests/cgroup/cgroup_util.c if (ftruncate(fd, size)) ftruncate 50 tools/testing/selftests/drivers/dma-buf/udmabuf.c ret = ftruncate(memfd, size); ftruncate 54 tools/testing/selftests/memfd/fuse_test.c r = ftruncate(fd, sz); ftruncate 48 tools/testing/selftests/memfd/memfd_test.c r = ftruncate(fd, sz); ftruncate 441 tools/testing/selftests/memfd/memfd_test.c r = ftruncate(fd, mfd_def_size / 2); ftruncate 461 tools/testing/selftests/memfd/memfd_test.c r = ftruncate(fd, mfd_def_size / 2); ftruncate 476 tools/testing/selftests/memfd/memfd_test.c r = ftruncate(fd, mfd_def_size * 2); ftruncate 500 tools/testing/selftests/memfd/memfd_test.c r = ftruncate(fd, mfd_def_size * 2); ftruncate 84 tools/testing/selftests/vm/map_populate.c ret = ftruncate(fileno(ftmp), MMAP_SZ); ftruncate 1327 tools/testing/selftests/vm/userfaultfd.c if (ftruncate(huge_fd, 0)) { ftruncate 158 tools/virtio/vringh_test.c ftruncate(fd, mapsize);