/third_party/ltp/testcases/kernel/fs/fs_maim/ |
D | partbeat | 32 $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`;
|
D | maimparts | 42 $fstype=$ARGV[2]; 77 $tmp = `./partbeat /dev/$target$k $iterations $fstype`;
|
D | README | 35 Use: maimparts <device like hda, sda, etc.> <iterations> <fstype like jfs, ext3, etc>
|
/third_party/ltp/testcases/kernel/fs/fs_readonly/ |
D | test_robind.sh | 196 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/ |
D | libswap.c | 44 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/ |
D | mount05.c | 46 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/ |
D | mount.c | 4 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/ |
D | test_nmount.rs | 17 let fstype = CString::new("fstype").unwrap(); in ok() localVariable 20 .str_opt(&fstype, &nullfs) in ok()
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
D | test.sh | 62 ./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/ |
D | README.md | 128 find / \( -fstype rootfs -o -fstype ext4 -o -fstype btrfs -o -fstype xfs \) -exec sh -c "< '{}'" \;
|
/third_party/rust/crates/nix/src/mount/ |
D | linux.rs | 68 fstype: Option<&P3>, in mount() 85 with_opt_nix_path(fstype, |ty| { in mount()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | services.h | 240 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/ |
D | wpa_debug.c | 151 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/ |
D | wpa_debug.c | 151 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/ |
D | automount.h | 88 FAR const char *fstype; /* Type of file system */ member
|
/third_party/ntfs-3g/src/ |
D | ntfs-3g.c | 4148 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 …]
|
D | lowntfs-3g.c | 4440 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/ |
D | checkpolicy.c | 391 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()
|
D | policy_define.c | 5574 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/ |
D | services.c | 2233 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()
|
D | policydb.c | 1537 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 …]
|
D | kernel_to_conf.c | 2532 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()
|
D | kernel_to_cil.c | 2669 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/ |
D | blkid.c | 39 struct fstype { struct
|
/third_party/selinux/secilc/docs/ |
D | cil_file_labeling_statements.md | 120 (fsuse fstype fsname context_id) 136 <td align="left"><p><code>fstype</code></p></td>
|