Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/tools/testing/selftests/mm/
A Dhugetlb-madvise.c238 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main()
285 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in main()
297 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main()
337 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main()
A Dcow.c1541 if (fallocate(fd, 0, 0, pagesize)) { in run_with_memfd()
1592 if (fallocate(fd, 0, 0, pagesize)) { in run_with_tmpfile()
1641 if (fallocate(fd, 0, 0, hugetlbsize)) { in run_with_memfd_hugetlb()
/linux-6.3-rc2/tools/testing/selftests/mincore/
A Dmincore_selftest.c218 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST()
320 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST()
/linux-6.3-rc2/fs/cifs/
A Dcifsfs.c343 if (server->ops->fallocate) in cifs_fallocate()
344 return server->ops->fallocate(file, tcon, mode, off, len); in cifs_fallocate()
1369 .fallocate = cifs_fallocate,
1389 .fallocate = cifs_fallocate,
1409 .fallocate = cifs_fallocate,
1427 .fallocate = cifs_fallocate,
1445 .fallocate = cifs_fallocate,
1463 .fallocate = cifs_fallocate,
/linux-6.3-rc2/tools/testing/selftests/memfd/
A Dmemfd_test.c465 r = fallocate(fd, in mfd_assert_write()
530 r = fallocate(fd, in mfd_fail_write()
587 r = fallocate(fd, in mfd_assert_grow()
609 r = fallocate(fd, in mfd_fail_grow()
/linux-6.3-rc2/arch/um/os-Linux/
A Dfile.c621 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()
/linux-6.3-rc2/fs/
A Dopen.c320 if (!file->f_op->fallocate) in vfs_fallocate()
324 ret = file->f_op->fallocate(file, mode, offset, len); in vfs_fallocate()
353 SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) in SYSCALL_DEFINE4() argument
359 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, compat_arg_u64_dual(offset), in COMPAT_SYSCALL_DEFINE6() argument
/linux-6.3-rc2/arch/sparc/kernel/
A Dsys_sparc32.c232 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, u32, offhi, u32, offlo, in COMPAT_SYSCALL_DEFINE6() argument
/linux-6.3-rc2/arch/parisc/kernel/syscalls/
A Dsyscall.tbl345 305 32 fallocate parisc_fallocate
346 305 64 fallocate sys_fallocate
/linux-6.3-rc2/ipc/
A Dshm.c644 if (!sfd->file->f_op->fallocate) in shm_fallocate()
646 return sfd->file->f_op->fallocate(file, mode, offset, len); in shm_fallocate()
665 .fallocate = shm_fallocate,
678 .fallocate = shm_fallocate,
/linux-6.3-rc2/drivers/target/
A Dtarget_core_file.c570 if (!file->f_op->fallocate) in fd_execute_unmap()
573 ret = file->f_op->fallocate(file, mode, pos, len); in fd_execute_unmap()
/linux-6.3-rc2/arch/powerpc/kernel/syscalls/
A Dsyscall.tbl400 309 32 fallocate sys_ppc_fallocate compat_sys_fallocate
401 309 64 fallocate sys_fallocate
/linux-6.3-rc2/tools/perf/arch/powerpc/entry/syscalls/
A Dsyscall.tbl400 309 32 fallocate sys_ppc_fallocate compat_sys_fallocate
401 309 64 fallocate sys_fallocate
/linux-6.3-rc2/fs/nfs/
A Dnfs4file.c464 .fallocate = nfs42_fallocate,
/linux-6.3-rc2/fs/fat/
A Dfile.c214 .fallocate = fat_fallocate,
/linux-6.3-rc2/Documentation/filesystems/
A Dvfat.rst228 when using fallocate with FALLOC_FL_KEEP_SIZE.
232 the fallocated region, user should make sure to recheck fallocate
A Dlocking.rst535 long (*fallocate)(struct file *, int, loff_t, loff_t);
578 ->fallocate implementation must be really careful to maintain page cache
587 readahead paths), the fallocate implementation must take the invalidate_lock to
/linux-6.3-rc2/arch/ia64/kernel/syscalls/
A Dsyscall.tbl291 279 common fallocate sys_fallocate
/linux-6.3-rc2/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl290 279 n64 fallocate sys_fallocate
/linux-6.3-rc2/arch/mips/kernel/syscalls/
A Dsyscall_n64.tbl290 279 n64 fallocate sys_fallocate
/linux-6.3-rc2/fs/gfs2/
A Dfile.c1574 .fallocate = gfs2_fallocate,
1605 .fallocate = gfs2_fallocate,
/linux-6.3-rc2/arch/x86/entry/syscalls/
A Dsyscall_64.tbl296 285 common fallocate sys_fallocate
/linux-6.3-rc2/block/
A Dfops.c696 .fallocate = blkdev_fallocate,
/linux-6.3-rc2/arch/xtensa/kernel/syscalls/
A Dsyscall.tbl73 62 common fallocate sys_fallocate
/linux-6.3-rc2/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl296 285 common fallocate sys_fallocate

Completed in 49 milliseconds

123