Lines Matching refs:upc
351 struct user_uprof *upc, *nupc;
367 upc = user_upp->pr_next;
375 while (upc) {
376 nupc = upc->pr_next;
377 kfree(upc, sizeof (*upc));
378 upc = nupc;
382 struct uprof *upc, *nupc;
395 upc = upp->pr_next;
403 while (upc) {
404 nupc = upc->pr_next;
405 kfree(upc, sizeof (struct uprof));
406 upc = nupc;
428 struct uprof *upp = &p->p_stats->p_prof, *upc;
434 upc = NULL;
454 upc = (struct uprof *) kalloc(sizeof (struct uprof));
455 upc->pr_base = CAST_DOWN(caddr_t, uap->bufbase);
456 upc->pr_size = uap->bufsize;
457 upc->pr_off = uap->pcoffset;
458 upc->pr_scale = uap->pcscale;
473 upc->pr_next = upp->pr_next;
474 upp->pr_next = upc;
475 upc = NULL;
481 if (upc)
482 kfree(upc, sizeof(struct uprof));