Home
last modified time | relevance | path

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

/dflybsd-src/sys/kern/
H A Dkern_synch.c1564 int tblsize; in sched_dyninit() local
1577 for (tblsize = maxproc | 1; ; tblsize += 2) { in sched_dyninit()
1578 if (tblsize % 3 == 0) in sched_dyninit()
1580 if (tblsize % 5 == 0) in sched_dyninit()
1582 tblsize2 = (tblsize / 2) | 1; in sched_dyninit()
1584 if (tblsize % n == 0) in sched_dyninit()
1595 if (tblsize > 2000003) in sched_dyninit()
1596 tblsize = 2000003; in sched_dyninit()
1598 slpque_tablesize = tblsize; in sched_dyninit()
/dflybsd-src/sbin/restore/
H A Dsymtab.c521 long tblsize; in initsymtable() local
548 tblsize = stbuf.st_size - sizeof(struct symtableheader); in initsymtable()
549 base = calloc(sizeof(char), (unsigned)tblsize); in initsymtable()
552 if (read(fd, base, (int)tblsize) < 0 || in initsymtable()
589 (base + tblsize - (entrytblsize * sizeof(struct entry *))); in initsymtable()