HomeSort by relevance Sort by last modified time
    Searched refs:fallocate (Results 1 - 25 of 61) sorted by null

1 2 3

  /bionic/libc/arch-arm64/syscalls/
fallocate.S 5 ENTRY(fallocate) function
14 END(fallocate)
16 ALIAS_SYMBOL(fallocate64, fallocate)
  /bionic/libc/arch-x86_64/syscalls/
fallocate.S 5 ENTRY(fallocate) function
16 END(fallocate)
18 ALIAS_SYMBOL(fallocate64, fallocate)
  /bionic/libc/arch-mips64/syscalls/
fallocate.S 5 ENTRY(fallocate) function
25 END(fallocate)
27 ALIAS_SYMBOL(fallocate64, fallocate)
  /bionic/libc/bionic/
posix_fallocate.cpp 35 return (fallocate(fd, 0, offset, length) == 0) ? 0 : errno;
legacy_32_bit_support.cpp 100 // There is no fallocate for 32-bit off_t, so we need to widen and call fallocate64.
101 int fallocate(int fd, int mode, off_t offset, off_t length) { function
  /external/strace/
fallocate.c 9 SYS_FUNC(fallocate)
  /external/ltp/testcases/kernel/syscalls/fallocate/
fallocate05.c 29 #include "lapi/fallocate.h"
33 #define TESTED_FLAGS "fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)"
44 if (fallocate(fd, 0, 0, FALLOCATE_SIZE)) {
46 tst_res(TCONF | TERRNO, "fallocate() not supported");
52 "fallocate(fd, 0, 0, %i)", FALLOCATE_SIZE);
64 ret = fallocate(fd, 0, FALLOCATE_SIZE, FALLOCATE_SIZE);
66 tst_brk(TFAIL, "fallocate() succeeded unexpectedly");
69 tst_brk(TFAIL | TERRNO, "fallocate() should fail with ENOSPC");
71 tst_res(TPASS | TERRNO, "fallocate() on full FS");
73 ret = fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, FALLOCATE_SIZE)
    [all...]
fallocate04.c 34 #include "lapi/fallocate.h"
40 #define MNTPOINT "fallocate"
41 #define FNAME MNTPOINT "/fallocate.txt"
98 if (fallocate(fd, 0, 0, buf_size) == -1) {
100 tst_brk(TCONF, "fallocate() not supported");
101 tst_brk(TFAIL | TERRNO, "fallocate() failed");
125 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
131 tst_brk(TFAIL | TERRNO, "fallocate() failed");
141 "fallocate() or lseek() failed");
184 if (fallocate(fd, FALLOC_FL_ZERO_RANGE, block_size - 1
    [all...]
fallocate01.c 32 * TEST TITLE : Basic test for fallocate()
45 * (Working of fallocate under 2 modes)
50 * fallocate() in puts are generated randomly
63 * This is a test case for fallocate() system call.
64 * This test suite tests basic working of fallocate under different modes
65 * It trys to fallocate memory blocks and write into that block
72 * Setup file on which fallocate is to be called
104 #include "lapi/fallocate.h"
228 TEST(fallocate(fd, mode, offset, len));
233 "fallocate system call is not implemented")
    [all...]
fallocate02.c 24 * check fallocate() with various error conditions that should produce
43 #include "lapi/fallocate.h"
131 TEST(fallocate(*test_data[i].fd, test_data[i].mode,
138 "fallocate system call is not implemented");
141 "fallocate(%s:%d, %d, %" PRId64 ", %" PRId64 ") "
148 "fallocate(%s:%d, %d, %" PRId64 ", %" PRId64 ") "
fallocate03.c 32 * TEST TITLE : fallocate
45 * (Working of fallocate on a sparse file)
50 * fallocate() in-puts are specified through test_data
63 * This is a test case for fallocate() system call.
64 * This test suite tests working of fallocate on sparse file
65 * fallocate is tested for different offsets
71 * Setup file on which fallocate is to be called
100 #include "lapi/fallocate.h"
241 TEST(fallocate
251 "fallocate system call is not implemented")
    [all...]
  /external/autotest/server/site_tests/network_DiskFull/
hog_disk.sh 43 fallocate --length "$mount_size_bytes" "$temp_file" 2>/dev/null || true
  /external/ltp/include/lapi/
fallocate.h 55 static inline long fallocate(int fd, int mode, loff_t offset, loff_t len) function
  /external/strace/tests/
fallocate.c 2 * Check decoding of fallocate syscall.
51 long rc = fallocate(bogus_fd, bogus_mode, bogus_offset, bogus_len);
61 printf("fallocate(%d, ", bogus_fd);
  /external/strace/tests-m32/
fallocate.c 2 * Check decoding of fallocate syscall.
51 long rc = fallocate(bogus_fd, bogus_mode, bogus_offset, bogus_len);
61 printf("fallocate(%d, ", bogus_fd);
  /external/strace/tests-mx32/
fallocate.c 2 * Check decoding of fallocate syscall.
51 long rc = fallocate(bogus_fd, bogus_mode, bogus_offset, bogus_len);
61 printf("fallocate(%d, ", bogus_fd);
  /external/u-boot/test/fs/
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
fs-test.sh 24 PREREQ_BINS="md5sum mkfs mount umount dd fallocate mkdir"
129 fallocate -l 3G "$1" &> /dev/null
131 echo fallocate failed - using dd instead
  /external/f2fs-tools/mkfs/
f2fs_format_utils.c 76 if (fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
78 MSG(0, "Info: fallocate(PUNCH_HOLE|KEEP_SIZE) is failed\n");
  /bionic/libc/include/
fcntl.h 82 int fallocate(int __fd, int __mode, off_t __offset, off_t __length) __RENAME_IF_FILE_OFFSET64(fallocate64) __INTRODUCED_IN(21);
  /bionic/tests/
fcntl_test.cpp 106 // fallocate/fallocate64 set errno.
110 ASSERT_EQ(-1, fallocate(tf.fd, 0, 0, -1));
126 TEST(fcntl, fallocate) {
133 ASSERT_EQ(0, fallocate(tf.fd, 0, 0, 1));
297 ASSERT_EQ(-1, fallocate(tf.fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 0, 1));
  /external/linux-kselftest/tools/testing/selftests/memfd/
memfd_test.c 328 r = fallocate(fd,
333 printf("fallocate(PUNCH_HOLE) failed: %m\n");
392 r = fallocate(fd,
397 printf("fallocate(PUNCH_HOLE) didn't fail as expected\n");
449 r = fallocate(fd,
454 printf("fallocate(ALLOC) failed: %m\n");
471 r = fallocate(fd,
476 printf("fallocate(ALLOC) didn't fail as expected\n");
  /external/e2fsprogs/debugfs/
debug_cmds.ct 164 fallocate;
  /external/syzkaller/tools/
create-gce-image.sh 83 fallocate -l 2G disk.raw
  /external/ltp/testcases/kernel/syscalls/memfd_create/
memfd_create_common.c 29 #include "lapi/fallocate.h"
47 r = fallocate(fd, mode, offset, len);
50 "fallocate(%d, %d, %ld, %ld) failed", fd, mode,
55 "fallocate(%d, %d, %ld, %ld) succeeded", fd, mode,
66 r = fallocate(fd, mode, offset, len);
69 "fallocate(%d, %d, %ld, %ld) succeeded unexpectedly",
76 "fallocate(%d, %d, %ld, %ld) failed as expected", fd,

Completed in 677 milliseconds

1 2 3