Searched refs:vectors (Results 1 - 5 of 5) sorted by relevance

/xnu-2782.1.97/iokit/Examples/drvGenericInterruptController/
H A DGenericInterruptController.cpp60 // For now you must allocate storage for the vectors.
64 // Allocate the memory for the vectors.
65 vectors = (IOInterruptVector *)IOMalloc(numVectors *
67 if (vectors == NULL) return false;
68 bzero(vectors, numVectors * sizeof(IOInterruptVector));
70 // Allocate locks for the vectors.
72 vectors[cnt].interruptLock = IOLockAlloc();
73 if (vectors[cnt].interruptLock == NULL) {
75 if (vectors[cnt].interruptLock != NULL)
76 IOLockFree(vectors[cn
[all...]
/xnu-2782.1.97/iokit/Kernel/
H A DIOInterruptController.cpp76 vector = &vectors[vectorNumber];
228 vector = &vectors[vectorNumber];
273 vector = &vectors[vectorNumber];
290 vector = &vectors[vectorNumber];
322 vector = &vectors[vectorNumber];
347 vector = &vectors[vectorNumber];
448 // Allocate the memory for the vectors
450 vectors = (IOInterruptVector *)IOMalloc(numVectors * sizeof(IOInterruptVector));
451 if (vectors == NULL) {
455 bzero(vectors, numVector
[all...]
H A DIOCPU.cpp664 vectors = (IOInterruptVector *)IOMalloc(numCPUs * sizeof(IOInterruptVector));
665 if (vectors == 0) return kIOReturnNoMemory;
666 bzero(vectors, numCPUs * sizeof(IOInterruptVector));
670 vectors[cnt].interruptLock = IOLockAlloc();
671 if (vectors[cnt].interruptLock == NULL) {
673 if (vectors[cnt].interruptLock != NULL)
674 IOLockFree(vectors[cnt].interruptLock);
750 vector = &vectors[source];
821 vector = &vectors[source];
/xnu-2782.1.97/iokit/IOKit/
H A DIOInterruptController.h73 IOInterruptVector *vectors; member in class:IOInterruptController
/xnu-2782.1.97/bsd/dev/i386/
H A Dsysctl.c690 SYSCTL_NODE(_machdep, OID_AUTO, vectors, CTLFLAG_RD | CTLFLAG_LOCKED, 0,

Completed in 103 milliseconds