Home
last modified time | relevance | path

Searched refs:FALLOC_FL_KEEP_SIZE (Results 1 – 25 of 35) sorted by relevance

12

/linux/block/
A Dfops.c591 (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | \
612 if (mode & FALLOC_FL_KEEP_SIZE) { in blkdev_fallocate()
634 case FALLOC_FL_ZERO_RANGE | FALLOC_FL_KEEP_SIZE: in blkdev_fallocate()
639 case FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE: in blkdev_fallocate()
644 case FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE | FALLOC_FL_NO_HIDE_STALE: in blkdev_fallocate()
/linux/include/uapi/linux/
A Dfalloc.h5 #define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */ macro
/linux/include/linux/
A Dfalloc.h28 #define FALLOC_FL_SUPPORTED_MASK (FALLOC_FL_KEEP_SIZE | \
/linux/drivers/nvme/target/
A Dio-cmd-file.c300 int mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE; in nvmet_file_execute_discard()
362 int mode = FALLOC_FL_ZERO_RANGE | FALLOC_FL_KEEP_SIZE; in nvmet_file_write_zeroes_work()
/linux/fs/fat/
A Dfile.c271 if (mode & ~FALLOC_FL_KEEP_SIZE) in fat_fallocate()
279 if (mode & FALLOC_FL_KEEP_SIZE) { in fat_fallocate()
/linux/tools/testing/selftests/memfd/
A Dmemfd_test.c398 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in mfd_assert_write()
462 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in mfd_fail_write()
/linux/fs/ntfs3/
A Dfile.c549 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in ntfs_fallocate()
571 if (!(mode & FALLOC_FL_KEEP_SIZE)) { in ntfs_fallocate()
706 if (mode & FALLOC_FL_KEEP_SIZE) { in ntfs_fallocate()
/linux/fs/
A Dopen.c246 !(mode & FALLOC_FL_KEEP_SIZE)) in vfs_fallocate()
261 (mode & ~(FALLOC_FL_UNSHARE_RANGE | FALLOC_FL_KEEP_SIZE))) in vfs_fallocate()
270 if ((mode & ~FALLOC_FL_KEEP_SIZE) && IS_APPEND(inode)) in vfs_fallocate()
A Dioctl.c294 return vfs_fallocate(filp, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, in ioctl_preallocate()
323 return vfs_fallocate(file, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in compat_ioctl_preallocate()
/linux/fs/gfs2/
A Dfile.c1345 if (!(mode & FALLOC_FL_KEEP_SIZE) && (pos + count) > inode->i_size) in __gfs2_fallocate()
1370 if (mode & ~(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)) in gfs2_fallocate()
1383 if (!(mode & FALLOC_FL_KEEP_SIZE) && in gfs2_fallocate()
/linux/fs/fuse/
A Dfile.c2936 bool lock_inode = !(mode & FALLOC_FL_KEEP_SIZE) || in fuse_file_fallocate()
2942 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in fuse_file_fallocate()
2967 if (!(mode & FALLOC_FL_KEEP_SIZE) && in fuse_file_fallocate()
2974 if (!(mode & FALLOC_FL_KEEP_SIZE)) in fuse_file_fallocate()
2991 if (!(mode & FALLOC_FL_KEEP_SIZE)) { in fuse_file_fallocate()
3002 if (!(mode & FALLOC_FL_KEEP_SIZE)) in fuse_file_fallocate()
/linux/fs/nfs/
A Dnfs4file.c228 if ((mode != 0) && (mode != (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE))) in nfs42_fallocate()
/linux/fs/xfs/
A Dxfs_file.c900 (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | \
1010 if (!(mode & FALLOC_FL_KEEP_SIZE) && in xfs_file_fallocate()
/linux/tools/testing/selftests/vm/
A Duserfaultfd.c229 if (fallocate(huge_fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in hugetlb_release_pages()
1690 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, in main()
/linux/arch/um/os-Linux/
A Dfile.c621 int n = fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, offset, len); in os_falloc_punch()
/linux/fs/hugetlbfs/
A Dinode.c642 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in hugetlbfs_fallocate()
755 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > inode->i_size) in hugetlbfs_fallocate()
/linux/drivers/staging/android/
A Dashmem.c504 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in ashmem_shrink_scan()
/linux/drivers/target/
A Dtarget_core_file.c572 int mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE; in fd_execute_unmap()
/linux/mm/
A Dmadvise.c926 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in madvise_remove()
/linux/fs/btrfs/
A Dfile.c3162 if (mode & FALLOC_FL_KEEP_SIZE || end <= i_size_read(inode)) in btrfs_fallocate_update_isize()
3416 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in btrfs_fallocate()
3437 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > inode->i_size) { in btrfs_fallocate()
/linux/fs/ocfs2/
A Dfile.c2107 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in ocfs2_fallocate()
2112 if (mode & FALLOC_FL_KEEP_SIZE) in ocfs2_fallocate()
/linux/Documentation/filesystems/
A Dvfat.rst228 when using fallocate with FALLOC_FL_KEEP_SIZE.
/linux/fs/f2fs/
A Dfile.c1551 if (mode & FALLOC_FL_KEEP_SIZE) in f2fs_zero_range()
1721 if (mode & FALLOC_FL_KEEP_SIZE) in expand_inode_data()
1756 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in f2fs_fallocate()
/linux/fs/ksmbd/
A Dvfs.c1018 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in ksmbd_vfs_zero_data()
/linux/tools/testing/selftests/kvm/lib/
A Dkvm_util.c903 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, in vm_userspace_mem_region_add()

Completed in 74 milliseconds

12