Lines Matching refs:newnode
1658 xmlNodePtr newnode, cur = handle->zone_dh_cur, options_node;
1662 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_FS, NULL);
1663 if ((err = newprop(newnode, DTD_ATTR_SPECIAL,
1667 (err = newprop(newnode, DTD_ATTR_RAW, tabptr->zone_fs_raw)) != Z_OK)
1669 if ((err = newprop(newnode, DTD_ATTR_DIR, tabptr->zone_fs_dir)) != Z_OK)
1671 if ((err = newprop(newnode, DTD_ATTR_TYPE,
1677 options_node = xmlNewTextChild(newnode, NULL,
2205 xmlNodePtr newnode, cur = handle->zone_dh_cur;
2208 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_NET, NULL);
2210 (err = newprop(newnode, DTD_ATTR_ADDRESS,
2214 (err = newprop(newnode, DTD_ATTR_ALLOWED_ADDRESS,
2217 if ((err = newprop(newnode, DTD_ATTR_PHYSICAL,
2225 ((err = newprop(newnode, DTD_ATTR_DEFROUTER,
2514 xmlNodePtr newnode, cur = handle->zone_dh_cur;
2517 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_DEVICE, NULL);
2519 if ((err = newprop(newnode, DTD_ATTR_MATCH,
2609 xmlNodePtr newnode, cur = handle->zone_dh_cur;
2612 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_ADMIN, NULL);
2613 err = newprop(newnode, DTD_ATTR_USER, tabptr->zone_admin_user);
2616 err = newprop(newnode, DTD_ATTR_AUTHS, tabptr->zone_admin_auths);
2760 xmlNodePtr newnode, cur = handle->zone_dh_cur;
2763 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_SECFLAGS, NULL);
2764 err = newprop(newnode, DTD_ATTR_DEFAULT, tabptr->zone_secflags_default);
2767 err = newprop(newnode, DTD_ATTR_LOWER, tabptr->zone_secflags_lower);
2770 err = newprop(newnode, DTD_ATTR_UPPER, tabptr->zone_secflags_upper);
2933 xmlNodePtr newnode;
2942 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_DEV_PERM, NULL);
2943 if ((err = newprop(newnode, DTD_ATTR_NAME, (char *)name)) != Z_OK)
2946 if ((err = newprop(newnode, DTD_ATTR_UID, buf)) != Z_OK)
2949 if ((err = newprop(newnode, DTD_ATTR_GID, buf)) != Z_OK)
2952 if ((err = newprop(newnode, DTD_ATTR_MODE, buf)) != Z_OK)
2954 if ((err = newprop(newnode, DTD_ATTR_ACL, (char *)acl)) != Z_OK)
3228 xmlNodePtr newnode, cur = handle->zone_dh_cur;
3231 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_ATTR, NULL);
3232 err = newprop(newnode, DTD_ATTR_NAME, tabptr->zone_attr_name);
3235 err = newprop(newnode, DTD_ATTR_TYPE, tabptr->zone_attr_type);
3238 err = newprop(newnode, DTD_ATTR_VALUE, tabptr->zone_attr_value);
3468 xmlNodePtr newnode, cur = handle->zone_dh_cur, valnode;
3472 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_RCTL, NULL);
3473 err = newprop(newnode, DTD_ATTR_NAME, tabptr->zone_rctl_name);
3478 valnode = xmlNewTextChild(newnode, NULL,
3644 xmlNodePtr newnode;
3652 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_PACKAGE, NULL);
3653 if ((err = newprop(newnode, DTD_ATTR_NAME, name)) != Z_OK)
3655 if ((err = newprop(newnode, DTD_ATTR_VERSION, version)) != Z_OK)
6456 xmlNodePtr newnode, cur = handle->zone_dh_cur;
6459 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_DATASET, NULL);
6460 if ((err = newprop(newnode, DTD_ATTR_NAME,
6836 xmlNodePtr newnode;
6846 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_TMPPOOL, NULL);
6847 if ((err = newprop(newnode, DTD_ATTR_IMPORTANCE,
6858 xmlNodePtr newnode, cur = handle->zone_dh_cur;
6861 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_PSET, NULL);
6862 if ((err = newprop(newnode, DTD_ATTR_NCPU_MIN,
6865 if ((err = newprop(newnode, DTD_ATTR_NCPU_MAX,
7005 xmlNodePtr newnode, cur = handle->zone_dh_cur;
7008 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_MCAP, NULL);
7009 if ((err = newprop(newnode, DTD_ATTR_PHYSCAP, tabptr->zone_physmem_cap))