/linux-6.1.9/include/uapi/linux/ |
D | falloc.h | 6 #define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */ macro
|
/linux-6.1.9/include/linux/ |
D | falloc.h | 29 FALLOC_FL_PUNCH_HOLE | \
|
/linux-6.1.9/block/ |
D | fops.c | 607 (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | \ 655 case FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE: in blkdev_fallocate() 660 case FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE | FALLOC_FL_NO_HIDE_STALE: in blkdev_fallocate()
|
/linux-6.1.9/fs/nfs/ |
D | nfs4file.c | 231 if ((mode != 0) && (mode != (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE))) in nfs42_fallocate() 238 if (mode & FALLOC_FL_PUNCH_HOLE) in nfs42_fallocate()
|
/linux-6.1.9/fs/ntfs3/ |
D | file.c | 552 if (mode & FALLOC_FL_PUNCH_HOLE) { in ntfs_fallocate() 560 ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in ntfs_fallocate() 580 if (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_COLLAPSE_RANGE | in ntfs_fallocate() 587 if (mode & FALLOC_FL_PUNCH_HOLE) { in ntfs_fallocate()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_file.c | 882 (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | \ 933 if (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE | in xfs_file_fallocate() 944 if (mode & FALLOC_FL_PUNCH_HOLE) { in xfs_file_fallocate()
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | hugetlb-madvise.c | 290 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in main()
|
D | userfaultfd.c | 1859 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, in main()
|
/linux-6.1.9/tools/testing/selftests/memfd/ |
D | memfd_test.c | 398 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in mfd_assert_write() 463 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in mfd_fail_write()
|
/linux-6.1.9/fs/ |
D | ioctl.c | 333 return ioctl_preallocate(filp, FALLOC_FL_PUNCH_HOLE, p); in file_ioctl() 938 error = compat_ioctl_preallocate(f.file, FALLOC_FL_PUNCH_HOLE, in COMPAT_SYSCALL_DEFINE3()
|
D | open.c | 256 if ((mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE)) == in vfs_fallocate() 257 (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE)) in vfs_fallocate() 261 if ((mode & FALLOC_FL_PUNCH_HOLE) && in vfs_fallocate()
|
/linux-6.1.9/drivers/nvme/target/ |
D | io-cmd-file.c | 281 int mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE; in nvmet_file_execute_discard()
|
/linux-6.1.9/arch/um/os-Linux/ |
D | file.c | 621 int n = fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, offset, len); in os_falloc_punch()
|
/linux-6.1.9/fs/cachefiles/ |
D | io.c | 565 ret = vfs_fallocate(file, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in __cachefiles_prepare_write()
|
/linux-6.1.9/fs/gfs2/ |
D | file.c | 1356 if (mode & ~(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)) in gfs2_fallocate() 1380 if (mode & FALLOC_FL_PUNCH_HOLE) { in gfs2_fallocate()
|
/linux-6.1.9/fs/hugetlbfs/ |
D | inode.c | 784 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in hugetlbfs_fallocate() 787 if (mode & FALLOC_FL_PUNCH_HOLE) in hugetlbfs_fallocate()
|
/linux-6.1.9/fs/fuse/ |
D | file.c | 2968 (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE))); in fuse_file_fallocate() 2970 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in fuse_file_fallocate() 2985 if (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE)) { in fuse_file_fallocate() 3026 if (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_ZERO_RANGE)) in fuse_file_fallocate()
|
/linux-6.1.9/drivers/target/ |
D | target_core_file.c | 575 int mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE; in fd_execute_unmap()
|
/linux-6.1.9/drivers/block/ |
D | loop.c | 488 FALLOC_FL_PUNCH_HOLE); in do_req_filebacked() 490 return lo_fallocate(lo, rq, pos, FALLOC_FL_PUNCH_HOLE); in do_req_filebacked()
|
/linux-6.1.9/mm/ |
D | madvise.c | 992 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in madvise_remove()
|
/linux-6.1.9/fs/ocfs2/ |
D | file.c | 2104 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in ocfs2_fallocate() 2112 if (mode & FALLOC_FL_PUNCH_HOLE) in ocfs2_fallocate()
|
/linux-6.1.9/Documentation/filesystems/ |
D | porting.rst | 442 file) you must return -EOPNOTSUPP if FALLOC_FL_PUNCH_HOLE is set in mode. 443 Currently you can only have FALLOC_FL_PUNCH_HOLE with FALLOC_FL_KEEP_SIZE set,
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 639 r = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, size); in kvm_memfd_alloc()
|
/linux-6.1.9/fs/f2fs/ |
D | file.c | 1815 (mode & (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_COLLAPSE_RANGE | in f2fs_fallocate() 1819 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in f2fs_fallocate() 1830 if (mode & FALLOC_FL_PUNCH_HOLE) { in f2fs_fallocate()
|
/linux-6.1.9/fs/ksmbd/ |
D | vfs.c | 1012 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in ksmbd_vfs_zero_data()
|