Lines Matching defs:tmpdpp
382 tsdpent_t *tmpdpp;
472 tmpdpp = kmem_alloc(tsdpsz, KM_SLEEP);
473 if (copyin((caddr_t)tsadmin.ts_dpents, (caddr_t)tmpdpp,
475 kmem_free(tmpdpp, tsdpsz);
488 if (tmpdpp[i].ts_quantum <= 0) {
489 kmem_free(tmpdpp, tsdpsz);
492 if (tmpdpp[i].ts_tqexp > ts_maxumdpri ||
493 tmpdpp[i].ts_tqexp < 0) {
494 kmem_free(tmpdpp, tsdpsz);
497 if (tmpdpp[i].ts_slpret > ts_maxumdpri ||
498 tmpdpp[i].ts_slpret < 0) {
499 kmem_free(tmpdpp, tsdpsz);
502 if (tmpdpp[i].ts_maxwait < 0) {
503 kmem_free(tmpdpp, tsdpsz);
506 if (tmpdpp[i].ts_lwait > ts_maxumdpri ||
507 tmpdpp[i].ts_lwait < 0) {
508 kmem_free(tmpdpp, tsdpsz);
520 ts_dptbl[i].ts_quantum = tmpdpp[i].ts_quantum;
521 ts_dptbl[i].ts_tqexp = tmpdpp[i].ts_tqexp;
522 ts_dptbl[i].ts_slpret = tmpdpp[i].ts_slpret;
523 ts_dptbl[i].ts_maxwait = tmpdpp[i].ts_maxwait;
524 ts_dptbl[i].ts_lwait = tmpdpp[i].ts_lwait;
527 kmem_free(tmpdpp, tsdpsz);