Home
last modified time | relevance | path

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

1234

/external/strace/tests-mx32/
Dmount.c78 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/
Dmount.c78 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/
Dmount.c78 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/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`;
/external/autotest/client/bin/
Dpartition.py26 def __init__(self, fstype, fs_tag, mkfs_flags=None, mount_options=None): argument
37 if not fstype or not fs_tag:
39 self.fstype = fstype
48 (self.fstype, self.mkfs_flags,
387 self.fstype = None
408 self.fstype = fs_options.fstype
515 def mkfs_exec(self, fstype): argument
519 if fstype == 'ext4':
531 fstype)
534 def mkfs(self, fstype=None, args='', record=True): argument
[all …]
/external/u-boot/fs/
Dfs.c109 int fstype; member
150 .fstype = FS_TYPE_FAT,
172 .fstype = FS_TYPE_EXT,
192 .fstype = FS_TYPE_SANDBOX,
208 .fstype = FS_TYPE_UBIFS,
224 .fstype = FS_TYPE_BTRFS,
239 .fstype = FS_TYPE_ANY,
254 static struct fstype_info *fs_get_info(int fstype) in fs_get_info() argument
260 if (fstype == info->fstype) in fs_get_info()
281 int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype) in fs_set_blk_dev() argument
[all …]
/external/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 …]
/external/u-boot/include/
Dfs.h27 int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype);
163 int fstype);
165 int fstype);
167 int fstype);
169 int fstype);
171 int fstype);
178 int fstype);
/external/autotest/client/samples/
Dfilesystem14 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'):
Dcontrol.fs20 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'):
Dcontrol.fs_options22 for fstype, mountopts, tag in (('ext2', '', 'ext2'),
28 partition.mkfs(fstype)
/external/autotest/client/tests/parallel_dd/
Dparallel_dd.py9 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/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()
/external/syzkaller/pkg/host/
Dhost_linux.go197 fstype, ok := extractStringConst(c.Args[0])
201 return isSupportedFilesystem(fstype)
273 fstype, ok := extractStringConst(c.Args[2])
277 if ok, reason := isSupportedFilesystem(fstype); !ok {
280 switch fstype {
291 func isSupportedFilesystem(fstype string) (bool, string) {
295 if !bytes.Contains(filesystems, []byte("\t"+fstype+"\n")) {
296 return false, fmt.Sprintf("/proc/filesystems does not contain %v", fstype)
/external/iproute2/lib/
Dfs.c37 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/
Dfsfuzzer.py21 def run_once(self, fstype = 'iso9660'): argument
22 args = fstype + ' 1'
/external/autotest/client/tests/flail/
Dflail.py34 def run_once(self, fstype = 'iso9660'): argument
40 args = fstype + ' 1'
/external/autotest/client/cros/
Dliststorage.py165 def get_partition_info(part_path, bus, model, partid=None, fstype=None, argument
199 if not fstype:
200 fstype = info.get('ID_FS_TYPE', None)
264 dev['fstype'] = fstype
/external/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()
/external/u-boot/drivers/fpga/
Dzynqpl.c422 int fstype; in zynq_loadfs() local
429 fstype = fsinfo->fstype; in zynq_loadfs()
431 if (fs_set_blk_dev(interface, dev_part, fstype)) in zynq_loadfs()
453 if (fs_set_blk_dev(interface, dev_part, fstype)) in zynq_loadfs()
/external/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 …
/external/e2fsprogs/scrub/
De2scrub.in107 local fstype="$(lsblk -o FSTYPE -n "${dev}" 2> /dev/null)"
109 case "${fstype}" in
/external/selinux/libsepol/include/sepol/policydb/
Dservices.h237 extern int sepol_fs_use(const char *fstype, /* IN */
246 extern int sepol_genfs_sid(const char *fstype, /* IN */
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c182 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()

1234