Home
last modified time | relevance | path

Searched refs:fallocate (Results 1 – 25 of 58) sorted by relevance

123

/Linux-v5.15/tools/testing/selftests/mincore/
Dmincore_selftest.c215 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST()
312 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST()
/Linux-v5.15/tools/testing/selftests/memfd/
Dmemfd_test.c397 r = fallocate(fd, in mfd_assert_write()
461 r = fallocate(fd, in mfd_fail_write()
518 r = fallocate(fd, in mfd_assert_grow()
540 r = fallocate(fd, in mfd_fail_grow()
/Linux-v5.15/fs/cifs/
Dcifsfs.c320 if (server->ops->fallocate) in cifs_fallocate()
321 return server->ops->fallocate(file, tcon, mode, off, len); in cifs_fallocate()
1283 .fallocate = cifs_fallocate,
1303 .fallocate = cifs_fallocate,
1323 .fallocate = cifs_fallocate,
1341 .fallocate = cifs_fallocate,
1359 .fallocate = cifs_fallocate,
1377 .fallocate = cifs_fallocate,
/Linux-v5.15/arch/sparc/kernel/
Dsys_sparc32.c232 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, u32, offhi, u32, offlo, in COMPAT_SYSCALL_DEFINE6() argument
/Linux-v5.15/fs/
Dopen.c303 if (!file->f_op->fallocate) in vfs_fallocate()
307 ret = file->f_op->fallocate(file, mode, offset, len); in vfs_fallocate()
336 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument
/Linux-v5.15/arch/parisc/kernel/syscalls/
Dsyscall.tbl345 305 32 fallocate parisc_fallocate
346 305 64 fallocate sys_fallocate
/Linux-v5.15/ipc/
Dshm.c539 if (!sfd->file->f_op->fallocate) in shm_fallocate()
541 return sfd->file->f_op->fallocate(file, mode, offset, len); in shm_fallocate()
560 .fallocate = shm_fallocate,
573 .fallocate = shm_fallocate,
/Linux-v5.15/drivers/target/
Dtarget_core_file.c573 if (!file->f_op->fallocate) in fd_execute_unmap()
576 ret = file->f_op->fallocate(file, mode, pos, len); in fd_execute_unmap()
/Linux-v5.15/fs/nfs/
Dnfs4file.c459 .fallocate = nfs42_fallocate,
/Linux-v5.15/fs/fat/
Dfile.c213 .fallocate = fat_fallocate,
/Linux-v5.15/arch/um/os-Linux/
Dfile.c621 int n = fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, offset, len); in os_falloc_punch()
/Linux-v5.15/fs/gfs2/
Dfile.c1368 .fallocate = gfs2_fallocate,
1399 .fallocate = gfs2_fallocate,
/Linux-v5.15/Documentation/filesystems/
Dvfat.rst228 when using fallocate with FALLOC_FL_KEEP_SIZE.
232 the fallocated region, user should make sure to recheck fallocate
Dlocking.rst536 long (*fallocate)(struct file *, int, loff_t, loff_t);
579 ->fallocate implementation must be really careful to maintain page cache
588 readahead paths), the fallocate implementation must take the invalidate_lock to
/Linux-v5.15/tools/testing/selftests/vm/
Duserfaultfd.c225 if (fallocate(huge_fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in hugetlb_release_pages()
1696 if (fallocate(shm_fd, in main()
/Linux-v5.15/block/
Dfops.c630 .fallocate = blkdev_fallocate,
/Linux-v5.15/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl290 279 n64 fallocate sys_fallocate
Dsyscall_n32.tbl294 283 n32 fallocate sys_fallocate
/Linux-v5.15/arch/ia64/kernel/syscalls/
Dsyscall.tbl291 279 common fallocate sys_fallocate
/Linux-v5.15/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl290 279 n64 fallocate sys_fallocate
/Linux-v5.15/arch/xtensa/kernel/syscalls/
Dsyscall.tbl73 62 common fallocate sys_fallocate
/Linux-v5.15/drivers/staging/android/
Dashmem.c503 f->f_op->fallocate(f, in ashmem_shrink_scan()
/Linux-v5.15/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl296 285 common fallocate sys_fallocate
/Linux-v5.15/arch/x86/entry/syscalls/
Dsyscall_64.tbl296 285 common fallocate sys_fallocate
/Linux-v5.15/fs/overlayfs/
Dfile.c660 .fallocate = ovl_fallocate,

123