Lines Matching refs:nbytes
63 ckmalloc(size_t nbytes) in ckmalloc() argument
69 p = malloc(nbytes); in ckmalloc()
81 ckrealloc(pointer p, int nbytes) in ckrealloc() argument
85 p = realloc(p, nbytes); in ckrealloc()
142 stnewblock(int nbytes) in stnewblock() argument
147 if (nbytes < MINSIZE) in stnewblock()
148 nbytes = MINSIZE; in stnewblock()
150 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); in stnewblock()
164 stalloc(int nbytes) in stalloc() argument
168 nbytes = ALIGN(nbytes); in stalloc()
169 if (nbytes > stacknleft) in stalloc()
170 stnewblock(nbytes); in stalloc()
172 stacknxt += nbytes; in stalloc()
173 stacknleft -= nbytes; in stalloc()