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 …]
1402 if (bpe == NULL) { in brt_pending_add()1406 bpe->bpe_count++; in brt_pending_add()1412 ASSERT(bpe != NULL); in brt_pending_add()1413 ASSERT(bpe != newbpe); in brt_pending_add()1416 ASSERT(bpe == NULL); in brt_pending_add()1444 if (bpe != NULL) { in brt_pending_remove()1445 ASSERT(bpe->bpe_count > 0); in brt_pending_remove()1447 bpe->bpe_count--; in brt_pending_remove()1448 if (bpe->bpe_count == 0) { in brt_pending_remove()1449 avl_remove(pending_tree, bpe); in brt_pending_remove()[all …]