Lines Matching defs:dir_re
3276 * The cache tag is a regular expression "dir_re", which selects a
3284 * dir_re, and then it searches all links in that cache looking for
3292 devfsadm_rm_stale_links(char *dir_re, char *valid_link, di_node_t node,
3330 head = get_cached_links(dir_re);
3360 get_cached_links(char *dir_re)
3366 vprint(BUILDCACHE_MID, "get_cached_links: %s\n", dir_re);
3370 if (strcmp(linkhead->dir_re, dir_re) == 0) {
3382 linkhead->dir_re = s_strdup(dir_re);
3384 if ((n = regcomp(&(linkhead->dir_re_compiled), dir_re,
3386 err_print(REGCOMP_FAILED, dir_re, n);
3397 /* call build_devlink_list for each directory in the dir_re RE */
3398 if (dir_re[0] == '/') {
3399 recurse_dev_re("/", &dir_re[1], &rd);
3401 recurse_dev_re(dev_dir, dir_re, &rd);
3608 free(linkhead->dir_re);