Lines Matching refs:fs_type

91 def fstype_to_ubname(fs_type):  argument
104 if re.match('fat', fs_type):
107 return fs_type
109 def check_ubconfig(config, fs_type): argument
122 if not config.buildconfig.get('config_cmd_%s' % fs_type, None):
123 pytest.skip('.config feature "CMD_%s" not enabled' % fs_type.upper())
124 if not config.buildconfig.get('config_%s_write' % fs_type, None):
126 % fs_type.upper())
128 def mk_fs(config, fs_type, size, id): argument
139 fs_img = '%s.%s.img' % (id, fs_type)
142 if fs_type == 'fat16':
144 elif fs_type == 'fat32':
149 if re.match('fat', fs_type):
152 fs_lnxtype = fs_type
185 def mount_fs(fs_type, device, mount_point): argument
206 if re.match('fat', fs_type):
249 fs_type = request.param
252 fs_ubtype = fstype_to_ubname(fs_type)
263 fs_img = mk_fs(u_boot_config, fs_type, 0xc0000000, '3GB')
267 mount_fs(fs_type, fs_img, mount_dir)
331 pytest.skip('Setup failed for filesystem: ' + fs_type)
357 fs_type = request.param
360 fs_ubtype = fstype_to_ubname(fs_type)
371 fs_img = mk_fs(u_boot_config, fs_type, 0x8000000, '128MB')
375 mount_fs(fs_type, fs_img, mount_dir)
418 pytest.skip('Setup failed for filesystem: ' + fs_type)
444 fs_type = request.param
447 fs_ubtype = fstype_to_ubname(fs_type)
452 fs_img = mk_fs(u_boot_config, fs_type, 0x8000000, '128MB')
454 pytest.skip('Setup failed for filesystem: ' + fs_type)
477 fs_type = request.param
480 fs_ubtype = fstype_to_ubname(fs_type)
488 fs_img = mk_fs(u_boot_config, fs_type, 0x8000000, '128MB')
492 mount_fs(fs_type, fs_img, mount_dir)
517 pytest.skip('Setup failed for filesystem: ' + fs_type)