Searched refs:open_handle_ptr (Results 1 – 2 of 2) sorted by relevance
38 struct open_handle *open_handle_ptr, *open_handle_prev_ptr; in Sun_sasCloseAdapter() local68 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 …]
110 struct open_handle *open_handle_ptr; in RetrieveIndex() local114 open_handle_ptr = RetrieveOpenHandle(handle); in RetrieveIndex()117 if (open_handle_ptr == NULL) { in RetrieveIndex()121 return (open_handle_ptr->adapterIndex); in RetrieveIndex()133 struct open_handle *open_handle_ptr = NULL; in RetrieveOpenHandle() local140 for (open_handle_ptr = global_hba_head->open_handles; in RetrieveOpenHandle()141 open_handle_ptr != NULL; in RetrieveOpenHandle()142 open_handle_ptr = open_handle_ptr->next) { in RetrieveOpenHandle()143 if (open_handle_ptr->handle == handle) { in RetrieveOpenHandle()148 return (open_handle_ptr); in RetrieveOpenHandle()