Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c73 int n_mounts; member
1006 for (index = 0; index < entry->n_mounts; index++) { in cache_insert()
1016 (entry->n_mounts + 2) * sizeof (char *)); in cache_insert()
1018 ((mountps[entry->n_mounts] = strdup(mt->mnt_mountp)) == NULL)) { in cache_insert()
1022 if (entry->n_mounts == 0) { in cache_insert()
1029 mountps[entry->n_mounts + 1] = NULL; in cache_insert()
1030 entry->n_mounts++; in cache_insert()
1231 if (entry->n_mounts == 0) { in create_dependents()
1237 dependents = (char **)calloc(entry->n_mounts + 1, sizeof (char *)); in create_dependents()
1247 for (i = 0; i < entry->n_mounts; i++) { in create_dependents()
/titanic_41/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c64 int n_mounts; member
77 mtab->n_mounts = getmntinfo (&mtab->mounts, MNT_NOWAIT); in mtab_open()
78 if (mtab->n_mounts == 0) { in mtab_open()
100 if (mtab->iter < mtab->n_mounts) in mtab_next()