Lines Matching refs:vectors
60 // 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[cnt].interruptLock);
132 // Break if there are no more vectors to handle.
136 vector = &vectors[vectorNumber];