Searched refs:FALLOC_FL_KEEP_SIZE (Results 1 – 25 of 25) sorted by relevance
| /linux-4.4.14/include/uapi/linux/ |
| D | falloc.h | 4 #define FALLOC_FL_KEEP_SIZE 0x01 /* default is extend size */ macro
|
| /linux-4.4.14/include/linux/ |
| D | falloc.h | 24 #define FALLOC_FL_SUPPORTED_MASK (FALLOC_FL_KEEP_SIZE | \
|
| /linux-4.4.14/tools/testing/selftests/memfd/ |
| D | memfd_test.c | 316 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in mfd_assert_write() 380 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in mfd_fail_write()
|
| /linux-4.4.14/fs/gfs2/ |
| D | file.c | 898 if (!(mode & FALLOC_FL_KEEP_SIZE) && (pos + count) > inode->i_size) { in __gfs2_fallocate() 920 if ((mode & ~FALLOC_FL_KEEP_SIZE) || gfs2_is_jdata(ip)) in gfs2_fallocate() 930 if (!(mode & FALLOC_FL_KEEP_SIZE) && in gfs2_fallocate()
|
| /linux-4.4.14/fs/nfs/ |
| D | nfs4file.c | 186 if ((mode != 0) && (mode != (FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE))) in nfs42_fallocate()
|
| /linux-4.4.14/mm/ |
| D | madvise.c | 328 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in madvise_remove()
|
| D | shmem.c | 2075 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in shmem_fallocate() 2183 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > inode->i_size) in shmem_fallocate()
|
| /linux-4.4.14/fs/ |
| D | open.c | 246 !(mode & FALLOC_FL_KEEP_SIZE)) in vfs_fallocate() 265 if ((mode & ~FALLOC_FL_KEEP_SIZE) && IS_APPEND(inode)) in vfs_fallocate()
|
| D | ioctl.c | 451 return vfs_fallocate(filp, FALLOC_FL_KEEP_SIZE, sr.l_start, sr.l_len); in ioctl_preallocate()
|
| /linux-4.4.14/fs/f2fs/ |
| D | file.c | 1080 if (!(mode & FALLOC_FL_KEEP_SIZE) && i_size_read(inode) < new_size) { in f2fs_zero_range() 1199 if (!(mode & FALLOC_FL_KEEP_SIZE) && in expand_inode_data() 1224 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in f2fs_fallocate()
|
| /linux-4.4.14/fs/xfs/ |
| D | xfs_file.c | 913 (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | \ 995 if (!(mode & FALLOC_FL_KEEP_SIZE) && in xfs_file_fallocate()
|
| /linux-4.4.14/fs/hugetlbfs/ |
| D | inode.c | 555 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in hugetlbfs_fallocate() 652 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > inode->i_size) in hugetlbfs_fallocate()
|
| /linux-4.4.14/fs/fuse/ |
| D | file.c | 2895 bool lock_inode = !(mode & FALLOC_FL_KEEP_SIZE) || in fuse_file_fallocate() 2898 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in fuse_file_fallocate() 2917 if (!(mode & FALLOC_FL_KEEP_SIZE)) in fuse_file_fallocate() 2934 if (!(mode & FALLOC_FL_KEEP_SIZE)) { in fuse_file_fallocate() 2947 if (!(mode & FALLOC_FL_KEEP_SIZE)) in fuse_file_fallocate()
|
| /linux-4.4.14/drivers/staging/android/ |
| D | ashmem.c | 450 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in ashmem_shrink_scan()
|
| /linux-4.4.14/fs/ceph/ |
| D | file.c | 1356 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in ceph_fallocate() 1386 if (!(mode & FALLOC_FL_KEEP_SIZE)) in ceph_fallocate()
|
| /linux-4.4.14/drivers/target/ |
| D | target_core_file.c | 495 int mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE; in fd_execute_unmap()
|
| /linux-4.4.14/fs/ext4/ |
| D | extents.c | 4812 if (!(mode & FALLOC_FL_KEEP_SIZE) && in ext4_zero_range() 4821 if (mode & FALLOC_FL_KEEP_SIZE) in ext4_zero_range() 4942 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE | in ext4_fallocate() 4973 if (mode & FALLOC_FL_KEEP_SIZE) in ext4_fallocate() 4986 if (!(mode & FALLOC_FL_KEEP_SIZE) && in ext4_fallocate()
|
| /linux-4.4.14/fs/cifs/ |
| D | smb2ops.c | 1242 if (mode & FALLOC_FL_KEEP_SIZE) in smb3_fallocate() 1245 } else if (mode == FALLOC_FL_KEEP_SIZE) in smb3_fallocate()
|
| /linux-4.4.14/fs/ocfs2/ |
| D | file.c | 2027 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in ocfs2_fallocate() 2032 if (mode & FALLOC_FL_KEEP_SIZE) in ocfs2_fallocate()
|
| /linux-4.4.14/fs/btrfs/ |
| D | file.c | 2648 if (mode & ~(FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE)) in btrfs_fallocate() 2786 !(mode & FALLOC_FL_KEEP_SIZE)) { in btrfs_fallocate()
|
| D | inode.c | 9861 if (!(mode & FALLOC_FL_KEEP_SIZE) && in __btrfs_prealloc_file_range()
|
| /linux-4.4.14/Documentation/filesystems/ |
| D | porting | 392 Currently you can only have FALLOC_FL_PUNCH_HOLE with FALLOC_FL_KEEP_SIZE set,
|
| /linux-4.4.14/drivers/block/ |
| D | loop.c | 423 int mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE; in lo_discard()
|
| /linux-4.4.14/fs/nfsd/ |
| D | nfs4proc.c | 1048 FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE); in nfsd4_deallocate()
|
| /linux-4.4.14/include/trace/events/ |
| D | ext4.h | 69 { FALLOC_FL_KEEP_SIZE, "KEEP_SIZE"}, \
|