Lines Matching refs:NULL

6         {32, 0, 0, NULL, NULL, NULL, NULL},
7 {64, 0, 0, NULL, NULL, NULL, NULL},
8 {128, 0, 0, NULL, NULL, NULL, NULL},
9 {256, 0, 0, NULL, NULL, NULL, NULL},
10 {512, 0, 0, NULL, NULL, NULL, NULL},
11 {1024, 0, 0, NULL, NULL, NULL, NULL}, // 1KB
12 {2048, 0, 0, NULL, NULL, NULL, NULL},
13 {4096, 0, 0, NULL, NULL, NULL, NULL}, // 4KB
14 {8192, 0, 0, NULL, NULL, NULL, NULL},
15 {16384, 0, 0, NULL, NULL, NULL, NULL},
16 {32768, 0, 0, NULL, NULL, NULL, NULL},
17 {65536, 0, 0, NULL, NULL, NULL, NULL},
18 {131072, 0, 0, NULL, NULL, NULL, NULL}, // 128KB
19 {262144, 0, 0, NULL, NULL, NULL, NULL},
20 {524288, 0, 0, NULL, NULL, NULL, NULL},
21 {1048576, 0, 0, NULL, NULL, NULL, NULL}, // 1MB
38 if (slab_pool == NULL) in slab_create()
41 return NULL; in slab_create()
53 if (slab_pool->cache_pool_entry == NULL) in slab_create()
57 return NULL; in slab_create()
62 slab_pool->cache_dma_pool_entry = NULL; in slab_create()
74 if (slab_pool->cache_pool_entry->page == NULL) in slab_create()
79 return NULL; in slab_create()
100 if (slab_pool->cache_pool_entry->bmp == NULL) in slab_create()
106 return NULL; in slab_create()
130 struct slab_obj *tmp_slab_obj = NULL; in slab_destroy()
166 struct slab_obj *tmp_slab_obj = NULL; in slab_malloc()
174 if (tmp_slab_obj == NULL) in slab_malloc()
177 return NULL; in slab_malloc()
186 if (tmp_slab_obj->page == NULL) in slab_malloc()
190 return NULL; in slab_malloc()
202 if (tmp_slab_obj->bmp == NULL) in slab_malloc()
207 return NULL; in slab_malloc()
252 if (slab_pool->constructor != NULL) in slab_malloc()
270 if (tmp_slab_obj != NULL) in slab_malloc()
278 return NULL; in slab_malloc()
316 if (slab_pool->destructor != NULL) in slab_free()
384 struct Page *page = NULL; in slab_init()
404 ul *virt = NULL; in slab_init()
443 if (page == NULL) in kmalloc_create_slab_obj()
446 return NULL; in kmalloc_create_slab_obj()
451 ul *vaddr = NULL; in kmalloc_create_slab_obj()
526 return NULL; in kmalloc_create_slab_obj()
542 void *result = NULL; in kmalloc()
546 return NULL; in kmalloc()
569 if (unlikely(slab_obj_ptr == NULL)) in kmalloc()
625 return NULL; in kmalloc()
636 if (unlikely(address == NULL)) in kfree()
638 struct slab_obj *slab_obj_ptr = NULL; in kfree()