Searched refs:global_hba_head (Results 1 – 10 of 10) sorted by relevance
41 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()
36 struct sun_sas_hba *global_hba_head; variable391 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 …]
48 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()
43 status = FreeHBA(global_hba_head); in Sun_sasFreeLibrary()46 global_hba_head = NULL; in Sun_sasFreeLibrary()
44 for (count = 0, hba_ptr = global_hba_head; in Sun_sasGetNumberOfAdapters()
49 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasOpenAdapter()
51 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasGetAdapterName()
118 for (hba_ptr = global_hba_head; hba_ptr != NULL; in Sun_sasRefreshAdapterConfiguration()
93 for (hba_ptr = global_hba_head; hba_ptr != NULL; in updateMatchingPhy()
139 extern struct sun_sas_hba *global_hba_head;