Searched refs:can_path (Results 1 – 2 of 2) sorted by relevance
675 char *can_path; in dvlink_cb() local700 can_path = strstr(path, "/dev/"); in dvlink_cb()701 if (can_path == NULL) { in dvlink_cb()707 entry->dv_link = s_strdup(can_path + strlen("/dev/")); in dvlink_cb()
318 char can_path[PATH_MAX]; in handle_alloc() local368 (void) snprintf(can_path, sizeof (can_path), "%s/%s", ETCDEV, DB_FILE); in handle_alloc()376 if (fd == -1 && errno == EROFS && stat(can_path, &sb) == -1) in handle_alloc()394 if (stat(can_path, &sb) == -1 && stat(install_path, &sb) in handle_alloc()