/external/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`;
|
/external/strace/tests-mx32/ |
D | mount.c | 78 static const char fstype[] = "mount_fstype"; in main() local 97 rc = mount(source, target, fstype, 15, data); in main() 99 source, target, fstype, str_ro_nosuid_nodev_noexec, in main() 102 rc = mount(source, target, fstype, MS_RELATIME | 15, data); in main() 104 source, target, fstype, in main() 108 rc = mount(source, target, fstype, MS_MGC_VAL, data); in main() 110 source, target, fstype, str_mgc_val, data, sprintrc(rc)); in main() 112 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data); in main() 114 source, target, fstype, in main() 122 rc = mount(source, target, fstype, MS_REMOUNT, data); in main() [all …]
|
/external/strace/tests-m32/ |
D | mount.c | 78 static const char fstype[] = "mount_fstype"; in main() local 97 rc = mount(source, target, fstype, 15, data); in main() 99 source, target, fstype, str_ro_nosuid_nodev_noexec, in main() 102 rc = mount(source, target, fstype, MS_RELATIME | 15, data); in main() 104 source, target, fstype, in main() 108 rc = mount(source, target, fstype, MS_MGC_VAL, data); in main() 110 source, target, fstype, str_mgc_val, data, sprintrc(rc)); in main() 112 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data); in main() 114 source, target, fstype, in main() 122 rc = mount(source, target, fstype, MS_REMOUNT, data); in main() [all …]
|
/external/strace/tests/ |
D | mount.c | 78 static const char fstype[] = "mount_fstype"; in main() local 97 rc = mount(source, target, fstype, 15, data); in main() 99 source, target, fstype, str_ro_nosuid_nodev_noexec, in main() 102 rc = mount(source, target, fstype, MS_RELATIME | 15, data); in main() 104 source, target, fstype, in main() 108 rc = mount(source, target, fstype, MS_MGC_VAL, data); in main() 110 source, target, fstype, str_mgc_val, data, sprintrc(rc)); in main() 112 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data); in main() 114 source, target, fstype, in main() 122 rc = mount(source, target, fstype, MS_REMOUNT, data); in main() [all …]
|
/external/autotest/client/bin/ |
D | partition.py | 27 def __init__(self, fstype, fs_tag, mkfs_flags=None, mount_options=None): argument 38 if not fstype or not fs_tag: 40 self.fstype = fstype 49 (self.fstype, self.mkfs_flags, 388 self.fstype = None 409 self.fstype = fs_options.fstype 516 def mkfs_exec(self, fstype): argument 520 if fstype == 'ext4': 532 fstype) 535 def mkfs(self, fstype=None, args='', record=True): argument [all …]
|
/external/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 …]
|
/external/ltp/testcases/kernel/syscalls/swapon/ |
D | libswapon.c | 61 const char *fstype = tst_fs_type_name(fs_type); in is_swap_supported() local 67 "mkswap on %s not supported", fstype); in is_swap_supported() 70 "mkswap on %s failed", fstype); in is_swap_supported() 78 "Swapfile on %s not implemented", fstype); in is_swap_supported() 81 "swapon on %s failed", fstype); in is_swap_supported() 88 "swapoff on %s failed", fstype); in is_swap_supported()
|
/external/autotest/client/samples/ |
D | filesystem | 14 part.mkfs(fstype) 17 job.run_test('fsx', dir=part.mountpoint, tag=fstype) 18 job.run_test('iozone', dir=part.mountpoint, tag=fstype) 19 job.run_test('dbench', dir=part.mountpoint, tag=fstype) 24 for fstype in ('ext2', 'ext3', 'jfs', 'xfs', 'reiserfs'):
|
D | control.fs | 20 partition.mkfs(fstype) 23 job.run_test('fsx', dir=partition.mountpoint, tag=fstype) 24 job.run_test('iozone', dir=partition.mountpoint, tag=fstype) 25 job.run_test('dbench', dir=partition.mountpoint, tag=fstype) 31 for fstype in ('ext2', 'ext3', 'jfs', 'xfs', 'reiserfs'):
|
D | control.fs_options | 22 for fstype, mountopts, tag in (('ext2', '', 'ext2'), 28 partition.mkfs(fstype)
|
/external/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()
|
/external/autotest/client/tests/parallel_dd/ |
D | parallel_dd.py | 9 def initialize(self, fs, fstype = 'ext2', megabytes = 1000, streams = 2, argument 15 self.fstype = fstype 23 self.old_fstype = self.fstype 89 fstype = line.split()[2] 90 logging.debug('Found %s is type %s from %s', device, fstype, file) 91 return fstype 113 self.fs.mkfs(self.fstype)
|
/external/iproute2/lib/ |
D | fs.c | 37 char fstype[128]; /* max length of any filesystem name */ in find_fs_mount() local 49 path, fstype) == 2) { in find_fs_mount() 50 if (strcmp(fstype, fs_to_find) == 0) { in find_fs_mount()
|
/external/autotest/client/tests/fsfuzzer/ |
D | fsfuzzer.py | 21 def run_once(self, fstype = 'iso9660'): argument 22 args = fstype + ' 1'
|
/external/autotest/client/tests/flail/ |
D | flail.py | 34 def run_once(self, fstype = 'iso9660'): argument 40 args = fstype + ' 1'
|
/external/ltp/testcases/kernel/security/integrity/ima/tests/ |
D | README.md | 80 find / \( -fstype rootfs -o -fstype ext4 -o -fstype btrfs -o -fstype xfs \) -exec sh -c "< '{}'" \;
|
/external/autotest/client/cros/ |
D | liststorage.py | 174 def get_partition_info(part_path, bus, model, partid=None, fstype=None, argument 208 if not fstype: 209 fstype = info.get('ID_FS_TYPE', None) 274 dev['fstype'] = fstype
|
/external/minijail/rust/minijail/src/ |
D | lib.rs | 29 fstype: String, 104 fstype, in fmt() 113 fstype, in fmt() 552 fstype: &str, in mount() 555 self.mount_with_data(src, dest, fstype, flags, "") in mount() 561 fstype: &str, in mount_with_data() 579 CString::new(fstype).map_err(|_| Error::StrToCString(fstype.to_owned()))?; in mount_with_data() 596 fstype: fstype.to_owned(), in mount_with_data()
|
/external/e2fsprogs/misc/ |
D | fsck.c | 120 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()
|
/external/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 …
|
/external/rust/crates/nix/src/ |
D | mount.rs | 60 fstype: Option<&P3>, in mount() 76 with_opt_nix_path(fstype, |ty| { in mount()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | services.h | 231 extern int sepol_fs_use(const char *fstype, /* IN */ 240 extern int sepol_genfs_sid(const char *fstype, /* IN */
|
/external/e2fsprogs/scrub/ |
D | e2scrub.in | 129 local fstype="$(lsblk -o FSTYPE -n "${dev}" 2> /dev/null)" 131 case "${fstype}" in
|
/external/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 182 bool test_unpriv_remount(const char *fstype, const char *mount_options, in test_unpriv_remount() argument 216 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount() 218 fstype, in test_unpriv_remount()
|