/openbmc/u-boot/test/py/tests/test_fs/ |
H A D | test_ext.py | 22 fs_type,fs_img,md5val = fs_obj_ext 27 '%sload host 0:0 %x /%s' % (fs_type, ADDR, MIN_FILE), 29 % (fs_type, ADDR, MIN_FILE)]) 35 '%sload host 0:0 %x /dir1/%s.w1' % (fs_type, ADDR, MIN_FILE), 44 fs_type,fs_img,md5val = fs_obj_ext 49 '%sload host 0:0 %x /%s' % (fs_type, ADDR, MIN_FILE), 51 % (fs_type, ADDR, MIN_FILE)]) 57 '%sload host 0:0 %x dir1/%s.w2' % (fs_type, ADDR, MIN_FILE), 66 fs_type,fs_img,md5val = fs_obj_ext 71 '%sload host 0:0 %x /%s' % (fs_type, ADDR, MIN_FILE), [all …]
|
H A D | test_basic.py | 22 fs_type,fs_img,md5val = fs_obj_basic 27 '%sls host 0:0' % fs_type]) 34 '%sls host 0:0 invalid_d' % fs_type) 35 if fs_type == 'ext4': 44 fs_type,fs_img,md5val = fs_obj_basic 50 '%ssize host 0:0 /%s' % (fs_type, SMALL_FILE), 58 '%ssize host 0:0 /SUBDIR/../%s' % (fs_type, SMALL_FILE), 67 fs_type,fs_img,md5val = fs_obj_basic 73 '%ssize host 0:0 /%s' % (fs_type, BIG_FILE), 82 fs_type,fs_img,md5val = fs_obj_basic [all …]
|
H A D | test_mkdir.py | 20 fs_type,fs_img = fs_obj_mkdir 24 '%smkdir host 0:0 dir1' % fs_type, 25 '%sls host 0:0 /' % fs_type]) 29 '%sls host 0:0 dir1' % fs_type) 37 fs_type,fs_img = fs_obj_mkdir 41 '%smkdir host 0:0 dir1/dir2' % fs_type, 42 '%sls host 0:0 dir1' % fs_type]) 46 '%sls host 0:0 dir1/dir2' % fs_type) 55 fs_type,fs_img = fs_obj_mkdir 59 '%smkdir host 0:0 none/dir3' % fs_type]) [all …]
|
H A D | test_unlink.py | 21 fs_type,fs_img = fs_obj_unlink 25 '%srm host 0:0 dir1/file1' % fs_type, 26 '%sls host 0:0 dir1/file1' % fs_type]) 30 '%sls host 0:0 dir1/' % fs_type) 38 fs_type,fs_img = fs_obj_unlink 44 '%srm host 0:0 dir2/0123456789abcdef%02x' % (fs_type, i), 45 '%sls host 0:0 dir2/0123456789abcdef%02x' % (fs_type, i)]) 49 '%sls host 0:0 dir2' % fs_type) 56 fs_type,fs_img = fs_obj_unlink 60 '%srm host 0:0 dir1/nofile' % fs_type]) [all …]
|
H A D | conftest.py | 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) [all …]
|
/openbmc/u-boot/fs/ |
H A D | fs.c | 26 static int fs_type = FS_TYPE_ANY; variable 305 return fs_get_info(fs_type)->name; in fs_get_type_name() 343 fs_type = info->fstype; in fs_set_blk_dev() 368 fs_type = info->fstype; in fs_set_blk_dev_with_part() 379 struct fstype_info *info = fs_get_info(fs_type); in fs_close() 383 fs_type = FS_TYPE_ANY; in fs_close() 388 struct fstype_info *info = fs_get_info(fs_type); in fs_uuid() 397 struct fstype_info *info = fs_get_info(fs_type); in fs_ls() 401 fs_type = FS_TYPE_ANY; in fs_ls() 411 struct fstype_info *info = fs_get_info(fs_type); in fs_exists() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | gup_longterm.c | 50 static bool fs_is_unknown(__fsword_t fs_type) in fs_is_unknown() argument 57 switch (fs_type) { in fs_is_unknown() 69 static bool fs_supports_writable_longterm_pinning(__fsword_t fs_type) in fs_supports_writable_longterm_pinning() argument 71 assert(!fs_is_unknown(fs_type)); in fs_supports_writable_longterm_pinning() 72 switch (fs_type) { in fs_supports_writable_longterm_pinning() 93 __fsword_t fs_type = get_fs_type(fd); in do_test() local 143 if (rw && shared && fs_is_unknown(fs_type)) { in do_test() 153 fs_supports_writable_longterm_pinning(fs_type); in do_test() 188 if (shared && fs_is_unknown(fs_type)) { in do_test() 193 fs_supports_writable_longterm_pinning(fs_type); in do_test()
|
/openbmc/linux/fs/ |
H A D | fs_context.c | 159 fc->fs_type->name, param->key); in vfs_parse_fs_param() 275 static struct fs_context *alloc_fs_context(struct file_system_type *fs_type, in alloc_fs_context() argument 292 fc->fs_type = get_filesystem(fs_type); in alloc_fs_context() 295 fc->log.prefix = fs_type->name; in alloc_fs_context() 314 init_fs_context = fc->fs_type->init_fs_context; in alloc_fs_context() 329 struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, in fs_context_for_mount() argument 332 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount() 406 get_filesystem(fc->fs_type); in vfs_dup_fs_context() 527 put_filesystem(fc->fs_type); in put_fs_context() 648 if (fc->fs_type->fs_flags & FS_BINARY_MOUNTDATA) in legacy_parse_monolithic() [all …]
|
H A D | fsopen.c | 104 fc->log.log->owner = fc->fs_type->owner; in fscontext_alloc_log() 117 struct file_system_type *fs_type; in SYSCALL_DEFINE2() local 132 fs_type = get_fs_type(fs_name); in SYSCALL_DEFINE2() 134 if (!fs_type) in SYSCALL_DEFINE2() 137 fc = fs_context_for_mount(fs_type, 0); in SYSCALL_DEFINE2() 138 put_filesystem(fs_type); in SYSCALL_DEFINE2()
|
H A D | super.c | 737 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable() 790 if (user_ns != &init_user_ns && !(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) { in sget_fc() 798 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) { in sget_fc() 805 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() 820 s->s_type = fc->fs_type; in sget_fc() 1610 struct dentry *mount_bdev(struct file_system_type *fs_type, in mount_bdev() argument 1623 s = sget(fs_type, test_bdev_super, set_bdev_super, flags, &dev); in mount_bdev() 1670 struct dentry *mount_nodev(struct file_system_type *fs_type, in mount_nodev() argument 1675 struct super_block *s = sget(fs_type, NULL, set_anon_super, flags, NULL); in mount_nodev() 1720 struct dentry *mount_single(struct file_system_type *fs_type, in mount_single() argument [all …]
|
/openbmc/linux/fs/autofs/ |
H A D | init.c | 10 static struct dentry *autofs_mount(struct file_system_type *fs_type, in autofs_mount() argument 13 return mount_nodev(fs_type, flags, data, autofs_fill_super); in autofs_mount()
|
/openbmc/linux/security/ |
H A D | inode.c | 69 static struct file_system_type fs_type = { variable 121 error = simple_pin_fs(&fs_type, &mount, &mount_count); in securityfs_create_dentry() 339 retval = register_filesystem(&fs_type); in securityfs_init()
|
/openbmc/linux/include/linux/ |
H A D | fs_context.h | 93 struct file_system_type *fs_type; member 127 extern struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, 132 extern struct fs_context *fs_context_for_submount(struct file_system_type *fs_type,
|
/openbmc/linux/include/uapi/linux/ |
H A D | msdos_fs.h | 134 __u8 fs_type[8]; /* file system type */ member 157 __u8 fs_type[8]; /* file system type */ member
|
/openbmc/linux/fs/sysv/ |
H A D | super.c | 531 static struct dentry *sysv_mount(struct file_system_type *fs_type, in sysv_mount() argument 534 return mount_bdev(fs_type, flags, dev_name, data, sysv_fill_super); in sysv_mount() 537 static struct dentry *v7_mount(struct file_system_type *fs_type, in v7_mount() argument 540 return mount_bdev(fs_type, flags, dev_name, data, v7_fill_super); in v7_mount()
|
/openbmc/linux/fs/freevxfs/ |
H A D | vxfs_super.c | 285 static struct dentry *vxfs_mount(struct file_system_type *fs_type, in vxfs_mount() argument 288 return mount_bdev(fs_type, flags, dev_name, data, vxfs_fill_super); in vxfs_mount()
|
/openbmc/linux/fs/coda/ |
H A D | inode.c | 318 static struct dentry *coda_mount(struct file_system_type *fs_type, in coda_mount() argument 321 return mount_nodev(fs_type, flags, data, coda_fill_super); in coda_mount()
|
/openbmc/linux/fs/efs/ |
H A D | super.c | 25 static struct dentry *efs_mount(struct file_system_type *fs_type, in efs_mount() argument 28 return mount_bdev(fs_type, flags, dev_name, data, efs_fill_super); in efs_mount()
|
/openbmc/linux/fs/9p/ |
H A D | vfs_super.c | 106 static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags, in v9fs_mount() argument 129 sb = sget(fs_type, NULL, v9fs_set_super, flags, v9ses); in v9fs_mount()
|
/openbmc/u-boot/fs/fat/ |
H A D | fat.c | 524 if (strncmp(FAT32_SIGN, vistart->fs_type, SIGNLEN) == 0) in read_bootsectandvi() 527 if (strncmp(FAT12_SIGN, vistart->fs_type, SIGNLEN) == 0) { in read_bootsectandvi() 531 if (strncmp(FAT16_SIGN, vistart->fs_type, SIGNLEN) == 0) { in read_bootsectandvi() 1069 volinfo.fs_type[5] = '\0'; in file_fat_detectfs() 1071 printf("Filesystem: %s \"%s\"\n", volinfo.fs_type, vol_label); in file_fat_detectfs()
|
/openbmc/linux/security/tomoyo/ |
H A D | file.c | 970 tomoyo_same_name_union(&p1->fs_type, &p2->fs_type) && in tomoyo_same_mount_acl() 990 !tomoyo_parse_name_union(param, &e.fs_type) || in tomoyo_update_mount_acl() 998 tomoyo_put_name_union(&e.fs_type); in tomoyo_update_mount_acl()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | mount_api.rst | 69 struct file_system_type *fs_type; 98 struct file_system_type *fs_type 407 struct fs_context *fs_context_for_mount(struct file_system_type *fs_type, 413 fs_type->init_fs_context() to initialise the filesystem private data. 415 fs_type specifies the filesystem type that will manage the context and 433 struct file_system_type *fs_type, 437 an automount point or other derived superblock. fs_type specifies the 443 filesystem type as fs_type.
|
/openbmc/linux/fs/pstore/ |
H A D | inode.c | 447 static struct dentry *pstore_mount(struct file_system_type *fs_type, in pstore_mount() argument 450 return mount_single(fs_type, flags, data, pstore_fill_super); in pstore_mount()
|
/openbmc/linux/fs/qnx4/ |
H A D | inode.c | 381 static struct dentry *qnx4_mount(struct file_system_type *fs_type, in qnx4_mount() argument 384 return mount_bdev(fs_type, flags, dev_name, data, qnx4_fill_super); in qnx4_mount()
|
/openbmc/linux/fs/hfs/ |
H A D | super.c | 455 static struct dentry *hfs_mount(struct file_system_type *fs_type, in hfs_mount() argument 458 return mount_bdev(fs_type, flags, dev_name, data, hfs_fill_super); in hfs_mount()
|