Home
last modified time | relevance | path

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

/external/strace/
Dstrace.c160 static unsigned int nprocs, tcbtabsize; variable
678 int i = tcbtabsize; in expand_tcbtab()
679 struct tcb *newtcbs = calloc(tcbtabsize, sizeof(newtcbs[0])); in expand_tcbtab()
680 struct tcb **newtab = realloc(tcbtab, tcbtabsize * 2 * sizeof(tcbtab[0])); in expand_tcbtab()
683 tcbtabsize *= 2; in expand_tcbtab()
685 while (i < tcbtabsize) in expand_tcbtab()
695 if (nprocs == tcbtabsize) in alloctcb()
698 for (i = 0; i < tcbtabsize; i++) { in alloctcb()
989 for (tcbi = 0; tcbi < tcbtabsize; tcbi++) { in startup_attach()
1654 tcbtabsize = argc; /* Surely enough for all -p args. */ in init()
[all …]
DChangeLog-CVS3868 (tcbtabsize): New variable.
3870 (alloctcb, main): Use tcbtabsize in place of MAX_PROCS; indirect.