/openbmc/u-boot/test/fs/ |
H A D | fat-noncontig-test.sh | 64 for prereq in fallocate mkfs.fat dd crc32; do 75 fallocate -l 40M ${img} 77 echo fallocate failed - using dd instead
|
H A D | fs-test.sh | 131 fallocate -l 3G "$1" &> /dev/null 133 echo fallocate failed - using dd instead
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-madvise.c | 219 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 D | gup_longterm.c | 103 if (fallocate(fd, 0, 0, size)) { in do_test()
|
H A D | cow.c | 1481 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 D | mbox.c | 248 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 D | mincore_selftest.c | 218 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST() 320 retval = fallocate(fd, 0, 0, FILE_SIZE); in TEST()
|
/openbmc/hiomapd/test/ |
H A D | mbox.c | 260 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/openbmc/meta-openembedded/meta-oe/recipes-test/syzkaller/syzkaller/ |
H A D | 0001-executor-Include-missing-linux-falloc.h.patch | 15 fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, SWAP_FILE_SIZE);
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 125 | 82 fallocate -o 65535 -l 2 "$TEST_IMG_FILE"
|
H A D | 308 | 305 fallocate -o "$orig_len" -l 64k "$EXT_MP"
|
/openbmc/linux/fs/smb/client/ |
H A D | cifsfs.c | 356 if (server->ops->fallocate) in cifs_fallocate() 357 return server->ops->fallocate(file, tcon, mode, off, len); in cifs_fallocate() 1547 .fallocate = cifs_fallocate, 1567 .fallocate = cifs_fallocate, 1587 .fallocate = cifs_fallocate, 1605 .fallocate = cifs_fallocate, 1623 .fallocate = cifs_fallocate, 1641 .fallocate = cifs_fallocate,
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | parallels-checks | 82 fallocate -xl $((file_size + CLUSTER_SIZE)) "$TEST_IMG"
|
/openbmc/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 496 r = fallocate(fd, in mfd_assert_write() 561 r = fallocate(fd, in mfd_fail_write() 618 r = fallocate(fd, in mfd_assert_grow() 640 r = fallocate(fd, in mfd_fail_grow()
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | file.c | 621 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 D | open.c | 320 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 D | syscall-args-o32.c.inc | 321 [ 320] = 6, /* fallocate */
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | sys_sparc32.c | 232 COMPAT_SYSCALL_DEFINE6(fallocate, int, fd, int, mode, u32, offhi, u32, offlo, in COMPAT_SYSCALL_DEFINE6() argument
|
/openbmc/qemu/system/ |
H A D | trace-events | 35 …bool need_madvise, bool need_fallocate, int ret) "%s@%p + 0x%zx: madvise: %d fallocate: %d ret: %d"
|
/openbmc/linux/ipc/ |
H A D | shm.c | 644 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/arch/parisc/kernel/syscalls/ |
H A D | syscall.tbl | 345 305 32 fallocate parisc_fallocate 346 305 64 fallocate sys_fallocate
|
/openbmc/qemu/linux-user/hppa/ |
H A D | syscall.tbl | 345 305 32 fallocate parisc_fallocate 346 305 64 fallocate sys_fallocate
|
/openbmc/linux/drivers/target/ |
H A D | target_core_file.c | 574 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 D | syscall.tbl | 404 309 32 fallocate sys_ppc_fallocate compat_sys_fallocate 405 309 64 fallocate sys_fallocate
|
/openbmc/qemu/linux-user/ppc/ |
H A D | syscall.tbl | 404 309 32 fallocate sys_ppc_fallocate compat_sys_fallocate 405 309 64 fallocate sys_fallocate
|