Searched refs:mounts (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.h | 69 * This structure stores information about mounts of interest within an 80 * This indicates the number of unexpected mounts that were encountered 86 * This is the number of overlay mounts detected on the zone's root 131 extern int zone_mounts_init(zone_mounts_t *mounts, const char *zonepath); 132 extern void zone_mounts_destroy(zone_mounts_t *mounts); 133 extern int zone_mount_rootfs(zone_mounts_t *mounts, const char *zonepath); 134 extern int zone_unmount_rootfs(zone_mounts_t *mounts, const char *zonepath,
|
H A D | zfs.c | 437 * mounts since there is no way to generate a ZFS name from a random path in 438 * the file system. We only try to handle the automatic mounts that ZFS does 440 * in an existing parent ZFS fs. It then automatically mounts the new fs 1391 * This zonecfg_find_mounts() callback records information about mounts of 1393 * root overlay mounts and the number of unexpected mounts found. 1395 * mounts. cookiep should point to an initialized zone_mounts_t structure. 1402 zone_mounts_t *mounts; local 1408 mounts = (zone_mounts_t *)cookiep; 1409 zone_mount_dir = mountp->mnt_mountp + mounts 1464 zone_mounts_init(zone_mounts_t *mounts, const char *zonepath) argument 1492 zone_mounts_destroy(zone_mounts_t *mounts) argument 1510 zone_mount_rootfs(zone_mounts_t *mounts, const char *zonepath) argument 1600 zone_unmount_rootfs(zone_mounts_t *mounts, const char *zonepath, boolean_t force) argument [all...] |
H A D | zoneadm.c | 2255 * Since the actual mount point is not known until the dependent mounts 2257 * happen later when zoneadmd actually does the mounts. 2261 "unable to enumerate mounts\n")); 3986 zone_mounts_t mounts; local 4064 * Collect information about mounts within the zone's zonepath. 4065 * Overlay mounts on the zone's root directory are erroneous. 4066 * Bail if we encounter any unexpected mounts. 4068 if (zone_mounts_init(&mounts, zonepath) != 0) 4070 if (mounts.num_root_overlay_mounts != 0) { 4072 mounts [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 83 hashentry_t **mounts; member in struct:__anon1301 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' hashtabl [all...] |
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-shared.c | 63 struct statfs *mounts; member in struct:mtab_handle 77 mtab->n_mounts = getmntinfo (&mtab->mounts, MNT_NOWAIT); 89 *handle = fopen ("/proc/mounts", "r"); 101 return mtab->mounts[mtab->iter++].f_mntfromname;
|
Completed in 72 milliseconds