Home
last modified time | relevance | path

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

/fs/hugetlbfs/
Dinode.c594 struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(dentry->d_sb); in hugetlbfs_statfs() local
599 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 …]
/fs/sdcardfs/
Dpackagelist.c255 struct sdcardfs_sb_info *sbinfo; in fixup_all_perms_name() local
260 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() local
274 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() local
287 list_for_each_entry(sbinfo, &sdcardfs_super_list, list) { in fixup_all_perms_userid()
[all …]
Dsdcardfs.h364 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()