Searched refs:tcbtabsize (Results 1 – 4 of 4) sorted by relevance
120 unsigned int nprocs, tcbtabsize; variable405 for (tcbi = 0; tcbi < tcbtabsize; tcbi++) { in startup_attach()774 tcbtabsize = argc; /* Surely enough for all -p args. */ in main()775 if ((tcbtab = calloc(tcbtabsize, sizeof tcbtab[0])) == NULL) { in main()779 if ((tcbtab[0] = calloc(tcbtabsize, sizeof tcbtab[0][0])) == NULL) { in main()783 for (tcp = tcbtab[0]; tcp < &tcbtab[0][tcbtabsize]; ++tcp) in main()1084 realloc(tcbtab, 2 * tcbtabsize * sizeof tcbtab[0]); in expand_tcbtab()1085 struct tcb *newtcbs = (struct tcb *) calloc(tcbtabsize, in expand_tcbtab()1094 for (i = tcbtabsize; i < 2 * tcbtabsize; ++i) in expand_tcbtab()1095 newtab[i] = &newtcbs[i - tcbtabsize]; in expand_tcbtab()[all …]
505 extern unsigned int nprocs, tcbtabsize;
472 if (nprocs == tcbtabsize) in fork_tcb()
3868 (tcbtabsize): New variable.3870 (alloctcb, main): Use tcbtabsize in place of MAX_PROCS; indirect.