Lines Matching refs:nbytes
65 ckmalloc(size_t nbytes) in ckmalloc() argument
71 p = malloc(nbytes); in ckmalloc()
83 ckrealloc(pointer p, int nbytes) in ckrealloc() argument
87 p = realloc(p, nbytes); in ckrealloc()
144 stnewblock(int nbytes) in stnewblock() argument
149 if (nbytes < MINSIZE) in stnewblock()
150 nbytes = MINSIZE; in stnewblock()
152 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); in stnewblock()
166 stalloc(int nbytes) in stalloc() argument
170 nbytes = ALIGN(nbytes); in stalloc()
171 if (nbytes > stacknleft) in stalloc()
172 stnewblock(nbytes); in stalloc()
174 stacknxt += nbytes; in stalloc()
175 stacknleft -= nbytes; in stalloc()