Lines Matching refs:dpe
2568 ddt_prune_entry_t *dpe; in prune_candidates_sync() local
2573 while ((dpe = list_remove_head(&dpi->dpi_candidates)) != NULL) { in prune_candidates_sync()
2575 ddt_t *ddt = dpe->dpe_ddt; in prune_candidates_sync()
2583 if (avl_find(&ddt->ddt_tree, &dpe->dpe_key, NULL)) { in prune_candidates_sync()
2585 kmem_free(dpe, sizeof (*dpe)); in prune_candidates_sync()
2589 ddt_bp_create(ddt->ddt_checksum, &dpe->dpe_key, in prune_candidates_sync()
2590 dpe->dpe_phys, DDT_PHYS_FLAT, &blk); in prune_candidates_sync()
2605 kmem_free(dpe, sizeof (*dpe)); in prune_candidates_sync()
2623 ddt_prune_entry_t *dpe = kmem_alloc(dpe_size, KM_SLEEP); in ddt_prune_entry() local
2625 dpe->dpe_ddt = ddt; in ddt_prune_entry()
2626 dpe->dpe_key = *ddk; in ddt_prune_entry()
2627 memcpy(dpe->dpe_phys, ddp, DDT_FLAT_PHYS_SIZE); in ddt_prune_entry()
2628 list_insert_head(list, dpe); in ddt_prune_entry()