Lines Matching defs:connected
44 * "layer N connected" ancestor and verifying that all parents along the way are
47 * making that ancestor "layer N connected". For example:
55 * in ovl_lookup_real_ancestor() will not be able to lookup a connected overlay
56 * dentry from the connected lower dentry /a/b/c.
60 * /a/b. After copy up (and index) of /a/b, it will become "layer 2 connected"
63 * a connected overlay dentry will be accomplished.
67 * layer 1. If that improvement is made, then the check for "layer N connected"
98 * @dentry is "connected" if all ancestors up to root or a "connected" ancestor
100 * copy up a "connectable" ancestor to make it "connected". A "connected" dentry
101 * cannot become non "connected", so cache positive result in dentry flags.
103 * Return the connected origin layer or < 0 on error.
138 /* If @parent is connected or indexed we are done */
177 * (*) Decoding a connected overlay dir from real lower dentry is not always
214 * ovl_connect_layer() will try to make origin's layer "connected" by
370 * Lookup a child overlay dentry to get a connected overlay dentry whose real
375 static struct dentry *ovl_lookup_real_one(struct dentry *connected,
379 struct inode *dir = d_inode(connected);
388 * connected overlay dir, we return -ECHILD and restart the lookup of
389 * connected real path from the top.
394 if (ovl_dentry_real_at(connected, layer->idx) != parent)
409 this = lookup_one_len(name.name.name, connected, name.name.len);
430 pr_warn_ratelimited("failed to lookup one by real (%pd2, layer=%d, connected=%pd2, err=%i)\n",
431 real, layer->idx, connected, err);
474 /* Get connected upper overlay dir from index */
487 * connected/hashed upper parent (or up to root).
557 * Lookup a connected overlay dentry whose real dentry is @real.
565 struct dentry *connected;
568 connected = ovl_lookup_real_ancestor(sb, real, layer);
569 if (IS_ERR(connected))
570 return connected;
575 struct dentry *real_connected = ovl_dentry_real_at(connected,
581 /* Find the topmost dentry not yet connected */
598 dput(connected);
599 connected = dget(sb->s_root);
619 this = ovl_lookup_real_one(connected, next, layer);
625 * overlay rename of child away from 'connected' parent.
639 dput(connected);
640 connected = this;
651 return connected;
654 pr_warn_ratelimited("failed to lookup by real (%pd2, layer=%d, connected=%pd2, err=%i)\n",
655 real, layer->idx, connected, err);
656 dput(connected);
684 * If real dentry is connected and hashed, get a connected overlay
750 /* Then try to get a connected upper dir by index */
777 /* Get a connected non-upper dir or disconnected non-dir */
864 * ovl_fh_to_dentry() returns connected dir overlay dentries and
874 * ovl_fh_to_dentry() returns connected dir overlay dentries, so we