Lines Matching refs:layer

94 	return oe->lowerstack[0].layer->idx;  in ovl_connectable_layer()
115 origin_layer = OVL_E(dentry)->lowerstack[0].layer->idx; in ovl_connect_layer()
323 oe->lowerstack->layer = lowerpath->layer; in ovl_obtain_alias()
352 if (oe->lowerstack[i].layer->idx == idx) in ovl_dentry_real_at()
367 const struct ovl_layer *layer) in ovl_lookup_real_one() argument
384 if (ovl_dentry_real_at(connected, layer->idx) != parent) in ovl_lookup_real_one()
408 } else if (ovl_dentry_real_at(this, layer->idx) != real) { in ovl_lookup_real_one()
421 real, layer->idx, connected, err); in ovl_lookup_real_one()
428 const struct ovl_layer *layer);
435 const struct ovl_layer *layer) in ovl_lookup_real_inode() argument
446 inode = ovl_lookup_inode(sb, real, !layer->idx); in ovl_lookup_real_inode()
458 if (!this && layer->idx && ofs->indexdir && !WARN_ON(!d_is_dir(real))) { in ovl_lookup_real_inode()
486 if (ovl_dentry_real_at(this, layer->idx) != real) { in ovl_lookup_real_inode()
500 const struct ovl_layer *layer) in ovl_lookup_real_ancestor() argument
505 if (real == layer->mnt->mnt_root) in ovl_lookup_real_ancestor()
517 ancestor = ovl_lookup_real_inode(sb, next, layer); in ovl_lookup_real_ancestor()
521 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real_ancestor()
553 const struct ovl_layer *layer) in ovl_lookup_real() argument
558 connected = ovl_lookup_real_ancestor(sb, real, layer); in ovl_lookup_real()
566 layer->idx); in ovl_lookup_real()
587 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real()
609 this = ovl_lookup_real_one(connected, next, layer); in ovl_lookup_real()
625 layer); in ovl_lookup_real()
645 real, layer->idx, connected, err); in ovl_lookup_real()
659 const struct ovl_layer *layer = upper ? &ofs->layers[0] : lowerpath->layer; in ovl_get_dentry() local
677 return ovl_lookup_real(sb, real, layer); in ovl_get_dentry()