Lines Matching defs:root
244 * Set the root (/) path for all zonecfg configuration files. This is a
421 getroot(zone_dochandle_t handle, xmlNodePtr *root)
426 *root = xmlDocGetRootElement(handle->zone_dh_doc);
428 if (*root == NULL)
431 if (xmlStrcmp((*root)->name, DTD_ELEM_ZONE))
440 xmlNodePtr root;
443 if ((err = getroot(handle, &root)) != 0)
446 handle->zone_dh_cur = root;
447 handle->zone_dh_top = root;
485 xmlNodePtr root;
488 if ((err = getroot(handle, &root)) != 0)
491 return (fetchprop(root, propname, propval, propsize));
498 xmlNodePtr root;
501 if ((err = getroot(handle, &root)) != 0)
504 return (fetch_alloc_prop(root, propname, propval));
512 xmlNodePtr root;
514 if ((err = getroot(handle, &root)) != Z_OK)
522 (void) xmlUnsetProp(root, propname);
524 if (xmlSetProp(root, propname, (const xmlChar *) propval)
563 xmlNodePtr root, child, next;
565 root = xmlDocGetRootElement(handle->zone_dh_doc);
566 for (child = root->xmlChildrenNode; child != NULL; child = next) {
629 if (snprintf(migpath, sizeof (migpath), "%s/root", path) >=
972 * paths. Strip out the alternate root when specified.
5636 if (strlcat(rootpath, "/root", rp_sz) >= rp_sz)
5688 * Return the appropriate root for the active /dev.
5689 * For normal zone, the path is $ZONEPATH/root;
5709 suffix = "/root";
5729 * If the zone's root is mounted on $ZONEPATH/lu, then
5770 * If we're looking at an alternate root, then we need to query the
7432 zerror(zone_name, gettext("alternate root path is too long"));
7450 zerror(zone_name, gettext("alternate root path is too long"));
7660 zerror(zone_name, gettext("alternate root path is too long"));