Lines Matching refs:nodesum
135 int nodesum; /* total number of process to be created */ variable
192 extern int nodesum; /* total number of nodes created */ in print_shm()
204 for (pinfo = shmaddr, i = 0; i < nodesum; i++, pinfo++) { in print_shm()
384 extern int nodesum; in put_proc_info()
404 smp->list = (int *)(Pinfo *) (shmaddr + nodesum) + (BVAL * tval); in put_proc_info()
656 sem_lock = semget(IPC_PRIVATE, nodesum - 1,
659 dprt("nodesum = %d, sem_lock = %d\n", nodesum, sem_lock);
672 sem_count = semget(IPC_PRIVATE, nodesum - 1,
686 for (i = 0; i < (nodesum - 1); i++) {
718 extern int nodesum; /* global shared memory id */
727 sizeof(Pinfo) * nodesum + (nodesum * BVAL * sizeof(int)),
728 sizeof(Pinfo) * nodesum + (nodesum * BVAL * sizeof(int)),
729 nodesum);
733 sizeof(Pinfo) * nodesum + (nodesum * BVAL * sizeof(int)),
752 for (pinfo = shmad, i = 0; i < nodesum; i++, pinfo++) {
767 (int *)((long)shmad + nodesum * sizeof(Pinfo) +
1246 nodesum = sumit(BVAL, DVAL);
1248 if (nodesum > 250) {
1251 "SEMMSL value (250)\n", nodesum);
1253 nodesum = 250;
1257 dprt("value of nodesum is initiallized to: %d\n", nodesum);