Searched refs:fallocate (Results 26 - 40 of 40) sorted by relevance

12

/linux-master/tools/testing/selftests/kvm/aarch64/
H A Dpage_fault_test.c415 ret = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
417 TEST_ASSERT(ret == 0, "fallocate failed");
925 * punched page (with fallocate(FALLOC_FL_PUNCH_HOLE)) from
/linux-master/fs/bcachefs/
H A Dbcachefs.h711 x(fallocate) \
H A Dfs.c1121 .fallocate = bch2_fallocate_dispatch,
/linux-master/fs/ntfs3/
H A Dfile.c426 * Preallocate space for a file. This implements ntfs's fallocate file
465 ntfs_inode_warn(inode, "fallocate(0x%x) is not supported",
1236 .fallocate = ntfs_fallocate,
/linux-master/fs/ocfs2/
H A Dfile.c2792 .fallocate = ocfs2_fallocate,
2839 .fallocate = ocfs2_fallocate,
/linux-master/fs/nfsd/
H A Dnfs4xdr.c1921 struct nfsd4_fallocate *fallocate = &u->allocate; local
1924 status = nfsd4_decode_stateid4(argp, &fallocate->falloc_stateid);
1927 if (xdr_stream_decode_u64(argp->xdr, &fallocate->falloc_offset) < 0)
1929 if (xdr_stream_decode_u64(argp->xdr, &fallocate->falloc_length) < 0)
/linux-master/fs/hugetlbfs/
H A Dinode.c861 * fallocate(2) manpage permits EINTR; we may have been
888 * reserves for the file at the inode level. If we fallocate
1310 .fallocate = hugetlbfs_fallocate,
/linux-master/fs/smb/client/
H A Dcifsglob.h559 long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t, member in struct:smb_version_operations
H A Dsmb2ops.c3397 * we are supposed to fallocate, whichever comes first.
3486 * clamp len so we only fallocate up to the end of file.
3495 * At this point, we are trying to fallocate an internal
3497 * fallocate command we have two otions on how to emulate this.
3499 * which we only do if the fallocate is for virtually
3505 * We are only trying to fallocate a small region so
5375 .fallocate = smb3_fallocate,
5491 .fallocate = smb3_fallocate,
/linux-master/include/linux/
H A Dfs.h2034 long (*fallocate)(struct file *file, int mode, loff_t offset, member in struct:file_operations
/linux-master/fs/btrfs/
H A Dfile.c1982 * something like fallocate() that is holding the extent lock trying to
2337 * @extent_info is NULL for fallocate's hole punching and non-NULL when replacing
2790 * As fallocate iterates by bytenr order, we only need to check
3060 /* Do not allow fallocate in ZONED mode */
3090 * accurate reserved space, or fallocate can still fail but
3182 * If ret is still 0, means we're OK to fallocate.
3847 .fallocate = btrfs_fallocate,
/linux-master/fs/ceph/
H A Dfile.c3122 .fallocate = ceph_fallocate,
/linux-master/fs/fuse/
H A Dfile.c3320 .fallocate = fuse_file_fallocate,
/linux-master/mm/
H A Dshmem.c962 * If !unfalloc, truncate or punch hole; if unfalloc, undo failed fallocate.
1010 * When undoing a failed fallocate, we want none of the partial folio
1012 * folio when !uptodate indicates that it was added by this fallocate,
3170 * Good, the fallocate(2) manpage permits EINTR: we may have
4540 .fallocate = shmem_fallocate,
/linux-master/fs/f2fs/
H A Dfile.c1812 /* f2fs only support ->fallocate for regular file */
5040 .fallocate = f2fs_fallocate,

Completed in 269 milliseconds

12