/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | falloc.h | 5 #define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */ macro 40 * with fallocate. Flag FALLOC_FL_KEEP_SIZE should cause the inode
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | falloc.h | 5 #define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */ macro 40 * with fallocate. Flag FALLOC_FL_KEEP_SIZE should cause the inode
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | falloc.h | 21 #define FALLOC_FL_KEEP_SIZE 0x01 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | falloc.h | 21 #define FALLOC_FL_KEEP_SIZE 0x01 macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | falloc.h | 8 #define FALLOC_FL_KEEP_SIZE 0x01 macro
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | falloc.h | 28 #define FALLOC_FL_SUPPORTED_MASK (FALLOC_FL_KEEP_SIZE | \
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | falloc.h | 28 #define FALLOC_FL_SUPPORTED_MASK (FALLOC_FL_KEEP_SIZE | \
|
/kernel/linux/linux-6.6/block/ |
H A D | fops.c | 739 (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | \ 760 if (mode & FALLOC_FL_KEEP_SIZE) { in blkdev_fallocate() 781 case FALLOC_FL_ZERO_RANGE | FALLOC_FL_KEEP_SIZE: in blkdev_fallocate() 790 case FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE: in blkdev_fallocate() 799 case FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE | FALLOC_FL_NO_HIDE_STALE: in blkdev_fallocate()
|
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | file.c | 621 int n = fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, offset, len); in os_falloc_punch() 630 int n = fallocate(fd, FALLOC_FL_ZERO_RANGE|FALLOC_FL_KEEP_SIZE, offset, len); in os_falloc_zeroes()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | io-cmd-file.c | 300 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()
|
/kernel/linux/linux-5.10/fs/fat/ |
H A D | file.c | 255 * space requests len bytes at offset. If FALLOC_FL_KEEP_SIZE is set 271 if (mode & ~FALLOC_FL_KEEP_SIZE) in fat_fallocate() 279 if (mode & FALLOC_FL_KEEP_SIZE) { in fat_fallocate()
|
/kernel/linux/linux-6.6/fs/fat/ |
H A D | file.c | 256 * space requests len bytes at offset. If FALLOC_FL_KEEP_SIZE is set 272 if (mode & ~FALLOC_FL_KEEP_SIZE) in fat_fallocate() 280 if (mode & FALLOC_FL_KEEP_SIZE) { in fat_fallocate()
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | io-cmd-file.c | 275 int mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE; in nvmet_file_execute_discard() 337 int mode = FALLOC_FL_ZERO_RANGE | FALLOC_FL_KEEP_SIZE; in nvmet_file_write_zeroes_work()
|
/kernel/linux/linux-5.10/tools/testing/selftests/memfd/ |
H A 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()
|
/kernel/linux/linux-5.10/fs/ |
H A D | ioctl.c | 494 return vfs_fallocate(filp, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, in ioctl_preallocate() 523 return vfs_fallocate(file, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in compat_ioctl_preallocate()
|
H A D | block_dev.c | 1986 (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | \ 2006 if (mode & FALLOC_FL_KEEP_SIZE) { in blkdev_fallocate() 2025 case FALLOC_FL_ZERO_RANGE | FALLOC_FL_KEEP_SIZE: in blkdev_fallocate() 2033 case FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE: in blkdev_fallocate() 2041 case FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE | FALLOC_FL_NO_HIDE_STALE: in blkdev_fallocate()
|
H A D | open.c | 248 !(mode & FALLOC_FL_KEEP_SIZE)) in vfs_fallocate() 263 (mode & ~(FALLOC_FL_UNSHARE_RANGE | FALLOC_FL_KEEP_SIZE))) in vfs_fallocate() 272 if ((mode & ~FALLOC_FL_KEEP_SIZE) && IS_APPEND(inode)) in vfs_fallocate() 316 * unchanged, e.g. when using flag FALLOC_FL_KEEP_SIZE. in vfs_fallocate()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | hugetlb-madvise.c | 266 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in main()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | file.c | 1155 if (!(mode & FALLOC_FL_KEEP_SIZE) && (pos + count) > inode->i_size) in __gfs2_fallocate() 1180 if (mode & ~(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)) in gfs2_fallocate() 1193 if (!(mode & FALLOC_FL_KEEP_SIZE) && in gfs2_fallocate()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | file.c | 1342 if (!(mode & FALLOC_FL_KEEP_SIZE) && (pos + count) > inode->i_size) in __gfs2_fallocate() 1367 if (mode & ~(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)) in gfs2_fallocate() 1380 if (!(mode & FALLOC_FL_KEEP_SIZE) && in gfs2_fallocate()
|
/kernel/linux/linux-6.6/fs/ |
H A D | open.c | 263 !(mode & FALLOC_FL_KEEP_SIZE)) in vfs_fallocate() 278 (mode & ~(FALLOC_FL_UNSHARE_RANGE | FALLOC_FL_KEEP_SIZE))) in vfs_fallocate() 287 if ((mode & ~FALLOC_FL_KEEP_SIZE) && IS_APPEND(inode)) in vfs_fallocate() 331 * unchanged, e.g. when using flag FALLOC_FL_KEEP_SIZE. in vfs_fallocate()
|
H A D | ioctl.c | 291 return vfs_fallocate(filp, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, in ioctl_preallocate() 320 return vfs_fallocate(file, mode | FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in compat_ioctl_preallocate()
|
/kernel/linux/linux-5.10/drivers/staging/android/ |
H A D | ashmem.c | 544 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in ashmem_shrink_scan() 928 f->f_op->fallocate(f, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in ashmem_shrink_by_id()
|
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | file.c | 3284 (!(mode & FALLOC_FL_KEEP_SIZE) || in fuse_file_fallocate() 3287 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in fuse_file_fallocate() 3309 if (!(mode & FALLOC_FL_KEEP_SIZE) && in fuse_file_fallocate() 3320 if (!(mode & FALLOC_FL_KEEP_SIZE)) in fuse_file_fallocate() 3337 if (!(mode & FALLOC_FL_KEEP_SIZE)) { in fuse_file_fallocate() 3350 if (!(mode & FALLOC_FL_KEEP_SIZE)) in fuse_file_fallocate()
|
/kernel/linux/linux-6.6/fs/fuse/ |
H A D | file.c | 3007 (!(mode & FALLOC_FL_KEEP_SIZE) || in fuse_file_fallocate() 3010 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in fuse_file_fallocate() 3033 if (!(mode & FALLOC_FL_KEEP_SIZE) && in fuse_file_fallocate() 3044 if (!(mode & FALLOC_FL_KEEP_SIZE)) in fuse_file_fallocate() 3061 if (!(mode & FALLOC_FL_KEEP_SIZE)) { in fuse_file_fallocate() 3072 if (!(mode & FALLOC_FL_KEEP_SIZE)) in fuse_file_fallocate()
|