Home
last modified time | relevance | path

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

/titanic_41/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 Dsun_sas.c46 if (global_hba_head == NULL) { in CreateHandle()
84 if (global_hba_head->open_handles == NULL) { in CreateHandle()
85 global_hba_head->open_handles = new_open_handle; in CreateHandle()
87 new_open_handle->next = global_hba_head->open_handles; in CreateHandle()
88 global_hba_head->open_handles = new_open_handle; in CreateHandle()
135 if (global_hba_head == NULL) { in RetrieveOpenHandle()
140 for (open_handle_ptr = global_hba_head->open_handles; in RetrieveOpenHandle()
161 for (hba_ptr = global_hba_head; hba_ptr != NULL; in RetrieveHandle()
182 for (hba_ptr = global_hba_head; in ExtractHandle()
190 global_hba_head = hba_ptr->next; in ExtractHandle()
H A Ddevtree_hba_disco.c386 if (global_hba_head) { in devtree_get_one_hba()
387 for (hba_ptr = global_hba_head; in devtree_get_one_hba()
529 if (global_hba_head != NULL) { in devtree_get_one_hba()
534 if (global_hba_head->open_handles) { in devtree_get_one_hba()
536 global_hba_head->open_handles; in devtree_get_one_hba()
537 global_hba_head->open_handles = NULL; in devtree_get_one_hba()
540 new_hba->next = global_hba_head; in devtree_get_one_hba()
541 global_hba_head = new_hba; in devtree_get_one_hba()
543 global_hba_head = new_hba; in devtree_get_one_hba()
571 if (global_hba_head != NULL) { in devtree_get_one_hba()
[all …]
H A DSun_sasFreeLibrary.c39 status = FreeHBA(global_hba_head); in Sun_sasFreeLibrary()
42 global_hba_head = NULL; in Sun_sasFreeLibrary()
H A DSun_sasGetNumberOfAdapters.c40 for (count = 0, hba_ptr = global_hba_head; in Sun_sasGetNumberOfAdapters()
H A DSun_sasOpenAdapter.c46 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasOpenAdapter()
H A DSun_sasGetAdapterName.c46 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasGetAdapterName()
H A DSun_sasRefreshAdapterConfiguration.c115 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasRefreshAdapterConfiguration()
H A Devent.c90 for (hba_ptr = global_hba_head; hba_ptr != NULL; in updateMatchingPhy()
H A Dsun_sas.h139 struct sun_sas_hba *global_hba_head; variable