Searched refs:ftruncate (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/tools/testing/selftests/memfd/ |
D | memfd_test.c | 41 r = ftruncate(fd, sz); in mfd_assert_new() 393 r = ftruncate(fd, MFD_DEF_SIZE / 2); in mfd_assert_shrink() 413 r = ftruncate(fd, MFD_DEF_SIZE / 2); in mfd_fail_shrink() 428 r = ftruncate(fd, MFD_DEF_SIZE * 2); in mfd_assert_grow() 452 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.4.14/arch/arm/vdso/ |
D | vdsomunge.c | 196 if (ftruncate(outfd, stat.st_size) != 0) in main()
|
/linux-4.4.14/fs/hostfs/ |
D | hostfs_user.c | 226 if (ftruncate(fd, attrs->ia_size)) in set_attr()
|
/linux-4.4.14/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.4.14/arch/parisc/kernel/ |
D | syscall_table.S | 169 ENTRY_COMP(ftruncate)
|
/linux-4.4.14/fs/ |
D | open.c | 201 SYSCALL_DEFINE2(ftruncate, unsigned int, fd, unsigned long, length) in SYSCALL_DEFINE2() argument 207 COMPAT_SYSCALL_DEFINE2(ftruncate, unsigned int, fd, compat_ulong_t, length) in COMPAT_SYSCALL_DEFINE2() argument
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | systbl.h | 100 COMPAT_SYS_SPU(ftruncate)
|
/linux-4.4.14/arch/x86/entry/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.4.14/tools/virtio/ |
D | vringh_test.c | 157 ftruncate(fd, mapsize); in parallel_test()
|