Home
last modified time | relevance | path

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

12

/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/rust/crates/nix/test/
Dtest_nmount.rs17 let fstype = CString::new("fstype").unwrap(); in ok() localVariable
20 .str_opt(&fstype, &nullfs) in ok()
/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/rust/crates/nix/src/mount/
Dlinux.rs68 fstype: Option<&P3>, in mount()
85 with_opt_nix_path(fstype, |ty| { in mount()
/third_party/selinux/libsepol/include/sepol/policydb/
Dservices.h240 extern int sepol_fs_use(const char *fstype, /* IN */
249 extern int sepol_genfs_sid(const char *fstype, /* IN */
/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/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/NuttX/include/nuttx/fs/
Dautomount.h88 FAR const char *fstype; /* Type of file system */ member
/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.c5574 static int define_genfs_context_helper(char *fstype, int has_type) in define_genfs_context_helper() argument
5589 free(fstype); in define_genfs_context_helper()
5599 if (strcmp(fstype, genfs->fstype) <= 0) in define_genfs_context_helper()
5603 if (!genfs || strcmp(fstype, genfs->fstype)) { in define_genfs_context_helper()
5610 newgenfs->fstype = fstype; in define_genfs_context_helper()
5618 free(fstype); in define_genfs_context_helper()
5619 fstype = NULL; in define_genfs_context_helper()
5686 genfs->fstype, newc->u.name); in define_genfs_context_helper()
5706 if (fstype) in define_genfs_context_helper()
5707 free(fstype); in define_genfs_context_helper()
/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.c1537 free(g->fstype); in policydb_destroy()
3205 newgenfs->fstype = malloc(len + 1); in genfs_read()
3206 if (!newgenfs->fstype) { in genfs_read()
3210 rc = next_entry(newgenfs->fstype, fp, len); in genfs_read()
3212 free(newgenfs->fstype); in genfs_read()
3216 newgenfs->fstype[len] = 0; in genfs_read()
3219 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
3221 newgenfs->fstype); in genfs_read()
3222 free(newgenfs->fstype); in genfs_read()
3226 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
[all …]
Dkernel_to_conf.c2532 char *fstype, *name, *ctx; in write_genfscon_rules_to_conf() local
2544 fstype = genfs->fstype; in write_genfscon_rules_to_conf()
2579 fstype, name, file_type, ctx); in write_genfscon_rules_to_conf()
2582 fstype, name, ctx); in write_genfscon_rules_to_conf()
Dkernel_to_cil.c2669 char *fstype, *name, *ctx; in write_genfscon_rules_to_cil() local
2681 fstype = genfs->fstype; in write_genfscon_rules_to_cil()
2716 fstype, name, file_type, ctx); in write_genfscon_rules_to_cil()
2719 fstype, name, ctx); in write_genfscon_rules_to_cil()
/third_party/toybox/toys/other/
Dblkid.c39 struct fstype { struct
/third_party/selinux/secilc/docs/
Dcil_file_labeling_statements.md120 (fsuse fstype fsname context_id)
136 <td align="left"><p><code>fstype</code></p></td>

12