/linux-master/arch/sparc/kernel/ |
H A D | sys_sparc32.c | 232 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, u32, offhi, u32, offlo,
|
/linux-master/arch/um/os-Linux/ |
H A D | file.c | 621 int n = fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, offset, len); 630 int n = fallocate(fd, FALLOC_FL_ZERO_RANGE|FALLOC_FL_KEEP_SIZE, offset, len);
|
/linux-master/block/ |
H A D | fops.c | 801 * de-allocate mode calls to fallocate(). 865 .fallocate = blkdev_fallocate,
|
/linux-master/drivers/block/ |
H A D | loop.c | 309 * We use fallocate to manipulate the space mappings used by the image 320 ret = file->f_op->fallocate(file, mode, pos, blk_rq_bytes(rq)); 779 } else if (file->f_op->fallocate && !vfs_statfs(&file->f_path, &sbuf)) {
|
/linux-master/drivers/target/ |
H A D | target_core_file.c | 564 /* The backend is normal file, use fallocate */ 570 if (!file->f_op->fallocate) 573 ret = file->f_op->fallocate(file, mode, pos, len); 575 pr_warn("FILEIO: fallocate() failed: %d\n", ret);
|
/linux-master/fs/bcachefs/ |
H A D | bcachefs.h | 711 x(fallocate) \
|
H A D | fs.c | 1121 .fallocate = bch2_fallocate_dispatch,
|
/linux-master/fs/btrfs/ |
H A D | file.c | 1982 * 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 D | file.c | 3122 .fallocate = ceph_fallocate,
|
/linux-master/fs/ext4/ |
H A D | file.c | 948 .fallocate = ext4_fallocate,
|
/linux-master/fs/f2fs/ |
H A D | file.c | 1812 /* f2fs only support ->fallocate for regular file */ 5040 .fallocate = f2fs_fallocate,
|
/linux-master/fs/fat/ |
H A D | file.c | 214 .fallocate = fat_fallocate, 254 * Preallocate space for a file. This implements fat's fallocate file 271 /* No support for hole punch or other fallocate flags. */
|
/linux-master/fs/fuse/ |
H A D | file.c | 3320 .fallocate = fuse_file_fallocate,
|
/linux-master/fs/gfs2/ |
H A D | file.c | 1291 * fallocate without exceeding quota or going over the 1375 /* fallocate is needed by gfs2_grow to reserve space in the rindex */ 1587 .fallocate = gfs2_fallocate, 1618 .fallocate = gfs2_fallocate,
|
/linux-master/fs/hugetlbfs/ |
H A D | inode.c | 861 * 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/nfs/ |
H A D | nfs4file.c | 465 .fallocate = nfs42_fallocate,
|
/linux-master/fs/nfsd/ |
H A D | nfs4proc.c | 1977 struct nfsd4_fallocate *fallocate, int flags) 1983 &fallocate->falloc_stateid, 1989 fallocate->falloc_offset, 1990 fallocate->falloc_length, 1976 nfsd4_fallocate(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_fallocate *fallocate, int flags) argument
|
H A D | nfs4xdr.c | 1921 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/ntfs3/ |
H A D | file.c | 426 * 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 D | file.c | 2792 .fallocate = ocfs2_fallocate, 2839 .fallocate = ocfs2_fallocate,
|
/linux-master/fs/ |
H A D | open.c | 287 * We can only allow pure fallocate on append only files 296 * We cannot allow any fallocate operation on an active swapfile 326 if (!file->f_op->fallocate) 330 ret = file->f_op->fallocate(file, mode, offset, len); 335 * To keep the logic simple always create events if fallocate succeeds. 359 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) 365 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, compat_arg_u64_dual(offset),
|
/linux-master/fs/overlayfs/ |
H A D | file.c | 607 .fallocate = ovl_fallocate,
|
/linux-master/fs/smb/client/ |
H A D | cifsfs.c | 345 if (server->ops->fallocate) 346 return server->ops->fallocate(file, tcon, mode, off, len); 1546 .fallocate = cifs_fallocate, 1566 .fallocate = cifs_fallocate, 1586 .fallocate = cifs_fallocate, 1604 .fallocate = cifs_fallocate, 1622 .fallocate = cifs_fallocate, 1640 .fallocate = cifs_fallocate,
|
H A D | cifsglob.h | 559 long (*fallocate)(struct file *, struct cifs_tcon *, int, loff_t, member in struct:smb_version_operations
|
H A D | smb2ops.c | 3397 * 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,
|