Lines Matching refs:newnode

1660 	xmlNodePtr newnode, cur = handle->zone_dh_cur, options_node;  in zonecfg_add_filesystem_core()  local
1664 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_FS, NULL); in zonecfg_add_filesystem_core()
1665 if ((err = newprop(newnode, DTD_ATTR_SPECIAL, in zonecfg_add_filesystem_core()
1669 (err = newprop(newnode, DTD_ATTR_RAW, tabptr->zone_fs_raw)) != Z_OK) in zonecfg_add_filesystem_core()
1671 if ((err = newprop(newnode, DTD_ATTR_DIR, tabptr->zone_fs_dir)) != Z_OK) in zonecfg_add_filesystem_core()
1673 if ((err = newprop(newnode, DTD_ATTR_TYPE, in zonecfg_add_filesystem_core()
1679 options_node = xmlNewTextChild(newnode, NULL, in zonecfg_add_filesystem_core()
2207 xmlNodePtr newnode, cur = handle->zone_dh_cur; in zonecfg_add_nwif_core() local
2210 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_NET, NULL); in zonecfg_add_nwif_core()
2212 (err = newprop(newnode, DTD_ATTR_ADDRESS, in zonecfg_add_nwif_core()
2216 (err = newprop(newnode, DTD_ATTR_ALLOWED_ADDRESS, in zonecfg_add_nwif_core()
2219 if ((err = newprop(newnode, DTD_ATTR_PHYSICAL, in zonecfg_add_nwif_core()
2227 ((err = newprop(newnode, DTD_ATTR_DEFROUTER, in zonecfg_add_nwif_core()
2516 xmlNodePtr newnode, cur = handle->zone_dh_cur; in zonecfg_add_dev_core() local
2519 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_DEVICE, NULL); in zonecfg_add_dev_core()
2521 if ((err = newprop(newnode, DTD_ATTR_MATCH, in zonecfg_add_dev_core()
2611 xmlNodePtr newnode, cur = handle->zone_dh_cur; in zonecfg_add_auth_core() local
2614 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_ADMIN, NULL); in zonecfg_add_auth_core()
2615 err = newprop(newnode, DTD_ATTR_USER, tabptr->zone_admin_user); in zonecfg_add_auth_core()
2618 err = newprop(newnode, DTD_ATTR_AUTHS, tabptr->zone_admin_auths); in zonecfg_add_auth_core()
2762 xmlNodePtr newnode, cur = handle->zone_dh_cur; in zonecfg_add_secflags_core() local
2765 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_SECFLAGS, NULL); in zonecfg_add_secflags_core()
2766 err = newprop(newnode, DTD_ATTR_DEFAULT, tabptr->zone_secflags_default); in zonecfg_add_secflags_core()
2769 err = newprop(newnode, DTD_ATTR_LOWER, tabptr->zone_secflags_lower); in zonecfg_add_secflags_core()
2772 err = newprop(newnode, DTD_ATTR_UPPER, tabptr->zone_secflags_upper); in zonecfg_add_secflags_core()
2935 xmlNodePtr newnode; in get_detach_dev_entry() local
2944 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_DEV_PERM, NULL); in get_detach_dev_entry()
2945 if ((err = newprop(newnode, DTD_ATTR_NAME, (char *)name)) != Z_OK) in get_detach_dev_entry()
2948 if ((err = newprop(newnode, DTD_ATTR_UID, buf)) != Z_OK) in get_detach_dev_entry()
2951 if ((err = newprop(newnode, DTD_ATTR_GID, buf)) != Z_OK) in get_detach_dev_entry()
2954 if ((err = newprop(newnode, DTD_ATTR_MODE, buf)) != Z_OK) in get_detach_dev_entry()
2956 if ((err = newprop(newnode, DTD_ATTR_ACL, (char *)acl)) != Z_OK) in get_detach_dev_entry()
3230 xmlNodePtr newnode, cur = handle->zone_dh_cur; in zonecfg_add_attr_core() local
3233 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_ATTR, NULL); in zonecfg_add_attr_core()
3234 err = newprop(newnode, DTD_ATTR_NAME, tabptr->zone_attr_name); in zonecfg_add_attr_core()
3237 err = newprop(newnode, DTD_ATTR_TYPE, tabptr->zone_attr_type); in zonecfg_add_attr_core()
3240 err = newprop(newnode, DTD_ATTR_VALUE, tabptr->zone_attr_value); in zonecfg_add_attr_core()
3470 xmlNodePtr newnode, cur = handle->zone_dh_cur, valnode; in zonecfg_add_rctl_core() local
3474 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_RCTL, NULL); in zonecfg_add_rctl_core()
3475 err = newprop(newnode, DTD_ATTR_NAME, tabptr->zone_rctl_name); in zonecfg_add_rctl_core()
3480 valnode = xmlNewTextChild(newnode, NULL, in zonecfg_add_rctl_core()
3646 xmlNodePtr newnode; in zonecfg_add_pkg() local
3654 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_PACKAGE, NULL); in zonecfg_add_pkg()
3655 if ((err = newprop(newnode, DTD_ATTR_NAME, name)) != Z_OK) in zonecfg_add_pkg()
3657 if ((err = newprop(newnode, DTD_ATTR_VERSION, version)) != Z_OK) in zonecfg_add_pkg()
6458 xmlNodePtr newnode, cur = handle->zone_dh_cur; in zonecfg_add_ds_core() local
6461 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_DATASET, NULL); in zonecfg_add_ds_core()
6462 if ((err = newprop(newnode, DTD_ATTR_NAME, in zonecfg_add_ds_core()
6838 xmlNodePtr newnode; in modify_tmp_pool() local
6848 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_TMPPOOL, NULL); in modify_tmp_pool()
6849 if ((err = newprop(newnode, DTD_ATTR_IMPORTANCE, in modify_tmp_pool()
6860 xmlNodePtr newnode, cur = handle->zone_dh_cur; in add_pset_core() local
6863 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_PSET, NULL); in add_pset_core()
6864 if ((err = newprop(newnode, DTD_ATTR_NCPU_MIN, in add_pset_core()
6867 if ((err = newprop(newnode, DTD_ATTR_NCPU_MAX, in add_pset_core()
7007 xmlNodePtr newnode, cur = handle->zone_dh_cur; in add_mcap() local
7010 newnode = xmlNewTextChild(cur, NULL, DTD_ELEM_MCAP, NULL); in add_mcap()
7011 if ((err = newprop(newnode, DTD_ATTR_PHYSCAP, tabptr->zone_physmem_cap)) in add_mcap()