Home
last modified time | relevance | path

Searched refs:open_handle_ptr (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasCloseAdapter.c38 struct open_handle *open_handle_ptr, *open_handle_prev_ptr; in Sun_sasCloseAdapter() local
68 open_handle_ptr = global_hba_head->open_handles; in Sun_sasCloseAdapter()
69 if (open_handle_ptr->handle == handle) { in Sun_sasCloseAdapter()
70 global_hba_head->open_handles = open_handle_ptr->next; in Sun_sasCloseAdapter()
71 free(open_handle_ptr); in Sun_sasCloseAdapter()
73 for (open_handle_ptr = open_handle_ptr->next, in Sun_sasCloseAdapter()
76 open_handle_ptr != NULL; in Sun_sasCloseAdapter()
77 open_handle_ptr = open_handle_ptr->next) { in Sun_sasCloseAdapter()
78 if (open_handle_ptr->handle == handle) { in Sun_sasCloseAdapter()
80 open_handle_ptr->next; in Sun_sasCloseAdapter()
[all …]
H A Dsun_sas.c112 struct open_handle *open_handle_ptr; in RetrieveIndex() local
116 open_handle_ptr = RetrieveOpenHandle(handle); in RetrieveIndex()
119 if (open_handle_ptr == NULL) { in RetrieveIndex()
123 return (open_handle_ptr->adapterIndex); in RetrieveIndex()
135 struct open_handle *open_handle_ptr = NULL; in RetrieveOpenHandle() local
142 for (open_handle_ptr = global_hba_head->open_handles; in RetrieveOpenHandle()
143 open_handle_ptr != NULL; in RetrieveOpenHandle()
144 open_handle_ptr = open_handle_ptr->next) { in RetrieveOpenHandle()
145 if (open_handle_ptr->handle == handle) { in RetrieveOpenHandle()
150 return (open_handle_ptr); in RetrieveOpenHandle()