Lines Matching refs:pke

667 	pool_knl_elem_t *pke = (pool_knl_elem_t *)key;
668 pool_conf_t *conf = TO_CONF(TO_ELEM(pke));
671 assert(dict_remove(prov->pkc_elements, pke) != NULL);
674 pool_elem_dprintf(TO_ELEM(pke));
676 pool_knl_elem_free(pke, PO_TRUE);
689 pool_knl_elem_t *pke = (pool_knl_elem_t *)key;
690 pool_conf_t *conf = TO_CONF(TO_ELEM(pke));
694 if (pke->pke_ltime < prov->pkc_ltime)
695 (void) dict_put(dead_map, pke, pke);
1253 pool_knl_elem_t *pke = (pool_knl_elem_t *)key;
1267 for (parent = pke; parent != NULL;
1283 if (pool_get_property(TO_CONF(TO_ELEM(pke)),
1284 (pool_elem_t *)pke,
1941 pool_knl_elem_t *pke = (pool_knl_elem_t *)pe;
1943 return ((pool_elem_t *)pke->pke_parent);
2212 pool_knl_elem_t *pke = (pool_knl_elem_t *)key;
2215 dprintf("leak elem:%p\n", pke);
2216 if (pke->pke_properties != NULL) {
2217 nvlist_print(stdout, pke->pke_properties);
2220 assert(dict_get(map, pke) == NULL);
2228 pool_knl_elem_free(pool_knl_elem_t *pke, int freeprop)
2231 pool_conf_t *conf = TO_CONF(TO_ELEM(pke));
2233 pke) == NULL)
2234 dprintf("%p, wasn't in the leak map\n", pke);
2236 pool_elem_dprintf(TO_ELEM(pke));
2238 dprintf("released %p\n", pke);
2241 nvlist_free(pke->pke_properties);
2243 free(pke);
2255 pool_knl_elem_t *pke = (pool_knl_elem_t *)key;
2259 dprintf("about to release %p ", pke);
2260 pool_elem_dprintf(TO_ELEM(pke));
2262 pool_knl_elem_free(pke, PO_TRUE);
2300 pool_knl_elem_t *pke = (pool_knl_elem_t *)pe;
2308 if ((pair = pool_knl_find_nvpair(pke->pke_properties, name)) == NULL) {
2392 pool_knl_elem_t *pke = (pool_knl_elem_t *)pe;
2400 if ((bp = pool_knl_find_nvpair(pke->pke_properties, name)) != NULL) {
2411 if (pool_knl_nvlist_add_value(pke->pke_properties, name, val) !=
2431 ap = pool_knl_find_nvpair(pke->pke_properties, name);
2487 pool_knl_elem_t *pke = (pool_knl_elem_t *)pe;
2492 if (pool_knl_find_nvpair(pke->pke_properties, name) == NULL) {
2507 (void) nvlist_remove_all(pke->pke_properties, (char *)name);
2536 (void) nvlist_remove_all(pke->pke_properties, (char *)name);
2552 pool_knl_elem_t *pke = (pool_knl_elem_t *)pe;
2557 for (pair = nvlist_next_nvpair(pke->pke_properties, NULL); pair != NULL;
2558 pair = nvlist_next_nvpair(pke->pke_properties, pair))
2564 for (pair = nvlist_next_nvpair(pke->pke_properties, NULL); pair != NULL;
2565 pair = nvlist_next_nvpair(pke->pke_properties, pair), i++) {
2583 pool_knl_result_set_append(pool_knl_result_set_t *rs, pool_knl_elem_t *pke)
2589 rs->pkr_list[rs->pkr_count++] = pke;