Lines Matching refs:NULL
67 return NULL; in osi_work_queue_create()
71 if (wq != NULL) { in osi_work_queue_create()
81 return NULL; in osi_work_queue_create()
86 if (wq != NULL) { in osi_work_queue_delete()
99 assert (wq != NULL); in osi_thead_work_queue_get()
101 assert (item != NULL); in osi_thead_work_queue_get()
112 assert (wq != NULL); in osi_thead_work_queue_put()
114 assert (item != NULL); in osi_thead_work_queue_put()
132 assert (wq != NULL); in osi_thead_work_queue_len()
174 thread->thread_handle = NULL; in osi_thread_run()
177 vTaskDelete(NULL); in osi_thread_run()
182 assert(thread != NULL); in osi_thread_join()
190 assert(thread != NULL); in osi_thread_stop()
213 work_queue_num <= 0 || work_queue_len == NULL) { in osi_thread_create()
214 return NULL; in osi_thread_create()
218 if (thread == NULL) { in osi_thread_create()
224 if (thread->work_queues == NULL) { in osi_thread_create()
232 if (thread->work_queues[i] == NULL) { in osi_thread_create()
276 thread->work_queues[i] = NULL; in osi_thread_create()
282 thread->work_queues = NULL; in osi_thread_create()
296 return NULL; in osi_thread_create()
309 thread->work_queues[i] = NULL; in osi_thread_free()
315 thread->work_queues = NULL; in osi_thread_free()
332 assert(thread != NULL); in osi_thread_post()
333 assert(func != NULL); in osi_thread_post()
355 assert(thread != NULL); in osi_thread_set_priority()
363 assert(thread != NULL); in osi_thread_name()
381 if (event != NULL) { in osi_event_create()
390 return NULL; in osi_event_create()
395 if (event != NULL) { in osi_event_delete()
404 if (event == NULL || event->thread != NULL) { in osi_event_bind()
408 if (thread == NULL || queue_idx >= thread->work_queue_num) { in osi_event_bind()
421 if (event != NULL && event->item.func != NULL) { in osi_thread_generic_event_handler()
431 assert(event != NULL && event->thread != NULL); in osi_thread_post_event()