Lines Matching refs:depth
1565 int depth = 0;
1568 for (depth = 0; profile; profile = rcu_access_pointer(profile->parent))
1569 depth++;
1572 return depth;
1575 static char *gen_symlink_name(int depth, const char *dirname, const char *fname)
1579 int size = depth * 6 + strlen(dirname) + strlen(fname) + 11;
1585 for (; depth > 0; depth--) {
1614 int depth;
1621 depth = profile_depth(profile);
1622 target = gen_symlink_name(depth, profile->rawdata->name, name);
2127 * Perform a depth first traversal on the profile tree in a namespace
2183 * p_start - start a depth first traversal of profile tree
2229 * p_stop - stop depth first traversal