Lines Matching defs:suptr
475 register struct sem_undo *suptr;
492 suptr = SEMU(i);
493 if (suptr->un_proc == NULL) {
494 suptr->un_next_idx = semu_list_idx;
496 suptr->un_cnt = 0;
497 suptr->un_ent = NULL;
498 suptr->un_proc = p;
514 suptr = SEMU(*supidx);
515 if (suptr->un_cnt == 0) {
516 suptr->un_proc = NULL;
517 *supidx = suptr->un_next_idx;
520 supidx = &(suptr->un_next_idx);
552 register struct sem_undo *suptr;
564 suidx = suptr->un_next_idx) {
565 suptr = SEMU(suidx);
566 if (suptr->un_proc == p) {
585 suptr = SEMU(suidx);
587 for (i = 0, suepptr = &suptr->un_ent, sueptr = suptr->un_ent;
588 i < suptr->un_cnt;
597 suptr->un_cnt--;
611 if (suptr->un_cnt == limitseminfo.semume) {
624 new_sueptr->une_next = suptr->un_ent;
625 suptr->un_ent = new_sueptr;
626 suptr->un_cnt++;
639 struct sem_undo *suptr;
642 for (suidx = semu_list_idx; suidx != -1; suidx = suptr->un_next_idx) {
647 suptr = SEMU(suidx);
648 sueptr = suptr->un_ent;
649 suepptr = &suptr->un_ent;
650 while (i < suptr->un_cnt) {
653 suptr->un_cnt--;
1377 register struct sem_undo *suptr = NULL;
1401 supidx = &suptr->un_next_idx) {
1402 suptr = SEMU(suidx);
1403 if (suptr->un_proc == p)
1412 suptr->un_cnt);
1418 if (suptr->un_cnt > 0) {
1419 while (suptr->un_ent != NULL) {
1426 sueptr = suptr->un_ent;
1439 suptr->un_proc,
1471 suptr->un_cnt--;
1472 suptr->un_ent = sueptr->une_next;
1484 suptr->un_proc = NULL;
1485 *supidx = suptr->un_next_idx;