Home
last modified time | relevance | path

Searched refs:tcbtabsize (Results 1 – 4 of 4) sorted by relevance

/external/strace/
Dstrace.c87 unsigned int nprocs, tcbtabsize; variable
197 tcbtabsize = argc; /* Surely enough for all -p args. */
198 tcbtab = (struct tcb **) malloc (tcbtabsize * sizeof tcbtab[0]);
199 tcbtab[0] = (struct tcb *) calloc (tcbtabsize, sizeof *tcbtab[0]);
200 for (tcp = tcbtab[0]; tcp < &tcbtab[0][tcbtabsize]; ++tcp)
405 for (c = 0; c < tcbtabsize; c++) {
442 if (nprocs == tcbtabsize &&
725 realloc(tcbtab, 2 * tcbtabsize * sizeof tcbtab[0]); in expand_tcbtab()
726 struct tcb *newtcbs = (struct tcb *) calloc(tcbtabsize, in expand_tcbtab()
734 for (i = tcbtabsize; i < 2 * tcbtabsize; ++i) in expand_tcbtab()
[all …]
Ddefs.h405 extern unsigned int nprocs, tcbtabsize;
Dprocess.c421 if (nprocs == tcbtabsize) { in fork_tcb()
DChangeLog1867 (tcbtabsize): New variable.
1869 (alloctcb, main): Use tcbtabsize in place of MAX_PROCS; indirect.