Home
last modified time | relevance | path

Searched refs:fstype (Results 1 – 25 of 60) sorted by relevance

123

/third_party/ltp/testcases/kernel/fs/fs_maim/
Dpartbeat32 $fstype=$ARGV[2];
35 if ($fstype =~ /jfs\b/i) {
38 elsif ($fstype =~ /ext2\b/i) {
41 elsif ($fstype =~ /ext3\b/i) {
44 elsif ($fstype =~ /reiserfs\b/i) {
53 $tmp=`fsck -t $fstype -a $target`;
62 $tmp=`mount -t $fstype $target $device`;
73 $tmp=`fsck -t $fstype -a $target`;
76 `mount -t $fstype $target $device`;
Dmaimparts42 $fstype=$ARGV[2];
77 $tmp = `./partbeat /dev/$target$k $iterations $fstype`;
DREADME35 Use: maimparts <device like hda, sda, etc.> <iterations> <fstype like jfs, ext3, etc>
/third_party/ltp/testcases/kernel/fs/fs_readonly/
Dtest_robind.sh196 for fstype in $FSTYPES; do
197 if [ "$fstype" = "reiserfs" ]; then
199 elif echo "$fstype" | grep -q "ext"; then
201 elif [ "$fstype" = "xfs" ]; then
203 elif [ "$fstype" = "btrfs" ]; then
207 if [ "$fstype" != "ramfs" ]; then
208 tst_mkfs $fstype $device $opts
211 mount -t $fstype $device dir1
237 testdir dir1 $fstype false
238 testdir dir2-bound $fstype false
[all …]
/third_party/ltp/libs/libltpswap/
Dlibswap.c44 const char *fstype = tst_fs_type_name(fs_type); in is_swap_supported() local
49 tst_brk(TCONF, "mkswap on %s not supported", fstype); in is_swap_supported()
51 tst_brk(TFAIL, "mkswap on %s failed", fstype); in is_swap_supported()
57 tst_brk(TCONF, "Swapfile on %s not implemented", fstype); in is_swap_supported()
59 tst_brk(TFAIL | TTERRNO, "swapon on %s failed", fstype); in is_swap_supported()
64 tst_brk(TFAIL | TTERRNO, "swapoff on %s failed", fstype); in is_swap_supported()
/third_party/ltp/testcases/kernel/syscalls/mount/
Dmount05.c46 static char *fstype = "ext2"; variable
54 {"T:", NULL, &fstype},
71 TEST(mount(mntpoint_src, mntpoint_des, fstype, MS_BIND, NULL)); in main()
107 tst_mkfs(NULL, device, fstype, NULL, NULL); in setup()
109 SAFE_MOUNT(cleanup, device, mntpoint_src, fstype, 0, NULL); in setup()
/third_party/musl/src/linux/
Dmount.c4 int mount(const char *special, const char *dir, const char *fstype, unsigned long flags, const void… in mount() argument
6 return syscall(SYS_mount, special, dir, fstype, flags, data); in mount()
/third_party/e2fsprogs/misc/
Dfsck.c120 static char *fstype = NULL; variable
718 else if (fstype && strncmp(fstype, "no", 2) && in fsck_device()
719 strncmp(fstype, "opts=", 5) && strncmp(fstype, "loop", 4) && in fsck_device()
720 !strchr(fstype, ',')) in fsck_device()
721 type = fstype; in fsck_device()
1218 if (fstype) in PRS()
1226 fstype = string_copy(tmp); in PRS()
1227 compile_fs_type(fstype, &fs_type_compiled); in PRS()
/third_party/ltp/testcases/kernel/fs/mongo/
Dtest.sh62 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=reiserfs dev=/dev/loop0 dir=$TEST_…
80 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=jfs dev=/dev/loop0 dir=$TEST_DIR …
/third_party/ltp/testcases/kernel/security/integrity/ima/
DREADME.md128 find / \( -fstype rootfs -o -fstype ext4 -o -fstype btrfs -o -fstype xfs \) -exec sh -c "< '{}'" \;
/third_party/selinux/libsepol/include/sepol/policydb/
Dservices.h231 extern int sepol_fs_use(const char *fstype, /* IN */
240 extern int sepol_genfs_sid(const char *fstype, /* IN */
/third_party/e2fsprogs/scrub/
De2scrub.in129 local fstype="$(lsblk -o FSTYPE -n "${dev}" 2> /dev/null)"
131 case "${fstype}" in
/third_party/NuttX/include/nuttx/fs/
Dautomount.h88 FAR const char *fstype; /* Type of file system */ member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dwpa_debug.c151 char *tmp2, *tmp_path, *fstype; in wpa_debug_open_linux_tracing() local
155 fstype = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing()
156 if (fstype && strcmp(fstype, "debugfs") == 0) { in wpa_debug_open_linux_tracing()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dwpa_debug.c151 char *tmp2, *tmp_path, *fstype; in wpa_debug_open_linux_tracing() local
155 fstype = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing()
156 if (fstype && strcmp(fstype, "debugfs") == 0) { in wpa_debug_open_linux_tracing()
/third_party/e2fsprogs/lib/blkid/
Dblkid.h77 int blkid_known_fstype(const char *fstype);
Dblkid.h.in77 int blkid_known_fstype(const char *fstype);
/third_party/glib/gio/
Dglocalfile.c931 const char *fstype; in g_local_file_query_filesystem_info() local
1050 fstype = statfs_buffer.f_fstypename; in g_local_file_query_filesystem_info()
1052 fstype = get_fs_type (statfs_buffer.f_type); in g_local_file_query_filesystem_info()
1057 fstype = statfs_buffer.f_fstypename; in g_local_file_query_filesystem_info()
1059 fstype = statfs_buffer.f_basetype; in g_local_file_query_filesystem_info()
1061 fstype = NULL; in g_local_file_query_filesystem_info()
1065 if (fstype && in g_local_file_query_filesystem_info()
1068 g_file_info_set_attribute_string (info, G_FILE_ATTRIBUTE_FILESYSTEM_TYPE, fstype); in g_local_file_query_filesystem_info()
1085 is_remote_fs_type (fstype)); in g_local_file_query_filesystem_info()
/third_party/ntfs-3g/src/
Dntfs-3g.c4148 fuse_fstype fstype = FSTYPE_NONE; in get_fuse_fstype() local
4158 fstype = FSTYPE_FUSEBLK; in get_fuse_fstype()
4162 fstype = FSTYPE_FUSE; in get_fuse_fstype()
4166 return fstype; in get_fuse_fstype()
4177 fuse_fstype fstype; in load_fuse_module() local
4196 fstype = get_fuse_fstype(); in load_fuse_module()
4197 if (fstype != FSTYPE_NONE) in load_fuse_module()
4200 return fstype; in load_fuse_module()
4331 fuse_fstype fstype = FSTYPE_UNKNOWN; in main() local
4423 fstype = get_fuse_fstype(); in main()
[all …]
Dlowntfs-3g.c4440 fuse_fstype fstype = FSTYPE_NONE; local
4450 fstype = FSTYPE_FUSEBLK;
4454 fstype = FSTYPE_FUSE;
4458 return fstype;
4469 fuse_fstype fstype; local
4488 fstype = get_fuse_fstype();
4489 if (fstype != FSTYPE_NONE)
4492 return fstype;
4603 fuse_fstype fstype = FSTYPE_UNKNOWN; local
4695 fstype = get_fuse_fstype();
[all …]
/third_party/selinux/checkpolicy/
Dcheckpolicy.c391 char ans[80 + 1], *path, *fstype; in main() local
1078 fstype = strdup(ans); in main()
1105 sepol_genfs_sid(fstype, path, tclass, &ssid); in main()
1107 free(fstype); in main()
Dpolicy_define.c5468 static int define_genfs_context_helper(char *fstype, int has_type) in define_genfs_context_helper() argument
5483 free(fstype); in define_genfs_context_helper()
5493 if (strcmp(fstype, genfs->fstype) <= 0) in define_genfs_context_helper()
5497 if (!genfs || strcmp(fstype, genfs->fstype)) { in define_genfs_context_helper()
5504 newgenfs->fstype = fstype; in define_genfs_context_helper()
5512 free(fstype); in define_genfs_context_helper()
5513 fstype = NULL; in define_genfs_context_helper()
5580 genfs->fstype, newc->u.name); in define_genfs_context_helper()
5600 if (fstype) in define_genfs_context_helper()
5601 free(fstype); in define_genfs_context_helper()
/third_party/toybox/toys/other/
Dblkid.c39 struct fstype { struct
/third_party/selinux/libsepol/src/
Dservices.c2233 int sepol_genfs_sid(const char *fstype, in sepol_genfs_sid() argument
2244 cmp = strcmp(fstype, genfs->fstype); in sepol_genfs_sid()
2280 int sepol_fs_use(const char *fstype, in sepol_fs_use() argument
2288 if (strcmp(fstype, c->u.name) == 0) in sepol_fs_use()
2304 rc = sepol_genfs_sid(fstype, "/", policydb->dir_class, sid); in sepol_fs_use()
Dpolicydb.c1523 free(g->fstype); in policydb_destroy()
3180 newgenfs->fstype = malloc(len + 1); in genfs_read()
3181 if (!newgenfs->fstype) { in genfs_read()
3185 rc = next_entry(newgenfs->fstype, fp, len); in genfs_read()
3187 free(newgenfs->fstype); in genfs_read()
3191 newgenfs->fstype[len] = 0; in genfs_read()
3194 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
3196 newgenfs->fstype); in genfs_read()
3197 free(newgenfs->fstype); in genfs_read()
3201 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
[all …]

123