Lines Matching refs:pool
128 xmlNodePtr pool; in add_pool_to_xml() local
141 pool = xmlNewChild(importable, NULL, (xmlChar *)ELEMENT_POOL, NULL); in add_pool_to_xml()
142 (void) xmlSetProp(pool, (xmlChar *)ATTR_POOL_NAME, (xmlChar *)name); in add_pool_to_xml()
144 set_uint64_prop(pool, ATTR_POOL_ID, guid); in add_pool_to_xml()
145 set_uint64_prop(pool, ATTR_POOL_VERSION, version); in add_pool_to_xml()
146 set_uint64_prop(pool, ATTR_POOL_USED, vs->vs_alloc); in add_pool_to_xml()
147 set_uint64_prop(pool, ATTR_POOL_SIZE, vs->vs_space); in add_pool_to_xml()
148 set_uint64_prop(pool, ATTR_POOL_REPLACEMENT_SIZE, vs->vs_rsize); in add_pool_to_xml()
149 set_uint64_prop(pool, ATTR_POOL_READ_BYTES, in add_pool_to_xml()
151 set_uint64_prop(pool, ATTR_POOL_WRITE_BYTES, in add_pool_to_xml()
153 set_uint64_prop(pool, ATTR_POOL_READ_OPERATIONS, in add_pool_to_xml()
155 set_uint64_prop(pool, ATTR_POOL_WRITE_OPERATIONS, in add_pool_to_xml()
157 set_uint64_prop(pool, ATTR_POOL_READ_ERRORS, vs->vs_read_errors); in add_pool_to_xml()
158 set_uint64_prop(pool, ATTR_POOL_WRITE_ERRORS, vs->vs_write_errors); in add_pool_to_xml()
159 set_uint64_prop(pool, ATTR_POOL_CHECKSUM_ERRORS, in add_pool_to_xml()
162 (void) xmlSetProp(pool, (xmlChar *)ATTR_DEVICE_STATE, in add_pool_to_xml()
165 (void) xmlSetProp(pool, (xmlChar *)ATTR_DEVICE_STATUS, in add_pool_to_xml()
168 (void) xmlSetProp(pool, (xmlChar *)ATTR_POOL_STATE, in add_pool_to_xml()
171 (void) xmlSetProp(pool, (xmlChar *)ATTR_POOL_STATUS, (xmlChar *) in add_pool_to_xml()