FreeBSD/sys/dev/isci/scil/sci_abstract_list.c
/**
 * This method will simply search the supplied list for the desired object.
 * It will return a pointer to the object, if it is found.  Otherwise
 * it will return NULL.
 */
This method will simply search the supplied list for the desired object.
It will return a pointer to the object, if it is found.  Otherwise
it will return NULL.
This method will simply search the supplied list for the desired object . It will return a pointer to the object if it is found . Otherwise it will return NULL .
void * sci_abstract_list_find(
   SCI_ABSTRACT_LIST_T * list_p,
   void * obj_p
)
{
   return
      sci_abstract_list_get_object(private_find(&(list_p)->elements, (obj_p)));
}
void * sci_abstract_list_find ( SCI_ABSTRACT_LIST_T * list_p , void * obj_p ) { return sci_abstract_list_get_object ( private_find ( & ( list_p ) -> elements , ( obj_p ) ) ) ; }
This method will simply search the supplied list for the desired object.
This method will simply search the supplied list for the desired object .