Lines Matching refs:sb
150 struct super_block *sb = dentry->d_sb; in tomoyo_get_local_path() local
155 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') { in tomoyo_get_local_path()
159 task_tgid_nr_ns(current, sb->s_fs_info)) { in tomoyo_get_local_path()
168 if (!MAJOR(sb->s_dev)) in tomoyo_get_local_path()
171 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path()
183 const dev_t dev = sb->s_dev; in tomoyo_get_local_path()
197 const char *name = sb->s_type->name; in tomoyo_get_local_path()
256 struct super_block *sb; in tomoyo_realpath_from_path() local
259 sb = dentry->d_sb; in tomoyo_realpath_from_path()
271 if (sb->s_magic == SOCKFS_MAGIC) { in tomoyo_realpath_from_path()
280 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()