Searched defs:altroot (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c221 const char *altroot; local
234 altroot = zonecfg_get_root();
235 arlen = strlen(altroot);
276 (strncmp(mnp->mnt_special, altroot, arlen) != 0 ||
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c45 * if (zonecfg_find_scratch(fp, zonename, altroot, NULL, 0) == 0) {
49 * zonecfg_add_scratch(fp, zonename, kernname, altroot);
149 size_t kernlen, char *altroot, size_t altlen)
175 if (altroot != NULL && strlcpy(altroot, cp2, altlen) >= altlen)
183 zonecfg_find_scratch(FILE *fp, const char *zonename, const char *altroot, argument
192 if (strcmp(zone, zonename) == 0 && strcmp(altroot, aroot) == 0)
200 size_t namelen, char *altroot, size_t altlen)
206 sizeof (kzone), altroot, altlen) == 0) {
215 const char *altroot)
148 zonecfg_get_scratch(FILE *fp, char *zonename, size_t namelen, char *kernname, size_t kernlen, char *altroot, size_t altlen) argument
199 zonecfg_reverse_scratch(FILE *fp, const char *kernzone, char *zonename, size_t namelen, char *altroot, size_t altlen) argument
214 zonecfg_add_scratch(FILE *fp, const char *zonename, const char *kernzone, const char *altroot) argument
[all...]
/illumos-gate/usr/src/lib/libc/amd64/sys/
H A Duadmin.c172 char *altroot; local
216 altroot = "-R /stubboot ";
218 altroot = "";
255 altroot, entry);
259 "-o %s%s%s", altroot, quote,
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Duadmin.c172 char *altroot; local
216 altroot = "-R /stubboot ";
218 altroot = "";
255 altroot, entry);
259 "-o %s%s%s", altroot, quote,
/illumos-gate/usr/src/lib/libbe/common/
H A Dlibbe_priv.h91 char *obe_altroot; /* Original BE altroot */
101 char *altroot; /* Location of where to mount BE */ member in struct:be_mount_data
107 char *altroot; /* Location of where BE is mounted */ member in struct:be_unmount_data
125 char *altroot; member in struct:be_fs_list_data
H A Dbe_mount.c233 * Description: Mounts a BE. If the altroot is not provided, this function
236 * altroot reference pointer passed in. This returned value is
241 * altroot - reference pointer to altroot of where to mount BE.
250 _be_mount(char *be_name, char **altroot, int flags) argument
262 if (be_name == NULL || altroot == NULL)
314 * If altroot not provided, create a temporary alternate root
317 if (*altroot == NULL) {
327 tmp_altroot = *altroot;
330 md.altroot
1151 char *altroot = data; local
1937 get_mountpoint_from_vfstab(char *altroot, const char *fs, char *mountpoint, size_t size_mp, boolean_t get_alt_mountpoint) argument
2006 char *altroot = data; local
2084 be_mount_root(zfs_handle_t *zhp, char *altroot) argument
2113 altroot, strerror(errno)); local
2206 char *altroot = NULL; local
2694 mount_zfs(zfs_handle_t *zhp, char *altroot) argument
[all...]
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c219 char *altroot = NULL; variable
350 altroot = optarg;
402 t_arg, altroot);
431 altroot = optarg;
459 status = dladm_flow_remove(handle, flowname, t_arg, altroot);
466 state.fs_altroot = altroot;
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c465 const char *altroot; local
470 altroot = zonecfg_get_root();
472 state, cmd, altroot) > sizeof (cmdbuf))
488 const char *altroot; local
493 altroot = zonecfg_get_root();
495 state, cmd, altroot) > sizeof (cmdbuf))
H A Dvplat.c325 const char *altroot; local
338 altroot = zonecfg_get_root();
339 arlen = strlen(altroot);
378 (strncmp(mnp->mnt_special, altroot, arlen) != 0 ||
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c613 spa_add(const char *name, nvlist_t *config, const char *altroot) argument
682 if (altroot) {
683 spa->spa_root = spa_strdup(altroot);
711 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path);
H A Dspa.c4783 char *altroot, size_t buflen)
4830 if (altroot) {
4835 spa_altroot(spa, altroot, buflen);
4837 altroot[0] = '\0';
4841 spa_altroot(spa, altroot, buflen);
5038 char *altroot = NULL; local
5074 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot);
5075 spa = spa_add(poolname, nvl, altroot);
5542 char *altroot = NULL; local
5565 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot);
4782 spa_get_stats(const char *name, nvlist_t **config, char *altroot, size_t buflen) argument
6849 char *altroot = NULL; local
[all...]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c622 const char *altroot; local
655 altroot = zonecfg_get_root();
689 if (strcmp(rev_altroot, altroot) != 0)
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c308 return (gettext("\tsplit [-gLlnP] [-R altroot] [-o mntopts]\n"
1022 char *altroot = NULL; local
1050 altroot = optarg;
1103 altroot = propval;
1234 if (altroot != NULL && altroot[0] != '/') {
1236 "must be an absolute path\n"), altroot);
1258 if (altroot != NULL)
1260 altroot, poolname);
1265 if (altroot !
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1713 char *altroot)
1718 if (altroot != NULL) {
1726 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), altroot) != 0 ||
1712 zpool_import(libzfs_handle_t *hdl, nvlist_t *config, const char *newname, char *altroot) argument
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c1800 char *altroot = NULL; local
1876 altroot = optarg;
1910 if (altroot != NULL)
1911 altroot_cmd(altroot, argc, argv);
1971 * the linkid if altroot is NULL.
1974 i_dladm_aggr_get_linkid(const char *altroot, const char *arg, argument
1987 if (altroot != NULL)
2004 char *altroot = NULL; local
2016 altroot = optarg;
2028 status = i_dladm_aggr_get_linkid(altroot, arg
2046 char *altroot = NULL; local
2143 char *altroot = NULL; local
2222 char *altroot = NULL; local
2345 char *altroot = NULL; local
2448 char *altroot = NULL; local
2497 char *altroot = NULL; local
4011 char *altroot = NULL; local
4619 char *altroot = NULL; local
4825 char *altroot = NULL; local
5250 char *altroot = NULL; local
5319 char *altroot = NULL; local
5377 char *altroot = NULL; local
5427 char *altroot = NULL; local
6858 char *altroot = NULL; local
7728 char *altroot = NULL; local
7967 char *altroot = NULL; local
8003 char *altroot = NULL; local
8837 altroot_cmd(char *altroot, int argc, char *argv[]) argument
9460 char *altroot = NULL; local
9581 char *altroot = NULL; local
[all...]

Completed in 291 milliseconds