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

1 2 3 4

  /external/ltp/lib/
tst_supported_fs_types.c 42 static int has_mkfs(const char *fs_type)
47 sprintf(buf, "mkfs.%s >/dev/null 2>&1", fs_type);
52 tst_res(TINFO, "mkfs.%s does not exist", fs_type);
56 tst_res(TINFO, "mkfs.%s does exist", fs_type);
60 static int has_kernel_support(const char *fs_type)
70 mount("/dev/zero", tmpdir, fs_type, 0, NULL);
72 tst_res(TINFO, "Kernel supports %s", fs_type);
91 sprintf(buf, "mount.%s >/dev/null 2>&1", fs_type);
95 tst_res(TINFO, "Filesystem %s is not supported", fs_type);
99 tst_res(TINFO, "FUSE does support %s", fs_type);
    [all...]
tst_mkfs.c 26 const char *dev, const char *fs_type,
41 if (!fs_type) {
43 "%s:%d: No fs_type specified", file, lineno);
47 snprintf(mkfs, sizeof(mkfs), "mkfs.%s", fs_type);
90 dev, fs_type, fs_opts_str, extra_opts_str);
107 const char *fs_type; local
109 fs_type = getenv("LTP_DEV_FS_TYPE");
111 if (fs_type)
112 return fs_type;
  /external/ltp/include/
