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_head(&bpl->bpl_list)) { in bplist_iterate()69 bplist_iterate_last_removed = bpe; in bplist_iterate()70 list_remove(&bpl->bpl_list, bpe); in bplist_iterate()72 func(arg, &bpe->bpe_blk, tx); in bplist_iterate()73 kmem_free(bpe, sizeof (*bpe)); in bplist_iterate()
152 int bpe; in bytes_to_elements() local154 bpe = bytes_per_element(expr); in bytes_to_elements()155 if (bpe == 0) in bytes_to_elements()157 return bytes / bpe; in bytes_to_elements()162 int bpe; in elements_to_bytes() local164 bpe = bytes_per_element(expr); in elements_to_bytes()165 return elements * bpe; in elements_to_bytes()