Lines Matching defs:prefix
517 * Find a DFS cache entry in hash table and optionally check prefix path against
548 * Handle paths that have more than two path components and are a complete prefix of the DFS
1330 * @prefix: prefix path.
1335 char **share, char **prefix)
1341 if (!it || !path || !share || !prefix || strlen(path) < it->it_path_consumed)
1345 *prefix = NULL;
1355 /* point to prefix in target node */
1366 /* point to prefix in DFS path */
1371 /* merge prefix paths from DFS path and target node */
1376 *prefix = kmalloc(len, GFP_KERNEL);
1377 if (!*prefix) {
1383 scnprintf(*prefix, len, "%.*s%c%.*s", (int)plen1, s, sep, (int)plen2, p);
1385 strscpy(*prefix, p, len);