Searched refs:db_dir (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.c | 212 dir = hdp->db_dir; in get_db_path() 313 char dev_dir[PATH_MAX], path[PATH_MAX], db_dir[PATH_MAX]; in handle_alloc() local 323 db_dir[0] = '\0'; in handle_alloc() 340 (realpath(root_dir, db_dir) == NULL)) { in handle_alloc() 352 db_dir[0] = 0; in handle_alloc() 354 (void) strlcpy(db_dir, dev_dir, sizeof (db_dir)); in handle_alloc() 358 (void) strlcat(db_dir, ETCDEV, sizeof (db_dir)); in handle_alloc() 405 (void) snprintf(db_dir, sizeof (db_dir), "/tmp%s", ETCDEV); in handle_alloc() 408 proto.db_dir = db_dir; in handle_alloc() 444 if ((hdp->db_dir = strdup(proto.db_dir)) == NULL) { in handle_alloc() [all …]
|
H A D | devinfo_devlink.h | 144 char *db_dir; /* <root-dir>/etc/dev */ member
|