FreeBSD/sys/dev/isci/scil/sci_abstract_list.c
/**
 * This method simply prints the contents of the list.
 */
This method simply prints the contents of the list.
This method simply prints the contents of the list .
void  sci_abstract_list_print(
   SCI_ABSTRACT_LIST_T * list_p
)
{
   SCI_ABSTRACT_ELEMENT_T * alElement_p = list_p->elements.front_p;
   while (alElement_p != NULL)
   {
#ifdef UNIT_TEST_DEBUG
      printf("ITEM next_p 0x%x prev_p 0x%x obj_p 0x%x, 0x%x\n",
             alElement_p->next_p,
             alElement_p->previous_p,
             (U32*) (alElement_p->object_p));
#endif
      alElement_p = alElement_p->next_p;
   }
}
void sci_abstract_list_print ( SCI_ABSTRACT_LIST_T * list_p ) { SCI_ABSTRACT_ELEMENT_T * alElement_p = list_p -> elements . front_p ; while ( alElement_p != NULL ) { #ifdef UNIT_TEST_DEBUG printf ( " \n " , alElement_p -> next_p , alElement_p -> previous_p , ( U32 * ) ( alElement_p -> object_p ) ) ; #endif alElement_p = alElement_p -> next_p ; } }
This method simply prints the contents of the list.
This method simply prints the contents of the list .
/* Check to see if we found the object for which we are searching. */