Lines Matching refs:NULL
67 pool->first_block = NULL; in ufdt_node_pool_construct()
74 while (block != NULL) { in ufdt_node_pool_destruct()
86 pool->first_block = NULL; in ufdt_node_pool_destruct()
87 pool->last_block_ptr = NULL; in ufdt_node_pool_destruct()
109 *next_ptr = NULL; in _ufdt_node_pool_create_block()
111 block->next_block = NULL; in _ufdt_node_pool_create_block()
149 if (origin_first_block == NULL) { in _ufdt_node_pool_preppend_block()
156 block->next_block = NULL; in _ufdt_node_pool_append_block()
169 if (next_block == NULL) { in _ufdt_node_pool_remove_block()
173 block->next_block = NULL; in _ufdt_node_pool_remove_block()
184 if (block == NULL || block->first_free_entry == NULL) { in ufdt_node_pool_alloc()
192 if (block->first_free_entry == NULL && *pool->last_block_ptr != block) { in ufdt_node_pool_alloc()
203 while (*block_ptr != NULL) { in _ufdt_node_pool_search_block()
225 if (*block_ptr == NULL) { in ufdt_node_pool_free()
236 if (block->alloc_entry_cnt == 0 && pool->first_block != NULL && in ufdt_node_pool_free()
237 pool->first_block->first_free_entry != NULL) { in ufdt_node_pool_free()