Lines Matching refs:len
117 unsigned long len = original_len;
121 if (len == 0)
122 len = 1;
124 len = (len + OBJALLOC_ALIGN - 1) &~ (OBJALLOC_ALIGN - 1);
128 if (len + CHUNK_HEADER_SIZE < original_len)
131 if (len <= o->current_space)
133 o->current_ptr += len;
134 o->current_space -= len;
135 return (PTR) (o->current_ptr - len);
138 if (len >= BIG_REQUEST)
143 ret = (char *) malloc (CHUNK_HEADER_SIZE + len);
170 return objalloc_alloc (o, len);