Lines Matching defs:allocp
79 void *(*allocp)(size_t), void (*freep)(void *, size_t)) =
81 void *(*allocp)(size_t), void (*freep)(void *, size_t)))NULL;
98 uint64_t **buf, void *(*allocp)(size_t),
111 uint64_t **buf, void *(*allocp)(size_t),
157 void *(*allocp)(size_t), void (*freep)(void *, size_t))
168 return ((*ldom_pri_fp_get)(wait, token, buf, allocp, freep));
188 bufp = (uint64_t *)lhp->allocp(size);
213 if (mdp = md_init_intern(bufp, lhp->allocp, lhp->freep)) {
218 listp = lhp->allocp(sizeof (mde_cookie_t) * num_nodes);
265 if ((mdp = md_init_intern(bufp, lhp->allocp, lhp->freep)) == NULL ||
271 listp = (mde_cookie_t *)lhp->allocp(sizeof (mde_cookie_t) * num_nodes);
340 if ((mdp = md_init_intern(bufp, lhp->allocp, lhp->freep)) == NULL) {
351 listp = lhp->allocp(sizeof (mde_cookie_t) * num_nodes);
629 (blr.bl_fmri = (caddr_t)lhp->allocp(blr.bl_fmrisz)) ==
693 buf, lhp->allocp, lhp->freep);
702 rv = ldom_pri_get(PRI_GET, &tok, buf, lhp->allocp, lhp->freep);
763 ldom_init(void *(*allocp)(size_t size),
768 if (allocp == NULL && freep == NULL) {
769 allocp = ldom_alloc;
771 } else if (allocp == NULL || freep == NULL) {
783 if ((lhp = allocp(sizeof (struct ldom_hdl))) == NULL) {
791 lhp->allocp = allocp;