Lines Matching defs:db_dir
216 dir = hdp->db_dir;
317 char dev_dir[PATH_MAX], path[PATH_MAX], db_dir[PATH_MAX];
327 db_dir[0] = '\0';
344 (realpath(root_dir, db_dir) == NULL)) {
356 db_dir[0] = 0;
358 (void) strlcpy(db_dir, dev_dir, sizeof (db_dir));
362 (void) strlcat(db_dir, ETCDEV, sizeof (db_dir));
409 (void) snprintf(db_dir, sizeof (db_dir), "/tmp%s", ETCDEV);
412 proto.db_dir = db_dir;
448 if ((hdp->db_dir = strdup(proto.db_dir)) == NULL) {
1099 free(hdp->db_dir);