Searched refs:sbinfo (Results 1 – 3 of 3) sorted by relevance
594 struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(dentry->d_sb); in hugetlbfs_statfs() local599 if (sbinfo) { in hugetlbfs_statfs()600 spin_lock(&sbinfo->stat_lock); in hugetlbfs_statfs()603 if (sbinfo->spool) { in hugetlbfs_statfs()606 spin_lock(&sbinfo->spool->lock); in hugetlbfs_statfs()607 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()608 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()609 - sbinfo->spool->used_hpages; in hugetlbfs_statfs()611 spin_unlock(&sbinfo->spool->lock); in hugetlbfs_statfs()612 buf->f_files = sbinfo->max_inodes; in hugetlbfs_statfs()[all …]
255 struct sdcardfs_sb_info *sbinfo; in fixup_all_perms_name() local260 list_for_each_entry(sbinfo, &sdcardfs_super_list, list) { in fixup_all_perms_name()261 if (sbinfo_has_sdcard_magic(sbinfo)) in fixup_all_perms_name()262 fixup_perms_recursive(sbinfo->sb->s_root, &limit); in fixup_all_perms_name()268 struct sdcardfs_sb_info *sbinfo; in fixup_all_perms_name_userid() local274 list_for_each_entry(sbinfo, &sdcardfs_super_list, list) { in fixup_all_perms_name_userid()275 if (sbinfo_has_sdcard_magic(sbinfo)) in fixup_all_perms_name_userid()276 fixup_perms_recursive(sbinfo->sb->s_root, &limit); in fixup_all_perms_name_userid()282 struct sdcardfs_sb_info *sbinfo; in fixup_all_perms_userid() local287 list_for_each_entry(sbinfo, &sdcardfs_super_list, list) { in fixup_all_perms_userid()[all …]
364 static inline bool sbinfo_has_sdcard_magic(struct sdcardfs_sb_info *sbinfo) in SDCARDFS_DENT_FUNC()366 return sbinfo && sbinfo->sb in SDCARDFS_DENT_FUNC()367 && sbinfo->sb->s_magic == SDCARDFS_SUPER_MAGIC; in SDCARDFS_DENT_FUNC()