Lines Matching defs:info

878 	struct knl_to_xml *info = (struct knl_to_xml *)user;
880 return (pool_knl_put_xml_property((pool_elem_t *)pe, info->ktx_node,
930 struct knl_to_xml info;
939 info.ktx_doc = xmlNewDoc(BAD_CAST "1.0");
940 (void) xmlCreateIntSubset(info.ktx_doc, BAD_CAST "system",
946 xmlFreeDoc(info.ktx_doc);
955 (void) xmlValidateDocument(cvp, info.ktx_doc);
957 if ((info.ktx_node = node_create(NULL, BAD_CAST "system")) ==
959 xmlFreeDoc(info.ktx_doc);
964 system = info.ktx_node;
965 info.ktx_doc->_private = (void *)conf;
967 (void) xmlDocSetRootElement(info.ktx_doc, info.ktx_node);
968 (void) xmlSetProp(info.ktx_node, BAD_CAST c_ref_id,
970 if ((node_comment = xmlNewDocComment(info.ktx_doc,
974 xmlFreeDoc(info.ktx_doc);
978 if (xmlAddPrevSibling(info.ktx_node, node_comment) == NULL) {
980 xmlFreeDoc(info.ktx_doc);
985 pool_conf_to_elem(conf), &info, prop_build_cb, 1) ==
987 xmlFreeDoc(info.ktx_doc);
991 xmlFreeDoc(info.ktx_doc);
1007 if ((info.ktx_node = node_create(system,
1012 xmlFreeDoc(info.ktx_doc);
1018 elem, &info, prop_build_cb, 1) == PO_FAIL) {
1021 xmlFreeDoc(info.ktx_doc);
1031 xmlFreeDoc(info.ktx_doc);
1039 xmlFreeDoc(info.ktx_doc);
1051 xmlFreeDoc(info.ktx_doc);
1057 (void) xmlSetProp(info.ktx_node, BAD_CAST "res",
1064 xmlFreeDoc(info.ktx_doc);
1067 (void) xmlSetProp(info.ktx_node,
1086 if ((info.ktx_node = node_create(system,
1091 xmlFreeDoc(info.ktx_doc);
1097 elem, &info, prop_build_cb, 1) == PO_FAIL) {
1100 xmlFreeDoc(info.ktx_doc);
1108 xmlFreeDoc(info.ktx_doc);
1111 (void) xmlSetProp(info.ktx_node,
1116 xmlNodePtr resource = info.ktx_node;
1121 if ((info.ktx_node =
1131 xmlFreeDoc(info.
1137 compelem, &info,
1143 xmlFreeDoc(info.
1155 xmlFreeDoc(info.
1159 (void) xmlSetProp(info.ktx_node,
1174 xmlFreeDoc(info.ktx_doc);
1180 if (xmlValidateDocument(cvp, info.ktx_doc) == 0) {
1182 xmlFreeDoc(info.ktx_doc);
1187 ret = xmlSaveFormatFile(location, info.ktx_doc, 1);
1188 xmlFreeDoc(info.ktx_doc);
2134 * readonly then try to open an info device, otherwise try to open