Searched refs:ftruncate (Results 1 – 13 of 13) sorted by relevance
| /linux-4.1.27/tools/testing/selftests/memfd/ |
| D | memfd_test.c | 40 r = ftruncate(fd, sz); in mfd_assert_new() 392 r = ftruncate(fd, MFD_DEF_SIZE / 2); in mfd_assert_shrink() 412 r = ftruncate(fd, MFD_DEF_SIZE / 2); in mfd_fail_shrink() 427 r = ftruncate(fd, MFD_DEF_SIZE * 2); in mfd_assert_grow() 451 r = ftruncate(fd, MFD_DEF_SIZE * 2); in mfd_fail_grow()
|
| D | fuse_test.c | 55 r = ftruncate(fd, sz); in mfd_assert_new()
|
| /linux-4.1.27/tools/testing/selftests/vm/ |
| D | hugetlbfstest.c | 64 err = ftruncate(fd, length); in open_file()
|
| /linux-4.1.27/arch/arm/vdso/ |
| D | vdsomunge.c | 196 if (ftruncate(outfd, stat.st_size) != 0) in main()
|
| /linux-4.1.27/fs/hostfs/ |
| D | hostfs_user.c | 226 if (ftruncate(fd, attrs->ia_size)) in set_attr()
|
| /linux-4.1.27/Documentation/filesystems/ |
| D | mandatory-locking.txt | 151 ftruncate(). truncate() and ftruncate() are considered to be "write" actions
|
| D | hpfs.txt | 282 2.04 Fixed error when ftruncate used to extend file
|
| /linux-4.1.27/arch/parisc/kernel/ |
| D | syscall_table.S | 169 ENTRY_COMP(ftruncate)
|
| /linux-4.1.27/arch/powerpc/include/asm/ |
| D | systbl.h | 100 COMPAT_SYS_SPU(ftruncate)
|
| /linux-4.1.27/fs/ |
| D | open.c | 199 SYSCALL_DEFINE2(ftruncate, unsigned int, fd, unsigned long, length) in SYSCALL_DEFINE2() argument 205 COMPAT_SYSCALL_DEFINE2(ftruncate, unsigned int, fd, compat_ulong_t, length) in COMPAT_SYSCALL_DEFINE2() argument
|
| /linux-4.1.27/arch/x86/syscalls/ |
| D | syscall_64.tbl | 86 77 common ftruncate sys_ftruncate
|
| D | syscall_32.tbl | 102 93 i386 ftruncate sys_ftruncate compat_sys_ftruncate
|
| /linux-4.1.27/tools/virtio/ |
| D | vringh_test.c | 157 ftruncate(fd, mapsize); in parallel_test()
|