Home
last modified time | relevance | path

Searched refs:global_hba_head (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasCloseAdapter.c41 if (global_hba_head == NULL) { in Sun_sasCloseAdapter()
51 if (global_hba_head->open_handles == NULL) { in Sun_sasCloseAdapter()
57 } else if (global_hba_head->open_handles->next == NULL) { in Sun_sasCloseAdapter()
59 if (global_hba_head->open_handles->handle == handle) { in Sun_sasCloseAdapter()
60 free(global_hba_head->open_handles); in Sun_sasCloseAdapter()
61 global_hba_head->open_handles = NULL; in Sun_sasCloseAdapter()
68 open_handle_ptr = global_hba_head->open_handles; in Sun_sasCloseAdapter()
70 global_hba_head->open_handles = open_handle_ptr->next; in Sun_sasCloseAdapter()
75 global_hba_head->open_handles; in Sun_sasCloseAdapter()
H A Ddevtree_hba_disco.c36 struct sun_sas_hba *global_hba_head; variable
391 if (global_hba_head) { in devtree_get_one_hba()
392 for (hba_ptr = global_hba_head; in devtree_get_one_hba()
534 if (global_hba_head != NULL) { in devtree_get_one_hba()
539 if (global_hba_head->open_handles) { in devtree_get_one_hba()
541 global_hba_head->open_handles; in devtree_get_one_hba()
542 global_hba_head->open_handles = NULL; in devtree_get_one_hba()
545 new_hba->next = global_hba_head; in devtree_get_one_hba()
546 global_hba_head = new_hba; in devtree_get_one_hba()
548 global_hba_head = new_hba; in devtree_get_one_hba()
[all …]
H A Dsun_sas.c48 if (global_hba_head == NULL) { in CreateHandle()
86 if (global_hba_head->open_handles == NULL) { in CreateHandle()
87 global_hba_head->open_handles = new_open_handle; in CreateHandle()
89 new_open_handle->next = global_hba_head->open_handles; in CreateHandle()
90 global_hba_head->open_handles = new_open_handle; in CreateHandle()
137 if (global_hba_head == NULL) { in RetrieveOpenHandle()
142 for (open_handle_ptr = global_hba_head->open_handles; in RetrieveOpenHandle()
163 for (hba_ptr = global_hba_head; hba_ptr != NULL; in RetrieveHandle()
184 for (hba_ptr = global_hba_head; in ExtractHandle()
192 global_hba_head = hba_ptr->next; in ExtractHandle()
H A DSun_sasFreeLibrary.c43 status = FreeHBA(global_hba_head); in Sun_sasFreeLibrary()
46 global_hba_head = NULL; in Sun_sasFreeLibrary()
H A DSun_sasGetNumberOfAdapters.c44 for (count = 0, hba_ptr = global_hba_head; in Sun_sasGetNumberOfAdapters()
H A DSun_sasOpenAdapter.c49 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasOpenAdapter()
H A DSun_sasGetAdapterName.c51 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasGetAdapterName()
H A DSun_sasRefreshAdapterConfiguration.c118 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasRefreshAdapterConfiguration()
H A Devent.c93 for (hba_ptr = global_hba_head; hba_ptr != NULL; in updateMatchingPhy()
H A Dsun_sas.h139 extern struct sun_sas_hba *global_hba_head;