Lines Matching refs:bhp
53 bhv_insert(bhv_head_t *bhp, bhv_desc_t *bdp) in bhv_insert() argument
68 for (curdesc = bhp->bh_first; in bhv_insert()
89 bdp->bd_next = bhp->bh_first; in bhv_insert()
90 bhp->bh_first = bdp; in bhv_insert()
106 bhv_remove_not_first(bhv_head_t *bhp, bhv_desc_t *bdp) in bhv_remove_not_first() argument
110 ASSERT(bhp->bh_first != NULL); in bhv_remove_not_first()
111 ASSERT(bhp->bh_first->bd_next != NULL); in bhv_remove_not_first()
113 prev = bhp->bh_first; in bhv_remove_not_first()
114 for (curdesc = bhp->bh_first->bd_next; in bhv_remove_not_first()
132 bhv_lookup(bhv_head_t *bhp, void *ops) in bhv_lookup() argument
136 for (curdesc = bhp->bh_first; in bhv_lookup()
152 bhv_lookup_range(bhv_head_t *bhp, int low, int high) in bhv_lookup_range() argument
156 for (curdesc = bhp->bh_first; in bhv_lookup_range()
180 bhv_base(bhv_head_t *bhp) in bhv_base() argument
184 for (curdesc = bhp->bh_first; in bhv_base()
198 bhv_head_t *bhp, in bhv_head_init() argument
201 bhp->bh_first = NULL; in bhv_head_init()
206 bhv_head_t *bhp, in bhv_insert_initial() argument
209 ASSERT(bhp->bh_first == NULL); in bhv_insert_initial()
210 (bhp)->bh_first = bdp; in bhv_insert_initial()
215 bhv_head_t *bhp) in bhv_head_destroy() argument
217 ASSERT(bhp->bh_first == NULL); in bhv_head_destroy()