Lines Matching refs:_length
193 size_t _length = 0; member in _IOMemoryDescriptorMixedData
534 remain = _length; in memoryReferenceCreate()
626 DEBUG4K_IOKIT("map %p _length 0x%llx prot 0x%x\n", map, (uint64_t)_length, prot); in memoryReferenceCreate()
2153 _length = count; in initWithOptions()
2298 _length = totalLength; in initWithOptions()
2455 return _length; in getLength()
2543 if ((offset > _length) in readBytes()
2545 || (endoffset > _length)) { in readBytes()
2546 …, "readBytes exceeds length (0x%lx, 0x%lx) > 0x%lx", (long) offset, (long) length, (long) _length); in readBytes()
2549 if (offset >= _length) { in readBytes()
2562 remaining = length = min(length, _length - offset); in readBytes()
2609 if ((offset > _length) in writeBytes()
2611 || (endoffset > _length)) { in writeBytes()
2612 …writeBytes exceeds length (0x%lx, 0x%lx) > 0x%lx", (long) inoffset, (long) length, (long) _length); in writeBytes()
2618 if (offset >= _length) { in writeBytes()
2631 remaining = length = min(length, _length - offset); in writeBytes()
2996 keepMap &= ((data->fOffset == 0) && (data->fLength == _length)); in dmaCommandOperation()
3004 && ((dataP->fMappedBase + _length) > (1ULL << dataP->fDMAMapNumAddressBits)); in dmaCommandOperation()
3070 data->fLength = _length; in dmaCommandOperation()
3145 …err = md->dmaMap(dataP->fMapper, md, NULL, &mapSpec, 0, _length, &dataP->fMappedBase, &dataP->fMap… in dmaCommandOperation()
3165 if (offset >= _length) { in dmaCommandOperation()
3166 return (offset == _length)? kIOReturnOverrun : kIOReturnInternalError; in dmaCommandOperation()
3272 length = _length; in dmaCommandOperation()
3359 if (offset >= _length) { in getPhysicalSegment()
3406 state->fLength = _length - offset; in getPhysicalSegment()
4195 for (UInt range = 0; mdOffset < _length; range++) { in wireVirtual()
4528 mapLength = _length; in dmaMapRecord()
4571 mapLength = _length; in dmaUnmap()
4604 || offset || (length != _length)) { in dmaMap()
4625 if ((_length == ptoa_64(_pages)) && !(page_mask & ioplList->fPageOffset)) { in dmaMap()
4697 performOperation(kIOMemoryClearEncrypted, 0, _length); in prepare()
4759 performOperation(kIOMemorySetEncrypted, 0, _length); in complete()
4922 if ((offset >= _length) || ((offset + length) > _length)) { in doMap()
4924 …th 0x%llx _length 0x%llx kIOReturnBadArgument\n", __addressMap, offset, length, (uint64_t)_length); in doMap()
5113 mach_vm_size_t _length ) in init() argument
5131 fLength = _length; in init()
5597 mach_vm_size_t _length = newMapping->fLength; in copyCompatible() local
5623 if ((_offset + _length) > fLength) { in copyCompatible()
5627 if ((fLength == _length) && (!_offset)) { in copyCompatible()
5663 IOMemoryMap::getPhysicalSegment( IOByteCount _offset, IOPhysicalLength * _length, IOOptionBits _opt… in getPhysicalSegment() argument
5665 IOMemoryMap::getPhysicalSegment( IOByteCount _offset, IOPhysicalLength * _length) in getPhysicalSegment()
5672 address = fMemory->getPhysicalSegment( fOffset + _offset, _length, _options ); in getPhysicalSegment()
5674 address = fMemory->getPhysicalSegment( fOffset + _offset, _length ); in getPhysicalSegment()
6204 _length = 0; in initWithCapacity()
6221 _capacity = _length = 0; in freeMemory()
6262 _length = length; in setLength()
6269 return _length ? _data : nullptr; in getBytes()
6275 return _data ? _length : 0; in getLength()