Lines Matching refs:tp_refinfo
466 n, tpcb, tp_refinfo.tpr_maxopen);
472 n, tp_refinfo.tpr_maxopen, tpcb, 0);
485 for (r = tp_ref + tp_refinfo.tpr_maxopen; r > tp_ref; r--)
488 tp_refinfo.tpr_maxopen = r - tp_ref;
489 tp_refinfo.tpr_numopen--;
493 printf("tp_freeref ends w/ maxrefopen %d\n", tp_refinfo.tpr_maxopen);
524 if (++tp_refinfo.tpr_numopen < tp_refinfo.tpr_size)
525 for (r = tp_refinfo.tpr_base, rlim = r + tp_refinfo.tpr_size;
531 obase = (void *) tp_refinfo.tpr_base;
532 size = tp_refinfo.tpr_size * sizeof(struct tp_ref);
535 return (--tp_refinfo.tpr_numopen, TP_ENOREF);
536 tp_refinfo.tpr_base = tp_ref = r;
537 tp_refinfo.tpr_size *= 2;
546 i = r - tp_refinfo.tpr_base;
547 if (tp_refinfo.tpr_maxopen < i)
548 tp_refinfo.tpr_maxopen = i;