Lines Matching full:connected

39  * "layer N connected" ancestor and verifying that all parents along the way are
42 * making that ancestor "layer N connected". For example:
50 * in ovl_lookup_real_ancestor() will not be able to lookup a connected overlay
51 * dentry from the connected lower dentry /a/b/c.
55 * /a/b. After copy up (and index) of /a/b, it will become "layer 2 connected"
58 * a connected overlay dentry will be accomplished.
62 * layer 1. If that improvement is made, then the check for "layer N connected"
93 * @dentry is "connected" if all ancestors up to root or a "connected" ancestor
95 * copy up a "connectable" ancestor to make it "connected". A "connected" dentry
96 * cannot become non "connected", so cache positive result in dentry flags.
98 * Return the connected origin layer or < 0 on error.
133 /* If @parent is connected or indexed we are done */ in ovl_connect_layer()
172 * (*) Decoding a connected overlay dir from real lower dentry is not always
213 * ovl_connect_layer() will try to make origin's layer "connected" by in ovl_check_encode_origin()
348 * Lookup a child overlay dentry to get a connected overlay dentry whose real
353 static struct dentry *ovl_lookup_real_one(struct dentry *connected, in ovl_lookup_real_one() argument
357 struct inode *dir = d_inode(connected); in ovl_lookup_real_one()
366 * connected overlay dir, we return -ECHILD and restart the lookup of in ovl_lookup_real_one()
367 * connected real path from the top. in ovl_lookup_real_one()
372 if (ovl_dentry_real_at(connected, layer->idx) != parent) in ovl_lookup_real_one()
387 this = lookup_one_len(name.name.name, connected, name.name.len); in ovl_lookup_real_one()
408 pr_warn_ratelimited("failed to lookup one by real (%pd2, layer=%d, connected=%pd2, err=%i)\n", in ovl_lookup_real_one()
409 real, layer->idx, connected, err); in ovl_lookup_real_one()
452 /* Get connected upper overlay dir from index */ in ovl_lookup_real_inode()
465 * connected/hashed upper parent (or up to root). in ovl_lookup_real_inode()
535 * Lookup a connected overlay dentry whose real dentry is @real.
543 struct dentry *connected; in ovl_lookup_real() local
546 connected = ovl_lookup_real_ancestor(sb, real, layer); in ovl_lookup_real()
547 if (IS_ERR(connected)) in ovl_lookup_real()
548 return connected; in ovl_lookup_real()
553 struct dentry *real_connected = ovl_dentry_real_at(connected, in ovl_lookup_real()
559 /* Find the topmost dentry not yet connected */ in ovl_lookup_real()
576 dput(connected); in ovl_lookup_real()
577 connected = dget(sb->s_root); in ovl_lookup_real()
597 this = ovl_lookup_real_one(connected, next, layer); in ovl_lookup_real()
603 * overlay rename of child away from 'connected' parent. in ovl_lookup_real()
617 dput(connected); in ovl_lookup_real()
618 connected = this; in ovl_lookup_real()
629 return connected; in ovl_lookup_real()
632 pr_warn_ratelimited("failed to lookup by real (%pd2, layer=%d, connected=%pd2, err=%i)\n", in ovl_lookup_real()
633 real, layer->idx, connected, err); in ovl_lookup_real()
634 dput(connected); in ovl_lookup_real()
662 * If real dentry is connected and hashed, get a connected overlay in ovl_get_dentry()
728 /* Then try to get a connected upper dir by index */ in ovl_lower_fh_to_d()
755 /* Get a connected non-upper dir or disconnected non-dir */ in ovl_lower_fh_to_d()
842 * ovl_fh_to_dentry() returns connected dir overlay dentries and in ovl_get_name()
852 * ovl_fh_to_dentry() returns connected dir overlay dentries, so we in ovl_get_parent()