Home
last modified time | relevance | path

Searched refs:sbinfo (Results 1 – 3 of 3) sorted by relevance

/fs/hugetlbfs/
Dinode.c926 struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(root->d_sb); in hugetlbfs_show_options() local
927 struct hugepage_subpool *spool = sbinfo->spool; in hugetlbfs_show_options()
928 unsigned long hpage_size = huge_page_size(sbinfo->hstate); in hugetlbfs_show_options()
929 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options()
932 if (!uid_eq(sbinfo->uid, GLOBAL_ROOT_UID)) in hugetlbfs_show_options()
934 from_kuid_munged(&init_user_ns, sbinfo->uid)); in hugetlbfs_show_options()
935 if (!gid_eq(sbinfo->gid, GLOBAL_ROOT_GID)) in hugetlbfs_show_options()
937 from_kgid_munged(&init_user_ns, sbinfo->gid)); in hugetlbfs_show_options()
938 if (sbinfo->mode != 0755) in hugetlbfs_show_options()
939 seq_printf(m, ",mode=%o", sbinfo->mode); in hugetlbfs_show_options()
[all …]
/fs/sdcardfs/
Dpackagelist.c254 struct sdcardfs_sb_info *sbinfo; in fixup_all_perms_name() local
259 list_for_each_entry(sbinfo, &sdcardfs_super_list, list) { in fixup_all_perms_name()
260 if (sbinfo_has_sdcard_magic(sbinfo)) in fixup_all_perms_name()
261 fixup_perms_recursive(sbinfo->sb->s_root, &limit); in fixup_all_perms_name()
267 struct sdcardfs_sb_info *sbinfo; in fixup_all_perms_name_userid() local
273 list_for_each_entry(sbinfo, &sdcardfs_super_list, list) { in fixup_all_perms_name_userid()
274 if (sbinfo_has_sdcard_magic(sbinfo)) in fixup_all_perms_name_userid()
275 fixup_perms_recursive(sbinfo->sb->s_root, &limit); in fixup_all_perms_name_userid()
281 struct sdcardfs_sb_info *sbinfo; in fixup_all_perms_userid() local
286 list_for_each_entry(sbinfo, &sdcardfs_super_list, list) { in fixup_all_perms_userid()
[all …]
Dsdcardfs.h355 static inline bool sbinfo_has_sdcard_magic(struct sdcardfs_sb_info *sbinfo) in SDCARDFS_DENT_FUNC()
357 return sbinfo && sbinfo->sb in SDCARDFS_DENT_FUNC()
358 && sbinfo->sb->s_magic == SDCARDFS_SUPER_MAGIC; in SDCARDFS_DENT_FUNC()