Lines Matching defs:tmpdpp
383 tsdpent_t *tmpdpp;
473 tmpdpp = kmem_alloc(tsdpsz, KM_SLEEP);
474 if (copyin((caddr_t)tsadmin.ts_dpents, (caddr_t)tmpdpp,
476 kmem_free(tmpdpp, tsdpsz);
489 if (tmpdpp[i].ts_quantum <= 0) {
490 kmem_free(tmpdpp, tsdpsz);
493 if (tmpdpp[i].ts_tqexp > ts_maxumdpri ||
494 tmpdpp[i].ts_tqexp < 0) {
495 kmem_free(tmpdpp, tsdpsz);
498 if (tmpdpp[i].ts_slpret > ts_maxumdpri ||
499 tmpdpp[i].ts_slpret < 0) {
500 kmem_free(tmpdpp, tsdpsz);
503 if (tmpdpp[i].ts_maxwait < 0) {
504 kmem_free(tmpdpp, tsdpsz);
507 if (tmpdpp[i].ts_lwait > ts_maxumdpri ||
508 tmpdpp[i].ts_lwait < 0) {
509 kmem_free(tmpdpp, tsdpsz);
521 ts_dptbl[i].ts_quantum = tmpdpp[i].ts_quantum;
522 ts_dptbl[i].ts_tqexp = tmpdpp[i].ts_tqexp;
523 ts_dptbl[i].ts_slpret = tmpdpp[i].ts_slpret;
524 ts_dptbl[i].ts_maxwait = tmpdpp[i].ts_maxwait;
525 ts_dptbl[i].ts_lwait = tmpdpp[i].ts_lwait;
528 kmem_free(tmpdpp, tsdpsz);