Lines Matching refs:depth
1584 int depth = 0;
1587 for (depth = 0; profile; profile = rcu_access_pointer(profile->parent))
1588 depth++;
1591 return depth;
1594 static char *gen_symlink_name(int depth, const char *dirname, const char *fname)
1598 int size = depth * 6 + strlen(dirname) + strlen(fname) + 11;
1604 for (; depth > 0; depth--) {
1633 int depth;
1640 depth = profile_depth(profile);
1641 target = gen_symlink_name(depth, profile->rawdata->name, name);
2145 * Perform a depth first traversal on the profile tree in a namespace
2201 * p_start - start a depth first traversal of profile tree
2247 * p_stop - stop depth first traversal