Home | History | Annotate | Download | only in process_stress

Lines Matching refs:pinfo

100 } Pinfo;
144 Pinfo *shmaddr; /* Start address of shared memory */
172 Pinfo *put_proc_info(int tval);
184 Pinfo *shmgetseg(void);
194 extern Pinfo *shmaddr; /* shared memory pointer */
197 Pinfo *pinfo; /* pointer to process info in shared memory */
205 for (pinfo = shmaddr, i = 0; i < nodesum; i++, pinfo++) {
208 i, pinfo->pid, pinfo->ppid, pinfo->msg, pinfo->err);
209 for (j = 0, listp = pinfo->list; j < BVAL; j++, listp++)
298 extern Pinfo *shmaddr; /* Global shared memory address */
383 Pinfo *put_proc_info(int tval)
386 extern Pinfo *shmaddr;
390 Pinfo *smp; /* ptr to current process data slot */
405 smp->list = (int *)(Pinfo *) (shmaddr + nodesum) + (BVAL * tval);
426 extern Pinfo *shmaddr;
538 Pinfo *pinfo; /* pointer to process information in shared mem */
555 pinfo = put_proc_info(tval);
559 pinfo->pid, pinfo->ppid, level, i, tval);
721 extern Pinfo *shmaddr;
724 Pinfo *shmad = NULL; /* ptr to start of shared memory. */
725 Pinfo *pinfo = NULL; /* ptr to struct in shared memory. */
728 sizeof(Pinfo) * nodesum + (nodesum * BVAL * sizeof(int)),
729 sizeof(Pinfo) * nodesum + (nodesum * BVAL * sizeof(int)),
734 sizeof(Pinfo) * nodesum + (nodesum * BVAL * sizeof(int)),
753 for (pinfo = shmad, i = 0; i < nodesum; i++, pinfo++) {
755 pinfo->pid = (pid_t) - 1;
756 pinfo->ppid = (pid_t) - 1;
758 pinfo->pid = -1;
759 pinfo->ppid = -1;
761 pinfo->msg = -1;
762 pinfo->err = -1;
765 /* pinfo->list = (int *)((ulong)shmad + nodesum * sizeof(Pinfo)
767 pinfo->list =
768 (int *)((long)shmad + nodesum * sizeof(Pinfo) +
771 *(pinfo->list + j) = -1;
1226 extern Pinfo *shmaddr; /* start address of shared memory */