Lines Matching refs:nbytes
58 ckmalloc(size_t nbytes) in ckmalloc() argument
63 p = malloc(nbytes); in ckmalloc()
76 ckrealloc(pointer p, int nbytes) in ckrealloc() argument
79 p = realloc(p, nbytes); in ckrealloc()
137 stnewblock(int nbytes) in stnewblock() argument
142 if (nbytes < MINSIZE) in stnewblock()
143 nbytes = MINSIZE; in stnewblock()
145 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); in stnewblock()
159 stalloc(int nbytes) in stalloc() argument
163 nbytes = ALIGN(nbytes); in stalloc()
164 if (nbytes > stacknleft) in stalloc()
165 stnewblock(nbytes); in stalloc()
167 stacknxt += nbytes; in stalloc()
168 stacknleft -= nbytes; in stalloc()