Lines Matching refs:info

876 	struct knl_to_xml *info = (struct knl_to_xml *)user;
878 return (pool_knl_put_xml_property((pool_elem_t *)pe, info->ktx_node,
928 struct knl_to_xml info;
937 info.ktx_doc = xmlNewDoc(BAD_CAST "1.0");
938 (void) xmlCreateIntSubset(info.ktx_doc, BAD_CAST "system",
944 xmlFreeDoc(info.ktx_doc);
953 (void) xmlValidateDocument(cvp, info.ktx_doc);
955 if ((info.ktx_node = node_create(NULL, BAD_CAST "system")) ==
957 xmlFreeDoc(info.ktx_doc);
962 system = info.ktx_node;
963 info.ktx_doc->_private = (void *)conf;
965 (void) xmlDocSetRootElement(info.ktx_doc, info.ktx_node);
966 (void) xmlSetProp(info.ktx_node, BAD_CAST c_ref_id,
968 if ((node_comment = xmlNewDocComment(info.ktx_doc,
972 xmlFreeDoc(info.ktx_doc);
976 if (xmlAddPrevSibling(info.ktx_node, node_comment) == NULL) {
978 xmlFreeDoc(info.ktx_doc);
983 pool_conf_to_elem(conf), &info, prop_build_cb, 1) ==
985 xmlFreeDoc(info.ktx_doc);
989 xmlFreeDoc(info.ktx_doc);
1005 if ((info.ktx_node = node_create(system,
1010 xmlFreeDoc(info.ktx_doc);
1016 elem, &info, prop_build_cb, 1) == PO_FAIL) {
1019 xmlFreeDoc(info.ktx_doc);
1029 xmlFreeDoc(info.ktx_doc);
1037 xmlFreeDoc(info.ktx_doc);
1049 xmlFreeDoc(info.ktx_doc);
1055 (void) xmlSetProp(info.ktx_node, BAD_CAST "res",
1062 xmlFreeDoc(info.ktx_doc);
1065 (void) xmlSetProp(info.ktx_node,
1084 if ((info.ktx_node = node_create(system,
1089 xmlFreeDoc(info.ktx_doc);
1095 elem, &info, prop_build_cb, 1) == PO_FAIL) {
1098 xmlFreeDoc(info.ktx_doc);
1106 xmlFreeDoc(info.ktx_doc);
1109 (void) xmlSetProp(info.ktx_node,
1114 xmlNodePtr resource = info.ktx_node;
1119 if ((info.ktx_node =
1129 xmlFreeDoc(info.
1135 compelem, &info,
1141 xmlFreeDoc(info.
1153 xmlFreeDoc(info.
1157 (void) xmlSetProp(info.ktx_node,
1172 xmlFreeDoc(info.ktx_doc);
1178 if (xmlValidateDocument(cvp, info.ktx_doc) == 0) {
1180 xmlFreeDoc(info.ktx_doc);
1185 ret = xmlSaveFormatFile(location, info.ktx_doc, 1);
1186 xmlFreeDoc(info.ktx_doc);
2132 * readonly then try to open an info device, otherwise try to open