Lines Matching defs:segment
172 maxSegmentSize--; // Set Max segment to -1
304 Segment64 segment,
322 address = segment.fIOVMAddr;
323 length = segment.fLength;
570 maxSegmentSize--; // Set Max segment to -1
751 Segment64 segment,
756 UInt64 length = min(segment.fLength, context->remaining);
757 addr64_t ioAddr = segment.fIOVMAddr;
1037 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1042 && ((segment.fIOVMAddr + segment.fLength - 1) >> target->fNumAddressBits))
1044 DEBG("kIOReturnMessageTooLarge(fNumAddressBits) %qx, %qx\n", segment.fIOVMAddr, segment.fLength);
1048 if (!(*target->fOutSeg)(target, segment, vSegList, outSegIndex))
1050 DEBG("kIOReturnMessageTooLarge(fOutSeg) %qx, %qx\n", segment.fIOVMAddr, segment.fLength);
1059 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1062 base[outSegIndex].fIOVMAddr = (UInt32) segment.fIOVMAddr;
1063 base[outSegIndex].fLength = (UInt32) segment.fLength;
1069 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1073 OSWriteBigInt32(vSegList, offAddr, (UInt32) segment.fIOVMAddr);
1074 OSWriteBigInt32(vSegList, offLen, (UInt32) segment.fLength);
1080 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1084 OSWriteLittleInt32(vSegList, offAddr, (UInt32) segment.fIOVMAddr);
1085 OSWriteLittleInt32(vSegList, offLen, (UInt32) segment.fLength);
1091 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1094 base[outSegIndex] = segment;
1100 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1104 OSWriteBigInt64(vSegList, offAddr, (UInt64) segment.fIOVMAddr);
1105 OSWriteBigInt64(vSegList, offLen, (UInt64) segment.fLength);
1111 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1115 OSWriteLittleInt64(vSegList, offAddr, (UInt64) segment.fIOVMAddr);
1116 OSWriteLittleInt64(vSegList, offLen, (UInt64) segment.fLength);