Lines Matching defs:mounts
83 hashentry_t **mounts;
239 for (entry = mnt_cache->mounts[index]; entry != NULL;
732 cache->mounts = (hashentry_t **)calloc(size, sizeof (hashentry_t *));
733 if (cache->mounts == NULL) {
795 if ((*cachep)->mounts) {
798 entry = (*cachep)->mounts[index];
805 free((*cachep)->mounts);
905 for (entry = new_cache->mounts[index]; entry != NULL;
926 for (entry = old_cache->mounts[index]; entry != NULL;
943 * is added to the 'mounts' hashtable of the cache, and the entry's
960 (cache->mounts == NULL) ||
970 * Disregard any non-loopback mounts whose special device names
978 * Find the special device's entry in the mounts hashtable, allocating
982 for (entry = cache->mounts[index]; entry != NULL; entry = entry->next) {
998 entry->next = cache->mounts[index];
999 cache->mounts[index] = entry;
1003 * Keep entries in the list of mounts unique, so exit early if the
1012 * Add this mountpoint to the list of mounts associated with the
1023 cache->mounts[index] = entry->next;
1039 * Searches the cached table of mounts for a special device entry.
1053 if ((cache == NULL) || (cache->mounts == NULL) || (rsrc == NULL)) {
1058 /* Search the cached mounts table for the resource's entry */
1060 if (cache->mounts[index]) {
1061 for (entry = cache->mounts[index]; entry != NULL;
1214 * Creates a copy of the list of dependent mounts associated with a