/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IODataQueue.cpp | 116 Boolean IODataQueue::enqueue(void * data, UInt32 dataSize) argument 120 const UInt32 entrySize = dataSize + DATA_QUEUE_ENTRY_HEADER_SIZE; 130 entry->size = dataSize; 131 memcpy(&entry->data, data, dataSize); 144 dataQueue->queue->size = dataSize; 152 ((IODataQueueEntry *)((UInt8 *)dataQueue->queue + tail))->size = dataSize; 155 memcpy(&dataQueue->queue->data, data, dataSize); 172 entry->size = dataSize; 173 memcpy(&entry->data, data, dataSize);
|
H A D | IOSharedDataQueue.cpp | 147 Boolean IOSharedDataQueue::dequeue(void *data, UInt32 *dataSize) argument 182 if (dataSize) { 183 if (entrySize <= *dataSize) { 196 if (dataSize) { 197 *dataSize = entrySize;
|
H A D | IOMemoryDescriptor.cpp | 743 unsigned int dataSize = computeDataSize(/* pages */ 0, /* upls */ 1); local 745 if (!initMemoryEntries(dataSize, mapper)) return (false); 876 unsigned dataSize = computeDataSize(_pages, /* upls */ count * 2); local 878 if (!initMemoryEntries(dataSize, mapper)) return false; 1177 IOReturn IOGeneralMemoryDescriptor::dmaCommandOperation(DMACommandOps op, void *vData, UInt dataSize) const 1189 if (dataSize < sizeof(IOMDDMAMapArgs)) 1235 if (dataSize < sizeof(IODMAMapSpecification)) 1256 if (dataSize < sizeof(IOMDDMACharacteristics)) 1304 if (dataSize < sizeof(*isP)) 1728 IOMemoryDescriptor::dmaCommandOperation(DMACommandOps op, void *vData, UInt dataSize) cons [all...] |
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/ |
H A D | BTreeScanner.h | 113 u_int32_t * dataSize );
|
H A D | BTreesInternal.h | 353 extern OSStatus BTGetUserData(FCB *filePtr, void * dataPtr, int dataSize); 355 extern OSStatus BTSetUserData(FCB *filePtr, void * dataPtr, int dataSize);
|
H A D | FileMgrInternal.h | 205 u_int16_t dataSize,
|
H A D | BTreesPrivate.h | 449 u_int16_t *dataSize );
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IODataQueue.h | 117 * @discussion This method adds a new data entry of dataSize to the queue. It sets the size parameter of the entry pointed to by the tail value and copies the memory pointed to by the data parameter in place in the queue. Once that is done, it moves the tail to the next available location. When attempting to add a new entry towards the end of the queue and there isn't enough space at the end, it wraps back to the beginning.<br> If the queue is empty when a new entry is added, sendDataAvailableNotification() is called to send a message to the user process that data is now available. 119 * @param dataSize Size of the data pointed to by data. 122 virtual Boolean enqueue(void *data, UInt32 dataSize);
|
H A D | IOSharedDataQueue.h | 112 * @discussion This function will dequeue the next available entry on the queue. If a data pointer is provided, it will copy the data into the memory region if there is enough space available as specified in the dataSize parameter. If no data pointer is provided, it will simply move the head value past the current entry. 114 * @param dataSize A pointer to the size of the data parameter. On return, this contains the size of the actual entry data - even if the original size was not large enough. 117 virtual Boolean dequeue(void *data, UInt32 *dataSize);
|
H A D | IOMemoryDescriptor.h | 234 virtual IOReturn dmaCommandOperation(DMACommandOps op, void *vData, UInt dataSize) const; 863 virtual IOReturn dmaCommandOperation(DMACommandOps op, void *vData, UInt dataSize) const;
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | BTreeWrapper.c | 40 OSErr ReplaceBTreeRecord(FileReference refNum, const void* key, u_int32_t hint, void *newData, u_int16_t dataSize, u_int32_t *newHint) argument 58 btRecord.itemSize = dataSize; 70 if ( DEBUG_BUILD && !ValidHFSRecord(newData, btcb, dataSize) ) 73 result = BTReplaceRecord( fcb, iterator, &btRecord, dataSize );
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeScanner.c | 52 // dataSize Size of data in found record 69 u_int32_t * dataSize ) 96 if (dataSize != NULL) 97 *dataSize = dataSizeShort;
|
H A D | BTree.c | 2025 BTGetUserData(FCB *filePtr, void * dataPtr, int dataSize) argument 2032 if (dataSize > kBTreeHeaderUserBytes) 2048 bcopy(offset, dataPtr, dataSize); 2062 BTSetUserData(FCB *filePtr, void * dataPtr, int dataSize) argument 2069 if (dataSize > kBTreeHeaderUserBytes) 2087 bcopy(dataPtr, offset, dataSize);
|
H A D | BTreeNodeOps.c | 771 dataSize - size of the data portion of the record 781 u_int16_t *dataSize ) 805 //// find dataSize 807 *dataSize = nextOffset - offset;
|
H A D | BTreeTreeOps.c | 212 u_int16_t dataSize; local 298 err = GetRecordByIndex (btreePtr, nodeRec.buffer, index, &keyPtr, &dataPtr, &dataSize);
|
/darwin-on-arm/xnu/osfmk/console/panic_ui/ |
H A D | qtif2kraw.c | 79 long dataSize; /* if known, the size of data for this image descriptor */ member in struct:QTHeader 212 if ( !(data = (char *)malloc(image_header.dataSize))) { 213 fprintf(stderr,"Err: Couldn't malloc file data (%ld bytes)... bailing.\n", image_header.dataSize); 219 if ( ! fread((void *) data, image_header.dataSize, 1, stream) ) goto errQTimage; 222 pixels = image_header.dataSize; 225 pixels = convert8toGrey( data, image_header.dataSize ); 229 image_header.dataSize = pixels;
|
H A D | genimage.c | 169 long dataSize; /* if known, the size of data for this image descriptor */ member in struct:QTHeader 348 if ( !(data = (char *)malloc(image_header.dataSize))) { 349 fprintf(stderr,"Err: Couldn't malloc file data (%ld bytes)... bailing.\n", image_header.dataSize); 355 fread((void *) data, image_header.dataSize, 1, stream); 364 pixels = image_header.dataSize; 369 pixels = convert24toGrey( data, image_header.dataSize); 375 image_header.dataSize = pixels; 381 pixels = convert8toGrey( data, image_header.dataSize ); 387 image_header.dataSize = pixels; 393 image_header.dataSize [all...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_hotfiles.c | 518 u_int32_t dataSize; local 628 error = BTScanNextRecord(&scanstate, 0, (void **)&keyp, (void **)&datap, &dataSize); 637 (dataSize != sizeof(HFSPlusCatalogFile))) {
|