| /linux/tools/testing/selftests/kvm/ |
| H A D | guest_memfd_test.c | 63 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, 0, in test_mmap_supported() 227 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE, 0, total_size); in test_fallocate() 230 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, in test_fallocate() 234 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE, total_size, page_size); in test_fallocate() 237 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE, total_size + page_size, page_size); in test_fallocate() 240 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, in test_fallocate() 244 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, in test_fallocate() 248 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, in test_fallocate() 252 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE, in test_fallocate() 256 ret = fallocate(fd, FALLOC_FL_KEEP_SIZE, page_size, page_size); in test_fallocate() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | hugetlb-madvise.c | 200 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main() 247 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in main() 259 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main() 299 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main()
|
| H A D | gup_longterm.c | 116 if (fallocate(fd, 0, 0, size)) { in do_test()
|
| H A D | cow.c | 1645 if (fallocate(fd, 0, 0, pagesize)) { in run_with_memfd() 1701 if (fallocate(fd, 0, 0, pagesize)) { in run_with_tmpfile() 1754 if (fallocate(fd, 0, 0, hugetlbsize)) { in run_with_memfd_hugetlb()
|
| H A D | uffd-common.c | 45 if (fallocate(mem_fd, in uffd_mem_fd_create()
|
| /linux/tools/testing/selftests/mincore/ |
| H A D | mincore_selftest.c | 218 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST() 315 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST()
|
| /linux/fs/smb/client/ |
| H A D | cifsfs.c | 399 if (!server->ops->fallocate) in cifs_fallocate() 412 rc = server->ops->fallocate(file, tcon, mode, off, len); in cifs_fallocate() 1609 .fallocate = cifs_fallocate, 1629 .fallocate = cifs_fallocate, 1649 .fallocate = cifs_fallocate, 1667 .fallocate = cifs_fallocate, 1685 .fallocate = cifs_fallocate, 1703 .fallocate = cifs_fallocate,
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | kvm_syscalls.h | 78 __KVM_SYSCALL_DEFINE(fallocate, 4, int, fd, int, mode, loff_t, offset, loff_t, len);
|
| /linux/tools/testing/selftests/memfd/ |
| H A D | memfd_test.c | 511 r = fallocate(fd, in mfd_assert_write() 576 r = fallocate(fd, in mfd_fail_write() 633 r = fallocate(fd, in mfd_assert_grow() 655 r = fallocate(fd, in mfd_fail_grow()
|
| /linux/arch/um/os-Linux/ |
| H A D | file.c | 618 int n = fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, offset, len); in os_falloc_punch() 627 int n = fallocate(fd, FALLOC_FL_ZERO_RANGE|FALLOC_FL_KEEP_SIZE, offset, len); in os_falloc_zeroes()
|
| /linux/arch/sparc/kernel/ |
| H A D | sys_sparc32.c | 232 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, u32, offhi, u32, offlo, in COMPAT_SYSCALL_DEFINE6() argument
|
| /linux/ipc/ |
| H A D | shm.c | 645 if (!sfd->file->f_op->fallocate) in shm_fallocate() 647 return sfd->file->f_op->fallocate(file, mode, offset, len); in shm_fallocate() 666 .fallocate = shm_fallocate, 679 .fallocate = shm_fallocate,
|
| /linux/arch/parisc/kernel/syscalls/ |
| H A D | syscall.tbl | 345 305 32 fallocate parisc_fallocate 346 305 64 fallocate sys_fallocate
|
| /linux/drivers/target/ |
| H A D | target_core_file.c | 570 if (!file->f_op->fallocate) in fd_execute_unmap() 573 ret = file->f_op->fallocate(file, mode, pos, len); in fd_execute_unmap()
|
| /linux/arch/powerpc/kernel/syscalls/ |
| H A D | syscall.tbl | 404 309 32 fallocate sys_ppc_fallocate compat_sys_fallocate 405 309 64 fallocate sys_fallocate
|
| /linux/tools/perf/arch/powerpc/entry/syscalls/ |
| H A D | syscall.tbl | 404 309 32 fallocate sys_ppc_fallocate compat_sys_fallocate 405 309 64 fallocate sys_fallocate
|
| /linux/Documentation/filesystems/ |
| H A D | vfat.rst | 228 when using fallocate with FALLOC_FL_KEEP_SIZE. 232 the fallocated region, user should make sure to recheck fallocate
|
| /linux/fs/fat/ |
| H A D | file.c | 214 .fallocate = fat_fallocate,
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 642 .fallocate = ovl_fallocate,
|
| /linux/arch/mips/kernel/syscalls/ |
| H A D | syscall_n64.tbl | 290 279 n64 fallocate sys_fallocate
|
| H A D | syscall_n32.tbl | 294 283 n32 fallocate sys_fallocate
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 290 279 n64 fallocate sys_fallocate
|
| /linux/scripts/ |
| H A D | syscall.tbl | 65 47 common fallocate sys_fallocate compat_sys_fallocate
|
| /linux/tools/scripts/ |
| H A D | syscall.tbl | 65 47 common fallocate sys_fallocate compat_sys_fallocate
|
| /linux/fs/ext4/ |
| H A D | file.c | 979 .fallocate = ext4_fallocate,
|