Lines Matching defs:handle

84 static int	*handle;
90 * The top 16 bits of handle are the library index
92 #define LIBRARY_NUM(handle) ((handle)>>16)
95 * VENDOR_HANDLE turns a global library handle into a vendor specific handle,
98 #define VENDOR_HANDLE(handle) ((handle)&0xFFFF)
428 HBA_CheckLibrary(HBA_HANDLE handle,
438 libraryIndex = LIBRARY_NUM(handle);
449 *vendorhandle = VENDOR_HANDLE(handle);
457 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);\
463 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle); \
1442 HBA_HANDLE handle;
1449 handle = HBA_HANDLE_INVALID;
1451 return (handle);
1456 return (handle);
1469 /* retrieve the vendor handle */
1470 handle = (OpenAdapterFunc)(adaptername);
1471 if (handle != 0) {
1472 /* or this with the library index to get the common handle */
1473 handle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle);
1478 RELEASE_MUTEX_RETURN(&_hbaapi_AL_mutex, handle);
1486 HBA_HANDLE handle;
1533 if ((status = (OpenAdapterFunc)(&handle, nodeWWN)) != HBA_STATUS_OK) {
1536 /* OK, make a vendor non-specific handle */
1537 *phandle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle);
1576 if ((handle = dlopen("libHBAAPI.so", RTLD_NOW)) != NULL) {
1577 if (dlinfo(handle, RTLD_DI_LINKMAP, &map) >= 0) {
1588 /* No need to do anything with the module handle */
1715 * callback. We will grap the mutex later to attach the vendor handle
1824 "called for a handle before registration was finished.",
1862 HBA_HANDLE handle,
1884 * that allocated memory is used both as the handle for the
1952 HBA_HANDLE handle,
1975 * that allocated memory is used both as the handle for the
2043 HBA_HANDLE handle,
2069 * that allocated memory is used both as the handle for the
2142 HBA_HANDLE handle,
2169 * that allocated memory is used both as the handle for the
2243 HBA_HANDLE handle,
2265 * that allocated memory is used both as the handle for the
2309 HBA_CloseAdapter(HBA_HANDLE handle) {
2317 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2329 HBA_HANDLE handle,
2358 HBA_HANDLE handle,
2388 HBA_HANDLE handle,
2418 HBA_HANDLE handle,
2450 HBA_HANDLE handle,
2480 HBA_HANDLE handle,
2514 HBA_HANDLE handle,
2545 HBA_HANDLE handle,
2574 HBA_SetRNIDMgmtInfo(HBA_HANDLE handle, HBA_MGMTINFO Info) {
2594 HBA_GetRNIDMgmtInfo(HBA_HANDLE handle, HBA_MGMTINFO *pInfo) {
2615 HBA_HANDLE handle,
2645 HBA_HANDLE handle,
2673 HBA_RefreshInformation(HBA_HANDLE handle) {
2682 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2694 HBA_ResetStatistics(HBA_HANDLE handle, HBA_UINT32 portindex) {
2703 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2719 HBA_GetFcpTargetMapping(HBA_HANDLE handle, PHBA_FCPTARGETMAPPING mapping) {
2744 HBA_HANDLE handle,
2769 HBA_GetFcpPersistentBinding(HBA_HANDLE handle, PHBA_FCPBINDING binding) {
2795 HBA_HANDLE handle,
2832 HBA_HANDLE handle,
2869 HBA_HANDLE handle,
2904 HBA_HANDLE handle,
2936 HBA_HANDLE handle,
2972 HBA_HANDLE handle,
3007 HBA_HANDLE handle,
3037 HBA_HANDLE handle,
3069 HBA_HANDLE handle,
3096 HBA_HANDLE handle,
3124 HBA_HANDLE handle,
3153 HBA_HANDLE handle,
3179 HBA_HANDLE handle,
3205 HBA_HANDLE handle,
3231 HBA_HANDLE handle,
3258 HBA_HANDLE handle,
3285 HBA_HANDLE handle,
3312 HBA_HANDLE handle,
3337 HBA_HANDLE handle,
3365 HBA_HANDLE handle,
3493 if ((handle = dlopen("libSMHBAAPI.so", RTLD_NOW)) != NULL) {
3494 if (dlinfo(handle, RTLD_DI_LINKMAP, &map) >= 0) {
3599 HBA_HANDLE handle,
3623 HBA_HANDLE handle,
3647 HBA_HANDLE handle,
3672 HBA_HANDLE handle,
3700 HBA_HANDLE handle,
3730 HBA_HANDLE handle,
3758 HBA_HANDLE handle,
3785 HBA_HANDLE handle,
3812 HBA_HANDLE handle,
3841 HBA_HANDLE handle,
3870 HBA_HANDLE handle,
3897 HBA_HANDLE handle,
3926 HBA_HANDLE handle,
3955 HBA_HANDLE handle,
3983 HBA_HANDLE handle,
4012 HBA_HANDLE handle,
4041 HBA_HANDLE handle,
4070 HBA_HANDLE handle,
4099 HBA_HANDLE handle,
4124 HBA_HANDLE handle,
4162 HBA_HANDLE handle,
4197 HBA_HANDLE handle,
4233 HBA_HANDLE handle,
4264 HBA_HANDLE handle,
4296 HBA_HANDLE handle,
4332 * adpater(i.e. no adatper handle is passed for registration) so
4411 * callback. We will grap the mutex later to attach the vendor handle
4512 "called for a handle before registration was finished.",
4552 HBA_HANDLE handle,
4574 * that allocated memory is used both as the handle for the
4640 HBA_HANDLE handle,
4665 * that allocated memory is used both as the handle for the
4732 HBA_HANDLE handle,
4760 * that allocated memory is used both as the handle for the
4828 HBA_HANDLE handle,
4856 * that allocated memory is used both as the handle for the
4926 HBA_HANDLE handle,
4955 * that allocated memory is used both as the handle for the