Lines Matching refs:sb
151 struct super_block *sb = dentry->d_sb; in tomoyo_get_local_path() local
156 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path()
160 task_tgid_nr_ns(current, sb->s_fs_info)) { in tomoyo_get_local_path()
169 if (!MAJOR(sb->s_dev)) in tomoyo_get_local_path()
172 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path()
184 const dev_t dev = sb->s_dev; in tomoyo_get_local_path()
198 const char *name = sb->s_type->name; in tomoyo_get_local_path()
257 struct super_block *sb; in tomoyo_realpath_from_path() local
260 sb = dentry->d_sb; in tomoyo_realpath_from_path()
272 if (sb->s_magic == SOCKFS_MAGIC) { in tomoyo_realpath_from_path()
281 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()