Searched refs:bpe (Results 1 – 2 of 2) sorted by relevance
48 bplist_entry_t *bpe = kmem_alloc(sizeof (*bpe), KM_SLEEP); in bplist_append() local51 bpe->bpe_blk = *bp; in bplist_append()52 list_insert_tail(&bpl->bpl_list, bpe); in bplist_append()65 bplist_entry_t *bpe; in bplist_iterate() local68 while ((bpe = list_remove_head(&bpl->bpl_list))) { in bplist_iterate()69 bplist_iterate_last_removed = bpe; in bplist_iterate()71 func(arg, &bpe->bpe_blk, tx); in bplist_iterate()72 kmem_free(bpe, sizeof (*bpe)); in bplist_iterate()81 bplist_entry_t *bpe; in bplist_clear() local84 while ((bpe = list_remove_head(&bpl->bpl_list))) in bplist_clear()[all …]
1403 if (bpe == NULL) { in brt_pending_add()1407 bpe->bpe_count++; in brt_pending_add()1413 ASSERT(bpe != NULL); in brt_pending_add()1414 ASSERT(bpe != newbpe); in brt_pending_add()1417 ASSERT(bpe == NULL); in brt_pending_add()1445 if (bpe != NULL) { in brt_pending_remove()1446 ASSERT(bpe->bpe_count > 0); in brt_pending_remove()1448 bpe->bpe_count--; in brt_pending_remove()1449 if (bpe->bpe_count == 0) { in brt_pending_remove()1450 avl_remove(pending_tree, bpe); in brt_pending_remove()[all …]