Home
last modified time | relevance | path

Searched refs:cached_file (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/modload/
H A Ddrvsubr.c595 char **cached_file; in get_cached_n_to_m_file() member
658 ptr->cached_file = (char **)calloc(ptr->size, sizeof (char *)); in get_cached_n_to_m_file()
659 if (ptr->cached_file == NULL) { in get_cached_n_to_m_file()
689 if ((ptr->cached_file[maj] = strdup(drv)) == NULL) { in get_cached_n_to_m_file()
691 free(ptr->cached_file); in get_cached_n_to_m_file()
695 (void) strcpy(ptr->cached_file[maj], drv); in get_cached_n_to_m_file()
702 free(ptr->cached_file[maj]); in get_cached_n_to_m_file()
703 free(ptr->cached_file); in get_cached_n_to_m_file()
712 *cache = ptr->cached_file; in get_cached_n_to_m_file()