Lines Matching refs:nobj_p
472 objlist_t *obj_p, *nobj_p; in alloc_probe_space() local
495 nobj_p = calloc(1, sizeof (objlist_t)); in alloc_probe_space()
496 if (nobj_p == NULL) in alloc_probe_space()
499 *o_pp = nobj_p; in alloc_probe_space()
501 nobj_p->new_probe = B_TRUE; in alloc_probe_space()
502 nobj_p->new = B_TRUE; in alloc_probe_space()
503 nobj_p->objfd = -1; in alloc_probe_space()
504 nobj_p->min_probe_num = min_probe_num; in alloc_probe_space()
505 nobj_p->probecnt = maxprobe - min_probe_num + 1; in alloc_probe_space()
506 nobj_p->probes = calloc(nobj_p->probecnt, sizeof (prbctlref_t)); in alloc_probe_space()
507 if (nobj_p->probes == NULL) { in alloc_probe_space()
508 free(nobj_p); in alloc_probe_space()
512 probe_p = &(nobj_p->probes[0]); in alloc_probe_space()
515 probe_p->obj = nobj_p; in alloc_probe_space()
520 if (nobj_p->probes) in alloc_probe_space()
521 free(nobj_p->probes); in alloc_probe_space()
522 free(nobj_p); in alloc_probe_space()