Lines Matching refs:NULL
239 if ( *queue == NULL ) { in enqueue_first()
275 if ( *queue == NULL ) { in dequeue_first()
284 *queue = NULL; in dequeue_first()
316 if ( *queue == NULL ) { in dequeue_general()
325 *queue = NULL; in dequeue_general()
360 return NULL; in hashbin_new()
395 IRDA_ASSERT(hashbin != NULL, return -1;); in hashbin_delete()
419 hashbin->hb_current = NULL; in hashbin_delete()
453 IRDA_ASSERT( hashbin != NULL, return;); in hashbin_insert()
501 irda_queue_t *entry = NULL; in hashbin_remove_first()
509 if ( entry != NULL) { in hashbin_remove_first()
524 entry->q_next = NULL; in hashbin_remove_first()
525 entry->q_prev = NULL; in hashbin_remove_first()
532 hashbin->hb_current = NULL; in hashbin_remove_first()
564 IRDA_ASSERT( hashbin != NULL, return NULL;); in hashbin_remove()
565 IRDA_ASSERT( hashbin->magic == HB_MAGIC, return NULL;); in hashbin_remove()
620 hashbin->hb_current = NULL; in hashbin_remove()
633 return NULL; in hashbin_remove()
655 IRDA_ASSERT( hashbin != NULL, return NULL;); in hashbin_remove_this()
656 IRDA_ASSERT( hashbin->magic == HB_MAGIC, return NULL;); in hashbin_remove_this()
657 IRDA_ASSERT( entry != NULL, return NULL;); in hashbin_remove_this()
665 if((entry->q_next == NULL) || (entry->q_prev == NULL)) { in hashbin_remove_this()
666 entry = NULL; in hashbin_remove_this()
682 entry->q_next = NULL; in hashbin_remove_this()
683 entry->q_prev = NULL; in hashbin_remove_this()
690 hashbin->hb_current = NULL; in hashbin_remove_this()
716 IRDA_ASSERT( hashbin != NULL, return NULL;); in hashbin_find()
717 IRDA_ASSERT( hashbin->magic == HB_MAGIC, return NULL;); in hashbin_find()
751 return NULL; in hashbin_find()
817 *pnext = NULL; in hashbin_find_next()
837 IRDA_ASSERT( hashbin != NULL, return NULL;); in hashbin_get_first()
838 IRDA_ASSERT( hashbin->magic == HB_MAGIC, return NULL;); in hashbin_get_first()
840 if ( hashbin == NULL) in hashbin_get_first()
841 return NULL; in hashbin_get_first()
853 return NULL; in hashbin_get_first()
873 IRDA_ASSERT( hashbin != NULL, return NULL;); in hashbin_get_next()
874 IRDA_ASSERT( hashbin->magic == HB_MAGIC, return NULL;); in hashbin_get_next()
876 if ( hashbin->hb_current == NULL) { in hashbin_get_next()
877 IRDA_ASSERT( hashbin->hb_current != NULL, return NULL;); in hashbin_get_next()
878 return NULL; in hashbin_get_next()
897 return NULL; in hashbin_get_next()
911 return NULL; in hashbin_get_next()