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

1 2 3 4 5

  /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,
40 if (!fs_type) {
42 "%s:%d: No fs_type specified", file, lineno);
46 snprintf(mkfs, sizeof(mkfs), "mkfs.%s", fs_type);
83 dev, fs_type, fs_opts_str, extra_opt ? extra_opt : "");
100 const char *fs_type; local
102 fs_type = getenv("LTP_DEV_FS_TYPE");
104 if (fs_type)
105 return fs_type;
  /external/ltp/include/
tst_mkfs.h 23 * @fs_type: filesystem type
27 const char *dev, const char *fs_type,
30 #define SAFE_MKFS(device, fs_type, fs_opts, extra_opt) \
31 tst_mkfs_(__FILE__, __LINE__, NULL, device, fs_type, \
tst_device.h 23 const char *fs_type; member in struct:tst_device
  /external/syslinux/libinstaller/
syslxfs.h 15 /* Global fs_type for handling fat, ntfs, ext2/3/4, btrfs, xfs and ufs1/2 */
27 extern int fs_type;
fs.c 34 void syslinux_make_bootsect(void *bs, int fs_type)
36 if (fs_type == VFAT) {
43 } else if (fs_type == NTFS) {
53 static const char *check_fat_bootsect(const void *bs, int *fs_type)
127 if (fs_type)
128 *fs_type = VFAT;
133 static const char *check_ntfs_bootsect(const void *bs, int *fs_type)
142 if (fs_type)
143 *fs_type = NTFS;
148 const char *syslinux_check_bootsect(const void *bs, int *fs_type)
    [all...]
syslinux.h 54 void syslinux_make_bootsect(void *bs, int fs_type);
57 const char *syslinux_check_bootsect(const void *bs, int *fs_type);
  /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));
  /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_check_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));
  /system/core/fastboot/
fs.h 9 const struct fs_generator* fs_get_generator(const std::string& 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)
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
fstab.h 63 const char *fs_type; /* FSTAB_* from fs_mntops */ member in struct:fstab
  /external/ltp/testcases/kernel/syscalls/fchmod/
fchmod06.c 114 const char *fs_type; local
124 fs_type = tst_dev_fs_type();
130 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
134 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, 0, NULL);
140 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type,
  /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/link/
link08.c 123 const char *fs_type; local
133 fs_type = tst_dev_fs_type();
146 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
148 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, 0, NULL);
152 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type,
  /external/ltp/testcases/kernel/syscalls/mkdirat/
mkdirat02.c 87 const char *fs_type; local
97 fs_type = tst_dev_fs_type();
119 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
122 SAFE_MOUNT(cleanup, device, "test_dir/mntpoint", fs_type, MS_RDONLY,
127 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, MS_RDONLY, NULL);
  /external/ltp/testcases/kernel/syscalls/rmdir/
rmdir02.c 124 const char *fs_type; local
134 fs_type = tst_dev_fs_type();
140 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
142 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL);
144 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY,

Completed in 353 milliseconds

1 2 3 4 5