Searched refs:s1394_statep (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394.c47 s1394_state_t *s1394_statep; variable
134 s1394_statep = kmem_zalloc(sizeof (s1394_state_t), KM_SLEEP);
136 s1394_statep->hal_head = NULL;
137 s1394_statep->hal_tail = NULL;
138 mutex_init(&s1394_statep->hal_list_mutex, NULL, MUTEX_DRIVER, NULL);
154 mutex_destroy(&s1394_statep->hal_list_mutex);
156 kmem_free(s1394_statep, sizeof (s1394_state_t));
H A Ds1394_misc.c71 mutex_enter(&s1394_statep->hal_list_mutex);
72 if ((s1394_statep->hal_head == hal) &&
73 (s1394_statep->hal_tail == hal)) {
74 s1394_statep->hal_head = NULL;
75 s1394_statep->hal_tail = NULL;
81 if (s1394_statep->hal_head == hal)
82 s1394_statep->hal_head = hal->hal_next;
83 if (s1394_statep->hal_tail == hal)
84 s1394_statep->hal_tail = hal->hal_prev;
86 mutex_exit(&s1394_statep
[all...]
H A Dh1394.c320 mutex_enter(&s1394_statep->hal_list_mutex);
321 if ((s1394_statep->hal_head == NULL) &&
322 (s1394_statep->hal_tail == NULL)) {
323 s1394_statep->hal_head = hal;
324 s1394_statep->hal_tail = hal;
326 s1394_statep->hal_tail->hal_next = hal;
327 hal->hal_prev = s1394_statep->hal_tail;
328 s1394_statep->hal_tail = hal;
330 mutex_exit(&s1394_statep->hal_list_mutex);
/illumos-gate/usr/src/uts/common/sys/1394/
H A Ds1394.h943 extern s1394_state_t *s1394_statep;

Completed in 294 milliseconds