Lines Matching defs:handle

54  *  The top 16 bits of handle are the library index
56 #define LIBRARY_NUM(handle) ((handle)>>16)
59 * VENDOR_HANDLE turns a global library handle into a vendor specific handle,
62 #define VENDOR_HANDLE(handle) ((handle)&0xFFFF)
324 HBA_CheckLibrary(HBA_HANDLE handle,
337 libraryIndex = LIBRARY_NUM(handle);
348 *vendorhandle = VENDOR_HANDLE(handle);
356 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);\
1129 HBA_HANDLE handle;
1142 handle = HBA_HANDLE_INVALID;
1154 /* retrieve the vendor handle */
1155 handle = (OpenAdapterFunc)(adaptername);
1156 if(handle != 0) {
1157 /* or this with the library index to get the common handle */
1158 handle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle);
1163 RELEASE_MUTEX_RETURN(&_hbaapi_AL_mutex, handle);
1172 HBA_HANDLE handle;
1218 if((status = (OpenAdapterFunc)(&handle, nodeWWN)) != HBA_STATUS_OK) {
1221 /* OK, make a vendor non-specific handle */
1222 *phandle = HBA_HANDLE_FROM_LOCAL(lib_infop->index, handle);
1260 if((handle = dlopen("libHBAAPI.so", RTLD_NOW)) != NULL) {
1261 if(dlinfo(handle, RTLD_DI_LINKMAP, &map) >= 0) {
1273 /* No need to do anything with the module handle */
1406 * callback. We will grap the mutex later to attach the vendor handle list
1501 "called for a handle before registration was finished.",
1540 HBA_HANDLE handle,
1565 * that allocated memory is used both as the handle for the
1633 HBA_HANDLE handle,
1660 * that allocated memory is used both as the handle for the
1727 HBA_HANDLE handle,
1757 * that allocated memory is used both as the handle for the
1829 HBA_HANDLE handle,
1859 * that allocated memory is used both as the handle for the
1933 HBA_HANDLE handle,
1958 * that allocated memory is used both as the handle for the
2004 HBA_CloseAdapter(HBA_HANDLE handle) {
2012 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2024 HBA_HANDLE handle,
2048 HBA_HANDLE handle,
2074 HBA_HANDLE handle,
2100 HBA_HANDLE handle,
2128 HBA_HANDLE handle,
2154 HBA_HANDLE handle,
2183 HBA_HANDLE handle,
2213 HBA_HANDLE handle,
2237 HBA_SetRNIDMgmtInfo (HBA_HANDLE handle, HBA_MGMTINFO Info) {
2257 HBA_GetRNIDMgmtInfo (HBA_HANDLE handle, HBA_MGMTINFO *pInfo) {
2278 HBA_HANDLE handle,
2304 HBA_HANDLE handle,
2332 HBA_RefreshInformation (HBA_HANDLE handle) {
2341 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2353 HBA_ResetStatistics (HBA_HANDLE handle, HBA_UINT32 portindex) {
2362 status = HBA_CheckLibrary(handle, &lib_infop, &vendorHandle);
2373 HBA_GetFcpTargetMapping (HBA_HANDLE handle, PHBA_FCPTARGETMAPPING mapping) {
2394 HBA_HANDLE handle,
2419 HBA_GetFcpPersistentBinding (HBA_HANDLE handle, PHBA_FCPBINDING binding) {
2441 HBA_HANDLE handle,
2477 HBA_HANDLE handle,
2508 HBA_HANDLE handle,
2541 HBA_HANDLE handle,
2569 HBA_HANDLE handle,
2604 HBA_HANDLE handle,
2633 HBA_HANDLE handle,
2660 HBA_HANDLE handle,
2690 HBA_HANDLE handle,
2722 HBA_HANDLE handle,
2750 HBA_HANDLE handle,
2779 HBA_HANDLE handle,
2803 HBA_HANDLE handle,
2827 HBA_HANDLE handle,
2851 HBA_HANDLE handle,
2876 HBA_HANDLE handle,
2900 HBA_HANDLE handle,
2926 HBA_HANDLE handle,
2950 HBA_HANDLE handle,
2977 HBA_HANDLE handle,