Home
last modified time | relevance | path

Searched refs:Handle (Results 1 – 25 of 115) sorted by relevance

12345

/illumos-gate/usr/src/lib/sun_fc/common/
H A DHandle.cc63 map<HBA_HANDLE, Handle*> Handle::openHandles;
75 Handle::Handle(HBA *myhba) { in Handle() function in Handle
118 Handle::Handle(HBA *myhba, MODE m) {
127 Handle(myhba, TARGET);
163 Handle::~Handle() { in ~Handle()
204 Handle* Handle::findHandle(HBA_HANDLE id) { in findHandle()
206 Handle *tmp = NULL; in findHandle()
230 Handle* Handle::findHandle(uint64_t wwn) { in findHandle()
232 Handle *tmp = NULL; in findHandle()
264 void Handle::refresh() { in refresh()
[all …]
H A DHandle.h32 class Handle; variable
50 class Handle : public Lockable {
53 Handle(HBA *hba); // Generate ID, and add to vector
55 ~Handle(); // Free and remove from vector
57 static Handle* findHandle(HBA_HANDLE index);
58 static Handle* findHandle(uint64_t wwn);
63 bool operator==(Handle comp);
84 static std::map<HBA_HANDLE, Handle*> openHandles;
H A DHBAList.h60 Handle* openHBA(std::string name);
61 Handle* openTgtHBA(std::string name);
62 Handle* openHBA(uint64_t wwn);
63 Handle* openTgtHBA(uint64_t wwn);
H A DHBAList.cc103 Handle* HBAList::openHBA(string name) { in openHBA()
123 return (new Handle(tmp)); in openHBA()
142 Handle* HBAList::openTgtHBA(string name) { in openTgtHBA()
162 return (new Handle(tmp)); in openTgtHBA()
232 Handle* HBAList::openHBA(uint64_t wwn) { in openHBA()
242 return (new Handle(tmp)); in openHBA()
263 Handle* HBAList::openTgtHBA(uint64_t wwn) { in openTgtHBA()
273 return (new Handle(tmp)); in openTgtHBA()
H A DHandleNPIVPort.h32 class Handle; variable
50 HandleNPIVPort(Handle *handle, HandlePort *porthandle,
62 Handle *handle;
H A DHandlePort.h32 class Handle; variable
54 HandlePort(Handle *handle, HBA *hba, HBAPort *port);
75 Handle *handle;
H A DSun_fcRefreshInformation.cc42 Handle *myHandle = Handle::findHandle(handle); in Sun_fcRefreshInformation()
H A DSun_fcDoForceLip.cc46 Handle *myHandle = Handle::findHandle(handle); in Sun_fcDoForceLip()
H A DSun_fcSetRNIDMgmtInfo.cc56 Handle *myHandle = Handle::findHandle(handle); in Sun_fcSetRNIDMgmtInfo()
H A DSun_fcGetAdapterAttributes.cc54 Handle *myHandle = Handle::findHandle(handle); in Sun_fcGetAdapterAttributes()
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Daslascii.c164 FILE *Handle,
169 FILE *Handle,
200 FILE *Handle; in FlIsFileAsciiSource() local
205 Handle = fopen (Filename, "rb"); in FlIsFileAsciiSource()
206 if (!Handle) in FlIsFileAsciiSource()
217 while (fread (&Byte, 1, 1, Handle) == 1) in FlIsFileAsciiSource()
282 fclose (Handle); in FlIsFileAsciiSource()
323 FILE *Handle, in FlConsumeAnsiComment() argument
330 while (fread (&Byte, 1, 1, Handle) == 1) in FlConsumeAnsiComment()
381 FILE *Handle, in FlConsumeNewComment() argument
[all …]
H A Daslfileio.c211 Gbl_Files[FileId].Handle = NULL; in FlOpenFile()
220 Gbl_Files[FileId].Handle = File; in FlOpenFile()
244 FileSize = CmGetFileSize (Gbl_Files[FileId].Handle); in FlGetFileSize()
280 Actual = fread (Buffer, 1, Length, Gbl_Files[FileId].Handle); in FlReadFile()
283 if (feof (Gbl_Files[FileId].Handle)) in FlReadFile()
336 Gbl_Files[ASL_FILE_PREPROCESSOR_USER].Handle); in FlWriteFile()
372 Actual = vfprintf (Gbl_Files[FileId].Handle, Format, Args); in FlPrintFile()
429 Error = fseek (Gbl_Files[FileId].Handle, Offset, SEEK_SET); in FlSeekFile()
457 if (!Gbl_Files[FileId].Handle) in FlCloseFile()
462 Error = fclose (Gbl_Files[FileId].Handle); in FlCloseFile()
[all …]
H A Ddtio.c517 FILE *Handle, in DtGetNextLine() argument
539 c = getc (Handle); in DtGetNextLine()
605 Gbl_NextLineOffset = (UINT32) ftell (Handle); in DtGetNextLine()
725 Gbl_NextLineOffset = (UINT32) ftell (Handle); in DtGetNextLine()
748 ungetc (c, Handle); in DtGetNextLine()
767 Gbl_NextLineOffset = (UINT32) ftell (Handle); in DtGetNextLine()
793 ungetc (c, Handle); in DtGetNextLine()
809 Gbl_NextLineOffset = (UINT32) ftell (Handle); in DtGetNextLine()
839 FILE *Handle) in DtScanFile() argument
850 Gbl_InputByteCount = CmGetFileSize (Handle); in DtScanFile()
[all …]
H A Daslmain.c340 Gbl_Files[ASL_FILE_PREPROCESSOR].Handle = NULL; in AslSignalHandler()
388 Gbl_Files[i].Handle = NULL; in AslInitialize()
392 Gbl_Files[ASL_FILE_STDOUT].Handle = stdout; in AslInitialize()
395 Gbl_Files[ASL_FILE_STDERR].Handle = stderr; in AslInitialize()
H A Daslstartup.c232 Gbl_Files[i].Handle = NULL; in AslInitializeGlobals()
278 while (fgets (Gbl_CurrentLineBuffer, Gbl_LineBufferSize, Info->Handle)) in AslDetectSourceFileType()
308 fseek (Info->Handle, 0, SEEK_SET); in AslDetectSourceFileType()
310 Status = AcValidateTableHeader (Info->Handle, 0); in AslDetectSourceFileType()
332 fseek (Info->Handle, 0, SEEK_SET); in AslDetectSourceFileType()
H A Dprutils.c499 Fnode->File = Gbl_Files[ASL_FILE_INPUT].Handle; in PrPushInputFileStack()
518 Gbl_Files[ASL_FILE_INPUT].Handle = InputFile; in PrPushInputFileStack()
561 fclose (Gbl_Files[ASL_FILE_INPUT].Handle); in PrPopInputFileStack()
570 Gbl_Files[ASL_FILE_INPUT].Handle = Fnode->File; in PrPopInputFileStack()
/illumos-gate/usr/src/common/acpica/utilities/
H A Dutxfmutex.c165 ACPI_HANDLE Handle,
188 ACPI_HANDLE Handle, in AcpiUtGetMutexObject() argument
199 if (!RetObj || (!Handle && !Pathname)) in AcpiUtGetMutexObject()
206 MutexNode = Handle; in AcpiUtGetMutexObject()
210 Handle, Pathname, ACPI_CAST_PTR (ACPI_HANDLE, &MutexNode)); in AcpiUtGetMutexObject()
258 ACPI_HANDLE Handle, in AcpiAcquireMutex() argument
268 Status = AcpiUtGetMutexObject (Handle, Pathname, &MutexObj); in AcpiAcquireMutex()
302 ACPI_HANDLE Handle, in ACPI_EXPORT_SYMBOL()
311 Status = AcpiUtGetMutexObject (Handle, Pathname, &MutexObj); in ACPI_EXPORT_SYMBOL()
/illumos-gate/usr/src/cmd/acpi/common/
H A Dosunixxf.c840 ACPI_HANDLE Handle) in AcpiOsDeleteSemaphore() argument
847 ACPI_HANDLE Handle, in AcpiOsWaitSemaphore() argument
856 ACPI_HANDLE Handle, in AcpiOsSignalSemaphore() argument
939 ACPI_HANDLE Handle) in AcpiOsDeleteSemaphore() argument
981 ACPI_HANDLE Handle, in AcpiOsWaitSemaphore() argument
1118 ACPI_HANDLE Handle, in AcpiOsSignalSemaphore() argument
1159 ACPI_SPINLOCK Handle) in AcpiOsDeleteLock() argument
1161 AcpiOsDeleteSemaphore (Handle); in AcpiOsDeleteLock()
1167 ACPI_HANDLE Handle) in AcpiOsAcquireLock() argument
1176 ACPI_SPINLOCK Handle, in AcpiOsReleaseLock() argument
[all …]
/illumos-gate/usr/src/common/acpica/namespace/
H A Dnsxfobj.c178 ACPI_HANDLE Handle, in AcpiGetType() argument
194 if (Handle == ACPI_ROOT_OBJECT) in AcpiGetType()
208 Node = AcpiNsValidateHandle (Handle); in AcpiGetType()
240 ACPI_HANDLE Handle, in ACPI_EXPORT_SYMBOL()
255 if (Handle == ACPI_ROOT_OBJECT) in ACPI_EXPORT_SYMBOL()
268 Node = AcpiNsValidateHandle (Handle); in ACPI_EXPORT_SYMBOL()
H A Dnsload.c168 ACPI_HANDLE Handle);
454 ACPI_HANDLE Handle) in AcpiNsUnloadNamespace() argument
469 if (!Handle) in AcpiNsUnloadNamespace()
476 Status = AcpiNsDeleteSubtree (Handle); in AcpiNsUnloadNamespace()
H A Dnsxfname.c282 ACPI_HANDLE Handle, in ACPI_EXPORT_SYMBOL()
317 Status = AcpiNsHandleToPathname (Handle, Buffer, in ACPI_EXPORT_SYMBOL()
324 Status = AcpiNsHandleToName (Handle, Buffer); in ACPI_EXPORT_SYMBOL()
396 ACPI_HANDLE Handle, in AcpiGetObjectInfo() argument
417 if (!Handle || !ReturnBuffer) in AcpiGetObjectInfo()
428 Node = AcpiNsValidateHandle (Handle); in AcpiGetObjectInfo()
/illumos-gate/usr/src/uts/intel/sys/acpi/
H A Dacpiosxf.h253 ACPI_SPINLOCK Handle);
259 ACPI_SPINLOCK Handle);
265 ACPI_SPINLOCK Handle,
284 ACPI_SEMAPHORE Handle);
290 ACPI_SEMAPHORE Handle,
298 ACPI_SEMAPHORE Handle,
318 ACPI_MUTEX Handle);
324 ACPI_MUTEX Handle,
331 ACPI_MUTEX Handle);
H A Dacevents.h426 ACPI_HANDLE Handle,
433 ACPI_HANDLE Handle,
440 ACPI_HANDLE Handle,
447 ACPI_HANDLE Handle,
454 ACPI_HANDLE Handle,
461 ACPI_HANDLE Handle,
/illumos-gate/usr/src/common/acpica/events/
H A Devrgnini.c185 ACPI_HANDLE Handle, in AcpiEvSystemMemoryRegionSetup() argument
190 ACPI_OPERAND_OBJECT *RegionDesc = (ACPI_OPERAND_OBJECT *) Handle; in AcpiEvSystemMemoryRegionSetup()
251 ACPI_HANDLE Handle, in AcpiEvIoSpaceRegionSetup() argument
291 ACPI_HANDLE Handle, in AcpiEvPciConfigRegionSetup() argument
303 ACPI_OPERAND_OBJECT *RegionObj = (ACPI_OPERAND_OBJECT *) Handle; in AcpiEvPciConfigRegionSetup()
563 ACPI_HANDLE Handle, in AcpiEvPciBarRegionSetup() argument
594 ACPI_HANDLE Handle, in AcpiEvCmosRegionSetup() argument
623 ACPI_HANDLE Handle, in AcpiEvDefaultRegionSetup() argument
/illumos-gate/usr/src/cmd/acpi/acpixtract/
H A Daxutils.c201 FILE *Handle) in AxIsFileAscii() argument
209 fseek (Handle, 0, SEEK_SET); in AxIsFileAscii()
210 while (fread (&Byte, 1, 1, Handle) == 1) in AxIsFileAscii()
252 fseek (Handle, 0, SEEK_SET); in AxIsFileAscii()
259 fseek (Handle, 0, SEEK_SET); in AxIsFileAscii()

12345