Home
last modified time | relevance | path

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

1234

/openbmc/u-boot/test/fs/
H A Dfat-noncontig-test.sh64 for prereq in fallocate mkfs.fat dd crc32; do
75 fallocate -l 40M ${img}
77 echo fallocate failed - using dd instead
H A Dfs-test.sh131 fallocate -l 3G "$1" &> /dev/null
133 echo fallocate failed - using dd instead
/openbmc/linux/tools/testing/selftests/mm/
H A Dhugetlb-madvise.c219 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main()
266 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in main()
278 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main()
318 if (fallocate(fd, 0, 0, NR_HUGE_PAGES * huge_page_size)) { in main()
H A Dgup_longterm.c103 if (fallocate(fd, 0, 0, size)) { in do_test()
H A Dcow.c1481 if (fallocate(fd, 0, 0, pagesize)) { in run_with_memfd()
1532 if (fallocate(fd, 0, 0, pagesize)) { in run_with_tmpfile()
1581 if (fallocate(fd, 0, 0, hugetlbsize)) { in run_with_memfd_hugetlb()
/openbmc/phosphor-mboxd/test/
H A Dmbox.c248 rc = fallocate(test.flash.fd, 0, 0, test.context.mtd_info.size); in mbox_create_test_context()
254 rc = fallocate(test.lpc.fd, 0, 0, test.context.mem_size); in mbox_create_test_context()
/openbmc/linux/tools/testing/selftests/mincore/
H A Dmincore_selftest.c218 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST()
320 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/syzkaller/syzkaller/
H A D0001-executor-Include-missing-linux-falloc.h.patch15 fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, SWAP_FILE_SIZE);
/openbmc/hiomapd/test/
H A Dmbox.c260 rc = fallocate(test.flash.fd, 0, 0, mtd_info.size); in mbox_create_frontend_context()
268 rc = fallocate(test.lpc.fd, 0, 0, test.context.mem_size); in mbox_create_frontend_context()
/openbmc/qemu/tests/qemu-iotests/
H A D12582 fallocate -o 65535 -l 2 "$TEST_IMG_FILE"
H A D308305 fallocate -o "$orig_len" -l 64k "$EXT_MP"
/openbmc/linux/fs/smb/client/
H A Dcifsfs.c344 if (server->ops->fallocate) in cifs_fallocate()
345 return server->ops->fallocate(file, tcon, mode, off, len); in cifs_fallocate()
1535 .fallocate = cifs_fallocate,
1555 .fallocate = cifs_fallocate,
1575 .fallocate = cifs_fallocate,
1593 .fallocate = cifs_fallocate,
1611 .fallocate = cifs_fallocate,
1629 .fallocate = cifs_fallocate,
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dparallels-checks82 fallocate -xl $((file_size + CLUSTER_SIZE)) "$TEST_IMG"
/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c495 r = fallocate(fd, in mfd_assert_write()
560 r = fallocate(fd, in mfd_fail_write()
617 r = fallocate(fd, in mfd_assert_grow()
639 r = fallocate(fd, in mfd_fail_grow()
/openbmc/qemu/
H A Dtrace-events43 …bool need_madvise, bool need_fallocate, int ret) "%s@%p + 0x%zx: madvise: %d fallocate: %d ret: %d"
/openbmc/linux/arch/um/os-Linux/
H 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()
/openbmc/linux/fs/
H 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
/openbmc/qemu/linux-user/mips/
H A Dsyscall-args-o32.c.inc321 [ 320] = 6, /* fallocate */
/openbmc/linux/arch/sparc/kernel/
H A Dsys_sparc32.c232 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, u32, offhi, u32, offlo, in COMPAT_SYSCALL_DEFINE6() argument
/openbmc/qemu/linux-user/hppa/
H A Dsyscall.tbl345 305 32 fallocate parisc_fallocate
346 305 64 fallocate sys_fallocate
/openbmc/linux/arch/parisc/kernel/syscalls/
H A Dsyscall.tbl345 305 32 fallocate parisc_fallocate
346 305 64 fallocate sys_fallocate
/openbmc/linux/ipc/
H 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,
/openbmc/linux/drivers/target/
H A Dtarget_core_file.c574 if (!file->f_op->fallocate) in fd_execute_unmap()
577 ret = file->f_op->fallocate(file, mode, pos, len); in fd_execute_unmap()
/openbmc/linux/arch/powerpc/kernel/syscalls/
H A Dsyscall.tbl400 309 32 fallocate sys_ppc_fallocate compat_sys_fallocate
401 309 64 fallocate sys_fallocate
/openbmc/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl400 309 32 fallocate sys_ppc_fallocate compat_sys_fallocate
401 309 64 fallocate sys_fallocate

1234