tst_mkfs.h 23 * @fs_type: filesystem type
28 const char *dev, const char *fs_type,
31 #define SAFE_MKFS(device, fs_type, fs_opts, extra_opts) \
32 tst_mkfs_(__FILE__, __LINE__, NULL, device, fs_type, \
tst_device.h 23 const char *fs_type; member in struct:tst_device
  /external/ltp/testcases/kernel/syscalls/swapon/
swapon01.c 35 static long fs_type; variable
42 if (fs_type == TST_BTRFS_MAGIC && errno == EINVAL) {
87 switch ((fs_type = tst_fs_type(cleanup, "."))) {
92 tst_fs_type_name(fs_type));
swapon02.c 50 static long fs_type; variable
84 if (fs_type == TST_BTRFS_MAGIC && errno == EINVAL) {
135 switch ((fs_type = tst_fs_type(cleanup, "."))) {
140 tst_fs_type_name(fs_type));
149 if (fs_type != TST_BTRFS_MAGIC || errno != EINVAL)
  /external/ltp/testcases/kernel/syscalls/mount/
mount02.c 59 static const char *fs_type; variable
78 const char **fs_type; member in struct:test_case
85 {&char_dev, &mntpoint, &fs_type, 0, ENOTBLK, NULL, NULL},
86 {&device, &mntpoint, &fs_type, 0, EBUSY, do_mount, do_umount},
87 {&device, &mntpoint, &fs_type, MS_REMOUNT | MS_RDONLY, EBUSY,
89 {&null, &mntpoint, &fs_type, 0, EINVAL, NULL, NULL},
91 {&device, &mntpoint, &fs_type, MS_REMOUNT, EINVAL, NULL, NULL},
92 {&fault, &mntpoint, &fs_type, 0, EFAULT, NULL, NULL},
94 {&device, &long_path, &fs_type, 0, ENAMETOOLONG, NULL, NULL},
95 {&device, &nonexistent, &fs_type, 0, ENOENT, NULL, NULL}
    [all...]
mount01.c 40 static const char *fs_type; variable
54 TEST(mount(device, MNTPOINT, fs_type, 0, NULL));
80 fs_type = tst_dev_fs_type();
86 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
mount04.c 38 static const char *fs_type; variable
46 TEST(mount(device, mntpoint, fs_type, 0, NULL));
95 fs_type = tst_dev_fs_type();
101 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
mount06.c 53 static const char *fs_type; variable
72 SAFE_MOUNT(cleanup, device, mntpoint_src, fs_type, 0, NULL);
74 TEST(mount(mntpoint_src, mntpoint_des, fs_type, MS_MOVE, NULL));
124 fs_type = tst_dev_fs_type();
130 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
  /external/ltp/testcases/commands/mkfs/
mkfs01.sh 45 FS_TYPE="$2"
50 if [ -n "$FS_TYPE" ]; then
51 tst_test_cmds mkfs.${FS_TYPE}
62 tst_brk TCONF "Cannot mount ${FS_TYPE}, missing driver?"
112 local fs_type=$2
117 if [ -n "$fs_type" ]; then
118 mkfs_op="-t $fs_type"
121 if [ "$fs_type" = "xfs" ] || [ "$fs_type" = "btrfs" ]; then
128 if [ $? -eq 0 ] && [ "$fs_type" = "ntfs" ]; the
    [all...]
  /external/freetype/src/base/
ftfstype.c 33 /* first, try to get the fs_type directly from the font */
47 extra.fs_type != 0 )
48 return extra.fs_type;
  /external/ltp/testcases/kernel/syscalls/swapoff/
swapoff01.c 36 static long fs_type; variable
58 if (fs_type == TST_BTRFS_MAGIC && errno == EINVAL) {
89 switch ((fs_type = tst_fs_type(cleanup, "."))) {
94 tst_fs_type_name(fs_type));
  /external/ltp/testcases/kernel/syscalls/rename/
rename11.c 57 static const char *fs_type; variable
101 fs_type = tst_dev_fs_type();
107 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
110 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL);
152 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY,
161 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT, NULL);
  /external/autotest/client/site_tests/build_RootFilesystemSize/
build_RootFilesystemSize.py 42 fs_type = output_columns[1]
50 if fs_type == 'squashfs':
  /external/ltp/testcases/kernel/syscalls/read/
read02.c 58 static long fs_type; variable
81 tst_fs_type_name(fs_type));
122 fs_type = tst_fs_type(".");
123 if (fs_type != TST_TMPFS_MAGIC)
  /external/libbrillo/brillo/imageloader/
manifest_unittest.cc 15 const std::string fs_type = R"("ext4")"; local
25 "fs-type":)" + fs_type + R"(,
40 EXPECT_EQ(manifest.fs_type(), FileSystem::kExt4);
manifest.cc 128 // The fs_type field is optional, and squashfs by default.
130 std::string fs_type; local
131 if (manifest_dict->GetString(kFSType, &fs_type)) {
132 if (fs_type == "ext4") {
134 } else if (fs_type == "squashfs") {
137 LOG(ERROR) << "Unsupported file system type: " << fs_type;
175 FileSystem Manifest::fs_type() const { function in class:brillo::imageloader::Manifest
  /external/ltp/testcases/kernel/syscalls/fchown/
fchown04.c 98 const char *fs_type; local
106 fs_type = tst_dev_fs_type();
116 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
118 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, 0, NULL);
121 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type,
  /external/ltp/testcases/kernel/syscalls/umount2/
umount2_01.c 47 static const char *fs_type; variable
75 fs_type = tst_dev_fs_type();
81 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
94 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL);
125 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL);
  /external/ltp/testcases/kernel/syscalls/lchown/
lchown03.c 89 const char *fs_type; local
99 fs_type = tst_dev_fs_type();
110 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
112 SAFE_MOUNT(cleanup, device, TEST_EROFS, fs_type, MS_RDONLY, NULL);
  /external/ltp/testcases/kernel/syscalls/mknod/
mknod07.c 112 const char *fs_type; local
120 fs_type = tst_dev_fs_type();
126 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
132 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL);
  /external/ltp/testcases/kernel/syscalls/renameat2/
renameat201.c 54 static long fs_type; variable
110 fs_type = tst_fs_type(cleanup, ".");
141 && fs_type == TST_BTRFS_MAGIC) {
144 tst_fs_type_name(fs_type));
renameat202.c 45 static long fs_type; variable
88 fs_type = tst_fs_type(cleanup, ".");
126 if (TEST_ERRNO == EINVAL && TST_BTRFS_MAGIC == fs_type) {
129 tst_fs_type_name(fs_type));
  /external/ltp/testcases/kernel/syscalls/umount/
umount01.c 35 tst_device->fs_type, 0, NULL);

Completed in 974 milliseconds

1 2 3 4