Lines Matching refs:status

194     HBA_LIBRARY_STATUS	status;			/* info on this library */
216 HBA_STATUS GNstatus; /* status from GetAdapterNameFunc */
344 if(lib_infop->status != HBA_LIBRARY_LOADED) {
356 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);\
357 if(status != HBA_STATUS_OK) { \
358 return(status); \
394 HBA_STATUS status = HBA_STATUS_ERROR_INVALID_HANDLE;
457 status = HBA_STATUS_OK;
461 return(status);
519 HBA_STATUS status;
585 lib_infop->status = HBA_LIBRARY_NOT_LOADED;
607 status = ((RegisterV2Func)(&lib_infop->functionTable));
608 if (status != HBA_STATUS_OK) {
623 status = ((RegisterFunc)(
625 if (status != HBA_STATUS_OK) {
654 status = ((LoadLibraryFunc)());
655 if (status != HBA_STATUS_OK) {
660 lib_infop->status = HBA_LIBRARY_LOADED;
740 lib_infop->status = HBA_LIBRARY_NOT_LOADED;
759 status = ((RegisterV2Func)(&lib_infop->functionTable));
760 if (status != HBA_STATUS_OK) {
779 status = ((RegisterFunc)
781 if (status != HBA_STATUS_OK) {
819 if((status = ((LoadLibraryFunc)())) != HBA_STATUS_OK) {
825 DEBUG(0, " HBA_STATUS: %d", status, 0, 0);
829 lib_infop->status = HBA_LIBRARY_LOADED;
879 HBA_STATUS status;
894 if (lib_infop->status == HBA_LIBRARY_LOADED) {
898 status = ((FreeLibraryFunc)());
995 HBA_STATUS status;
1010 if (lib_infop->status != HBA_LIBRARY_LOADED) {
1036 status = (GetAdapterNameFunc)(j, (char *)&adaptername);
1037 if(status == HBA_STATUS_OK) {
1069 if((adapt_infop->GNstatus = status) == HBA_STATUS_OK) {
1178 HBA_STATUS status;
1195 status = HBA_STATUS_ERROR_ILLEGAL_WWN;
1197 if (lib_infop->status != HBA_LIBRARY_LOADED) {
1218 if((status = (OpenAdapterFunc)(&handle, nodeWWN)) != HBA_STATUS_OK) {
1223 status = HBA_STATUS_OK;
1226 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
1332 HBA_STATUS status;
1338 status = local_remove_callback(cbhandle);
1339 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
1372 HBA_STATUS status = HBA_STATUS_OK;
1438 status = HBA_STATUS_ERROR;
1443 status = (registeredfunc)(adapteraddevents_callback,
1445 if(status == HBA_STATUS_ERROR_NOT_SUPPORTED) {
1449 } else if (status != HBA_STATUS_OK) {
1453 lib_infop->LibraryPath, status, 0);
1457 lib_infop->LibraryPath, status);
1459 failure = status;
1470 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
1474 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
1479 status = failure;
1503 status = HBA_STATUS_ERROR;
1505 status = HBA_STATUS_OK;
1508 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
1545 HBA_STATUS status;
1584 status = (registeredfunc)(adapterevents_callback,
1588 if(status != HBA_STATUS_OK) {
1590 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
1639 HBA_STATUS status;
1681 status = (registeredfunc)(adapterportevents_callback,
1686 if(status != HBA_STATUS_OK) {
1688 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
1736 HBA_STATUS status;
1777 status = (registeredfunc)(adapterportstatevents_callback,
1784 if(status != HBA_STATUS_OK) {
1786 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
1839 HBA_STATUS status;
1878 status = (registeredfunc)(targetevents_callback,
1885 if(status != HBA_STATUS_OK) {
1887 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
1939 HBA_STATUS status;
1977 status = (registeredfunc)(linkevents_callback,
1983 if(status != HBA_STATUS_OK) {
1985 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2005 HBA_STATUS status;
2012 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2013 if (status == HBA_STATUS_OK) {
2028 HBA_STATUS status;
2039 status = ((GetAdapterAttributesFunc)(vendorHandle, hbaattributes));
2041 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2043 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2052 HBA_STATUS status;
2064 status = ((GetAdapterPortAttributesFunc)
2067 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2069 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2078 HBA_STATUS status;
2090 status = ((GetPortStatisticsFunc)
2093 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2095 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2105 HBA_STATUS status;
2117 status = ((GetDiscoveredPortAttributesFunc)
2121 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2123 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2132 HBA_STATUS status;
2144 status = ((GetPortAttributesByWWNFunc)
2147 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2149 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2160 HBA_STATUS status;
2171 status = (SendCTPassThruFunc)
2176 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2178 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2190 HBA_STATUS status;
2201 status = (registeredfunc)
2206 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2208 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2217 HBA_STATUS status;
2228 status = (GetEventBufferFunc)
2231 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2233 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2238 HBA_STATUS status;
2249 status = (SetRNIDMgmtInfoFunc)(vendorHandle, Info);
2251 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2253 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2258 HBA_STATUS status;
2269 status = (GetRNIDMgmtInfoFunc)(vendorHandle, pInfo);
2271 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2273 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2284 HBA_STATUS status;
2294 status = ((SendRNIDFunc)(vendorHandle, wwn, wwntype,
2297 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2299 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2312 HBA_STATUS status;
2322 status = (registeredfunc)
2326 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2328 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2333 HBA_STATUS status;
2341 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2342 if(status == HBA_STATUS_OK) {
2354 HBA_STATUS status;
2362 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2363 if(status == HBA_STATUS_OK) {
2374 HBA_STATUS status;
2385 status = ((GetFcpTargetMappingFunc)(vendorHandle, mapping));
2387 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2389 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2399 HBA_STATUS status;
2411 status = ((registeredfunc)(vendorHandle, hbaPortWWN, pmapping));
2413 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2415 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2420 HBA_STATUS status;
2432 status = ((GetFcpPersistentBindingFunc)(vendorHandle, binding));
2434 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2436 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2453 HBA_STATUS status;
2465 status =((ScsiInquiryV2Func)(
2470 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2472 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2487 HBA_STATUS status;
2497 status =((SendScsiInquiryFunc)(
2501 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2503 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2517 HBA_STATUS status;
2528 status = ((ScsiReportLUNsV2Func)(
2534 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2536 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2548 HBA_STATUS status;
2558 status = ((SendReportLUNsFunc)(
2562 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2564 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2579 HBA_STATUS status;
2591 status =((ScsiReadCapacityV2Func)(
2597 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2599 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2612 HBA_STATUS status;
2622 status =((SendReadCapacityFunc)
2626 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2628 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2639 HBA_STATUS status;
2650 status =(registeredfunc)(
2653 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2655 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2668 HBA_STATUS status;
2679 status =(registeredfunc)(
2683 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2685 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2699 HBA_STATUS status;
2710 status =(registeredfunc)(
2715 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2717 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2729 HBA_STATUS status;
2739 status =(registeredfunc)(
2743 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2745 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2758 HBA_STATUS status;
2768 status =(registeredfunc)(
2772 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2774 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2783 HBA_STATUS status;
2794 status =(registeredfunc)(vendorHandle, hbaPortWWN, pcapability);
2796 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2798 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2807 HBA_STATUS status;
2818 status =(registeredfunc)(vendorHandle, hbaPortWWN, pcapability);
2820 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2822 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2831 HBA_STATUS status;
2842 status =(registeredfunc)(vendorHandle, hbaPortWWN, capability);
2844 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2846 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2856 HBA_STATUS status;
2867 status =(registeredfunc)(vendorHandle, hbaPortWWN, pbinding);
2869 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2871 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2880 HBA_STATUS status;
2891 status =(registeredfunc)(vendorHandle, hbaPortWWN, pbinding);
2893 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2895 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2905 HBA_STATUS status;
2917 status =(registeredfunc)(vendorHandle, hbaPortWWN, pbinding);
2919 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2921 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2929 HBA_STATUS status;
2941 status =(registeredfunc)(vendorHandle, hbaPortWWN);
2943 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2945 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2955 HBA_STATUS status;
2967 status =(registeredfunc)
2970 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2972 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);
2981 HBA_STATUS status;
2993 status =(registeredfunc)(vendorHandle, lunit, pstatistics);
2995 status = HBA_STATUS_ERROR_NOT_SUPPORTED;
2997 RELEASE_MUTEX_RETURN(&_hbaapi_LL_mutex, status);