Home
last modified time | relevance | path

Searched refs:fstype (Results 1 - 25 of 30) sorted by relevance

12

/third_party/ltp/testcases/kernel/fs/fs_readonly/
H A 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" = "f2fs" ]; then
205 elif [ "$fstype" = "btrfs" ]; then
209 if [ "$fstype" != "ramfs" ]; then
210 tst_mkfs $fstype $device $opts
213 mount -t $fstype $device dir1
239 testdir dir1 $fstype fals
[all...]
/third_party/ltp/libs/libltpswap/
H A 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/
H A 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/
H A Dmount.c4 int mount(const char *special, const char *dir, const char *fstype, unsigned long flags, const void *data) in mount() argument
6 return syscall(SYS_mount, special, dir, fstype, flags, data); in mount()
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dtest.sh62 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=reiserfs dev=/dev/loop0 dir=$TEST_DIR RUN log=$LOG_DIR/reiserlog > /dev/null 2>&1
80 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=jfs dev=/dev/loop0 dir=$TEST_DIR RUN log=$LOG_DIR/jfslog
/third_party/rust/crates/nix/test/
H A Dtest_nmount.rs17 let fstype = CString::new("fstype").unwrap(); in ok()
20 .str_opt(&fstype, &nullfs) in ok()
48 assert_eq!(e.errmsg(), Some("Invalid fstype")); in bad_fstype()
/third_party/rust/crates/nix/src/mount/
H A Dlinux.rs68 fstype: Option<&P3>, in mount()
85 with_opt_nix_path(fstype, |ty| { in mount()
/third_party/selinux/libsepol/include/sepol/policydb/
H A Dservices.h240 extern int sepol_fs_use(const char *fstype, /* IN */
249 extern int sepol_genfs_sid(const char *fstype, /* IN */
H A Dpolicydb.h343 char *name; /* name of initial SID, fs, netif, fstype, path */
387 char *fstype; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A 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/
H A Dautomount.h88 FAR const char *fstype; /* Type of file system */ member
/third_party/ntfs-3g/src/
H A Dntfs-3g.c4149 fuse_fstype fstype = FSTYPE_NONE; in get_fuse_fstype() local
4159 fstype = FSTYPE_FUSEBLK; in get_fuse_fstype()
4163 fstype = FSTYPE_FUSE; in get_fuse_fstype()
4167 return fstype; in get_fuse_fstype()
4178 fuse_fstype fstype; in load_fuse_module() local
4197 fstype = get_fuse_fstype(); in load_fuse_module()
4198 if (fstype != FSTYPE_NONE) in load_fuse_module()
4201 return fstype; in load_fuse_module()
4336 fuse_fstype fstype = FSTYPE_UNKNOWN; in main() local
4428 fstype in main()
[all...]
H A 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
[all...]
/third_party/selinux/checkpolicy/
H A Dcheckpolicy.c391 char ans[80 + 1], *path, *fstype; in main() local
1051 printf("fstype? "); in main()
1075 printf("fstype? "); in main()
1078 fstype = strdup(ans); in main()
1105 sepol_genfs_sid(fstype, path, tclass, &ssid); in main()
1107 free(fstype); in main()
H A 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 in define_genfs_context_helper()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dwpa_debug.c158 char *tmp2, *tmp_path, *fstype; in wpa_debug_open_linux_tracing() local
162 fstype = strtok_r(NULL, " ", &tmp2); in wpa_debug_open_linux_tracing()
163 if (fstype && strcmp(fstype, "debugfs") == 0) { in wpa_debug_open_linux_tracing()
/third_party/selinux/libsepol/src/
H A Dservices.c2234 int sepol_genfs_sid(const char *fstype, in sepol_genfs_sid() argument
2245 cmp = strcmp(fstype, genfs->fstype); in sepol_genfs_sid()
2281 int sepol_fs_use(const char *fstype, in sepol_fs_use() argument
2289 if (strcmp(fstype, c->u.name) == 0) in sepol_fs_use()
2305 rc = sepol_genfs_sid(fstype, "/", policydb->dir_class, sid); in sepol_fs_use()
H A Dpolicydb.c1536 free(g->fstype); in policydb_destroy()
3204 newgenfs->fstype = malloc(len + 1); in genfs_read()
3205 if (!newgenfs->fstype) { in genfs_read()
3209 rc = next_entry(newgenfs->fstype, fp, len); in genfs_read()
3211 free(newgenfs->fstype); in genfs_read()
3215 newgenfs->fstype[len] = 0; in genfs_read()
3218 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
3219 ERR(fp->handle, "dup genfs fstype %s", in genfs_read()
3220 newgenfs->fstype); in genfs_read()
[all...]
H A 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()
H A Dkernel_to_conf.c2537 char *fstype, *name, *ctx; in write_genfscon_rules_to_conf() local
2549 fstype = genfs->fstype; in write_genfscon_rules_to_conf()
2584 fstype, name, file_type, ctx); in write_genfscon_rules_to_conf()
2587 fstype, name, ctx); in write_genfscon_rules_to_conf()
H A Dexpand.c2306 newgenfs->fstype = strdup(genfs->fstype); in genfs_copy()
2307 if (!newgenfs->fstype) { in genfs_copy()
H A Dwrite.c1617 len = strlen(genfs->fstype); in genfs_write()
1622 items = put_entry(genfs->fstype, 1, len, fp); in genfs_write()
H A Dpolicydb_validate.c1182 if (!genfs->fstype) in validate_genfs()
H A Dmodule_to_cil.c3001 cil_printf("(genfscon %s \"%s\" %s ", genfs->fstype, ocon->u.name, file_type); in genfscon_to_cil()
3003 cil_printf("(genfscon %s \"%s\" ", genfs->fstype, ocon->u.name); in genfscon_to_cil()
/third_party/toybox/toys/other/
H A Dblkid.c9 USE_FSTYPE(NEWTOY(fstype, "<1", TOYFLAG_BIN))
24 bool "fstype"
27 usage: fstype DEV...
39 struct fstype { struct
133 // Output for fstype in do_blkid()

Completed in 47 milliseconds

12