Lines Matching defs:sb

285 static struct dentry *ovl_obtain_alias(struct super_block *sb,
312 inode = ovl_get_inode(sb, &oip);
410 static struct dentry *ovl_lookup_real(struct super_block *sb,
417 static struct dentry *ovl_lookup_real_inode(struct super_block *sb,
421 struct ovl_fs *ofs = OVL_FS(sb);
430 inode = ovl_lookup_inode(sb, real, !layer->idx);
442 if (!this && layer->idx && ovl_indexdir(sb) && !WARN_ON(!d_is_dir(real))) {
463 this = ovl_lookup_real(sb, upper, &ofs->layers[0]);
482 static struct dentry *ovl_lookup_real_ancestor(struct super_block *sb,
490 return dget(sb->s_root);
501 ancestor = ovl_lookup_real_inode(sb, next, layer);
506 ancestor = dget(sb->s_root);
535 static struct dentry *ovl_lookup_real(struct super_block *sb,
542 connected = ovl_lookup_real_ancestor(sb, real, layer);
573 connected = dget(sb->s_root);
608 this = ovl_lookup_real_ancestor(sb, real,
637 static struct dentry *ovl_get_dentry(struct super_block *sb,
642 struct ovl_fs *ofs = OVL_FS(sb);
651 return ovl_obtain_alias(sb, upper, lowerpath, index);
661 return ovl_lookup_real(sb, real, layer);
664 static struct dentry *ovl_upper_fh_to_d(struct super_block *sb,
667 struct ovl_fs *ofs = OVL_FS(sb);
678 dentry = ovl_get_dentry(sb, upper, NULL, NULL);
684 static struct dentry *ovl_lower_fh_to_d(struct super_block *sb,
687 struct ovl_fs *ofs = OVL_FS(sb);
702 inode = ovl_lookup_inode(sb, origin.dentry, false);
715 if (ovl_indexdir(sb)) {
732 dentry = ovl_get_dentry(sb, upper, NULL, NULL);
752 dentry = ovl_get_dentry(sb, NULL, &origin, index);
787 static struct dentry *ovl_fh_to_dentry(struct super_block *sb, struct fid *fid,
807 ovl_upper_fh_to_d(sb, fh) :
808 ovl_lower_fh_to_d(sb, fh);
827 static struct dentry *ovl_fh_to_parent(struct super_block *sb, struct fid *fid,