Lines Matching refs:NULL
92 if (ret == NULL) in objalloc_create()
93 return NULL; in objalloc_create()
96 if (ret->chunks == NULL) in objalloc_create()
99 return NULL; in objalloc_create()
103 chunk->next = NULL; in objalloc_create()
104 chunk->current_ptr = NULL; in objalloc_create()
129 return NULL; in _objalloc_alloc()
144 if (ret == NULL) in _objalloc_alloc()
145 return NULL; in _objalloc_alloc()
160 if (chunk == NULL) in _objalloc_alloc()
161 return NULL; in _objalloc_alloc()
163 chunk->current_ptr = NULL; in _objalloc_alloc()
182 while (l != NULL) in objalloc_free()
205 small = NULL; in objalloc_free_block()
206 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next) in objalloc_free_block()
208 if (p->current_ptr == NULL) in objalloc_free_block()
222 if (p == NULL) in objalloc_free_block()
225 if (p->current_ptr == NULL) in objalloc_free_block()
237 first = NULL; in objalloc_free_block()
244 if (small != NULL) in objalloc_free_block()
247 small = NULL; in objalloc_free_block()
252 else if (first == NULL) in objalloc_free_block()
258 if (first == NULL) in objalloc_free_block()
292 while (p->current_ptr != NULL) in objalloc_free_block()