Lines Matching refs:n_to_m_cache
605 struct n_to_m_cache { in get_cached_n_to_m_file() struct
609 struct n_to_m_cache *next; in get_cached_n_to_m_file() argument
611 static struct n_to_m_cache *head = NULL; in get_cached_n_to_m_file()
612 struct n_to_m_cache *ptr; in get_cached_n_to_m_file()
662 ptr = (struct n_to_m_cache *)calloc(1, in get_cached_n_to_m_file()
663 sizeof (struct n_to_m_cache)); in get_cached_n_to_m_file()
740 char **n_to_m_cache = NULL; in get_max_major() local
742 return (get_cached_n_to_m_file(file_name, &n_to_m_cache)); in get_max_major()
759 char **n_to_m_cache = NULL; in get_name_to_major_entry() local
768 size = get_cached_n_to_m_file(file_name, &n_to_m_cache); in get_name_to_major_entry()
776 if ((n_to_m_cache[maj] != NULL) && in get_name_to_major_entry()
777 (strcmp(driver_name, n_to_m_cache[maj]) == 0)) { in get_name_to_major_entry()
794 if (n_to_m_cache[*major_no] != NULL) { in get_name_to_major_entry()
795 (void) strcpy(driver_name, n_to_m_cache[*major_no]); in get_name_to_major_entry()