/u-boot/test/py/tests/test_fs/ |
H A D | fstest_helpers.py | 8 def assert_fs_integrity(fs_type, fs_img): 10 if fs_type == 'ext4':
|
H A D | test_mkdir.py | 21 fs_type,fs_img = fs_obj_mkdir 25 '%smkdir host 0:0 dir1' % fs_type, 26 '%sls host 0:0 /' % fs_type]) 30 '%sls host 0:0 dir1' % fs_type) 33 assert_fs_integrity(fs_type, fs_img) 40 fs_type,fs_img = fs_obj_mkdir 44 '%smkdir host 0:0 dir1/dir2' % fs_type, 45 '%sls host 0:0 dir1' % fs_type]) 49 '%sls host 0:0 dir1/dir2' % fs_type) 52 assert_fs_integrity(fs_type, fs_im [all...] |
H A D | test_unlink.py | 22 fs_type,fs_img = fs_obj_unlink 26 '%srm host 0:0 dir1/file1' % fs_type, 27 '%sls host 0:0 dir1/file1' % fs_type]) 31 '%sls host 0:0 dir1/' % fs_type) 34 assert_fs_integrity(fs_type, fs_img) 40 fs_type,fs_img = fs_obj_unlink 46 '%srm host 0:0 dir2/0123456789abcdef%02x' % (fs_type, i), 47 '%sls host 0:0 dir2/0123456789abcdef%02x' % (fs_type, i)]) 51 '%sls host 0:0 dir2' % fs_type) 53 assert_fs_integrity(fs_type, fs_im [all...] |
H A D | test_ext.py | 36 fs_type,fs_img,md5val = fs_obj_ext 41 '%sload host 0:0 %x /%s' % (fs_type, ADDR, MIN_FILE), 43 % (fs_type, ADDR, MIN_FILE)]) 49 '%sload host 0:0 %x /dir1/%s.w1' % (fs_type, ADDR, MIN_FILE), 53 assert_fs_integrity(fs_type, fs_img) 59 fs_type,fs_img,md5val = fs_obj_ext 64 '%sload host 0:0 %x /%s' % (fs_type, ADDR, MIN_FILE), 66 % (fs_type, ADDR, MIN_FILE)]) 72 '%sload host 0:0 %x dir1/%s.w2' % (fs_type, ADDR, MIN_FILE), 76 assert_fs_integrity(fs_type, fs_im [all...] |
H A D | test_basic.py | 23 fs_type,fs_img,md5val = fs_obj_basic 28 '%sls host 0:0' % fs_type]) 35 '%sls host 0:0 invalid_d' % fs_type) 36 if fs_type == 'ext4': 45 fs_type,fs_img,md5val = fs_obj_basic 51 '%ssize host 0:0 /%s' % (fs_type, SMALL_FILE), 59 '%ssize host 0:0 /SUBDIR/../%s' % (fs_type, SMALL_FILE), 68 fs_type,fs_img,md5val = fs_obj_basic 74 '%ssize host 0:0 /%s' % (fs_type, BIG_FILE), 83 fs_type,fs_im [all...] |
H A D | test_fs_fat.py | 19 fs_type,fs_img = fs_obj_fat 25 assert(re.search('Filesystem: %s' % fs_type.upper(), ''.join(output)))
|
H A D | test_symlink.py | 25 fs_type, fs_img, md5val = fs_obj_symlink 35 '%sload host 0:0 %x /%s.link' % (fs_type, ADDR, SMALL_FILE), 44 assert_fs_integrity(fs_type, fs_img) 50 fs_type, fs_img, md5val = fs_obj_symlink 64 '%sload host 0:0 %x /%s.link3' % (fs_type, ADDR, SMALL_FILE), 73 assert_fs_integrity(fs_type, fs_img) 79 fs_type, fs_img, md5val = fs_obj_symlink 90 '%sload host 0:0 %x /%s' % (fs_type, ADDR, SMALL_FILE), 101 '%sload host 0:0 %x /%s' % (fs_type, ADDR, SMALL_FILE), 109 assert_fs_integrity(fs_type, fs_im [all...] |
H A D | conftest.py | 62 supported_fs = config.getoption('fs_type') 106 def fstype_to_ubname(fs_type): 114 fs_type: File system type. 119 if re.match('fat', fs_type): 122 return fs_type 124 def check_ubconfig(config, fs_type): 132 fs_type: File system type. 137 if not config.buildconfig.get('config_cmd_%s' % fs_type, None): 138 pytest.skip('.config feature "CMD_%s" not enabled' % fs_type.upper()) 139 if not config.buildconfig.get('config_%s_write' % fs_type, Non [all...] |
/u-boot/test/py/tests/ |
H A D | fs_helper.py | 12 def mk_fs(config, fs_type, size, prefix, size_gran = 0x100000): 17 fs_type (str): File system type, e.g. 'ext4' 25 fs_img = f'{prefix}.{fs_type}.img' 28 if fs_type == 'fat12': 30 elif fs_type == 'fat16': 32 elif fs_type == 'fat32': 37 if re.match('fat', fs_type): 40 fs_lnxtype = fs_type 53 if fs_type == 'ext4':
|
/u-boot/fs/sandbox/ |
H A D | host_bootdev.c | 33 bflow->fs_type = FS_TYPE_SANDBOX;
|
/u-boot/fs/ |
H A D | fs.c | 40 static int fs_type = FS_TYPE_ANY; variable 44 fs_type = type; 405 return fs_type; 418 return fs_get_info(fs_type)->name; 440 fs_type = info->fstype; 465 fs_type = info->fstype; 476 struct fstype_info *info = fs_get_info(fs_type); 480 fs_type = FS_TYPE_ANY; 485 struct fstype_info *info = fs_get_info(fs_type); 494 struct fstype_info *info = fs_get_info(fs_type); [all...] |
/u-boot/boot/ |
H A D | bootmeth-uclass.c | 263 } else if (IS_ENABLED(CONFIG_BOOTSTD_FULL) && bflow->fs_type) { 264 fs_set_type(bflow->fs_type); 285 if (IS_ENABLED(CONFIG_BOOTSTD_FULL) && bflow->fs_type) 286 fs_set_type(bflow->fs_type);
|
/u-boot/include/ |
H A D | bootflow.h | 70 * @fs_type: Filesystem type (FS_TYPE...) if this is fixed by the media, else 0. 99 int fs_type; member in struct:bootflow
|
H A D | fat.h | 120 char fs_type[8]; /* Typically FAT12, FAT16, or FAT32 */ member in struct:volume_info
|
/u-boot/test/image/ |
H A D | spl_load_fs.c | 223 memcpy(vi->fs_type, "FAT32 ", sizeof(vi->fs_type));
|
/u-boot/fs/ubifs/ |
H A D | super.c | 2457 static struct dentry *ubifs_mount(struct file_system_type *fs_type, int flags, argument 2487 sb = sget(fs_type, sb_test, sb_set, flags, c);
|