/openbmc/u-boot/test/py/tests/test_fs/ |
H A D | test_ext.py | 22 fs_type,fs_img,md5val = fs_obj_ext 29 % (fs_type, ADDR, MIN_FILE)]) 44 fs_type,fs_img,md5val = fs_obj_ext 51 % (fs_type, ADDR, MIN_FILE)]) 66 fs_type,fs_img,md5val = fs_obj_ext 80 fs_type,fs_img,md5val = fs_obj_ext 112 fs_type,fs_img,md5val = fs_obj_ext 144 fs_type,fs_img,md5val = fs_obj_ext 168 fs_type,fs_img,md5val = fs_obj_ext 200 fs_type,fs_img,md5val = fs_obj_ext [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 55 fs_type,fs_img = fs_obj_mkdir 66 fs_type,fs_img = fs_obj_mkdir 77 fs_type,fs_img = fs_obj_mkdir 89 fs_type,fs_img = fs_obj_mkdir 94 '%sls host 0:0 /' % fs_type]) [all …]
|
H A D | test_basic.py | 22 fs_type,fs_img,md5val = fs_obj_basic 27 '%sls host 0:0' % fs_type]) 35 if fs_type == 'ext4': 44 fs_type,fs_img,md5val = fs_obj_basic 67 fs_type,fs_img,md5val = fs_obj_basic 82 fs_type,fs_img,md5val = fs_obj_basic 101 fs_type,fs_img,md5val = fs_obj_basic 120 fs_type,fs_img,md5val = fs_obj_basic 141 fs_type,fs_img,md5val = fs_obj_basic 162 fs_type,fs_img,md5val = fs_obj_basic [all …]
|
H A D | test_unlink.py | 21 fs_type,fs_img = fs_obj_unlink 30 '%sls host 0:0 dir1/' % fs_type) 38 fs_type,fs_img = fs_obj_unlink 49 '%sls host 0:0 dir2' % fs_type) 56 fs_type,fs_img = fs_obj_unlink 67 fs_type,fs_img = fs_obj_unlink 71 '%srm host 0:0 dir4' % fs_type]) 75 '%sls host 0:0 /' % fs_type) 83 fs_type,fs_img = fs_obj_unlink 94 fs_type,fs_img = fs_obj_unlink [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 126 % fs_type.upper()) 142 if fs_type == 'fat16': 144 elif fs_type == 'fat32': 152 fs_lnxtype = fs_type 249 fs_type = request.param 357 fs_type = request.param 444 fs_type = request.param [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() 383 fs_type = FS_TYPE_ANY; in fs_close() 401 fs_type = FS_TYPE_ANY; in fs_ls() 551 info = fs_get_info(fs_type); in fs_readdir() 571 info = fs_get_info(fs_type); in fs_closedir() 585 fs_type = FS_TYPE_ANY; in fs_unlink() 599 fs_type = FS_TYPE_ANY; in fs_mkdir() [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() 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() 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() 662 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree() 759 if (fc->fs_type->init_fs_context) in finish_clean_context() [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() 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 1720 struct dentry *mount_single(struct file_system_type *fs_type, in mount_single() argument 1727 s = sget(fs_type, compare_single, set_anon_super, flags, NULL); in mount_single() 1770 fc->fs_type->name); in vfs_get_tree() [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/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/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/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/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/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/hfs/ |
H A D | super.c | 453 static struct dentry *hfs_mount(struct file_system_type *fs_type, in hfs_mount() argument 456 return mount_bdev(fs_type, flags, dev_name, data, hfs_fill_super); in hfs_mount()
|
/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.
|