Lines Matching defs:segment
170 maxSegmentSize--; // Set Max segment to -1
320 Segment64 segment,
337 address = segment.fIOVMAddr;
338 length = segment.fLength;
631 maxSegmentSize--; // Set Max segment to -1
899 Segment64 segment,
904 UInt64 length = min(segment.fLength, context->remaining);
905 addr64_t ioAddr = segment.fIOVMAddr;
1214 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1220 && ((segment.fIOVMAddr + segment.fLength - 1) >> target->fNumAddressBits)
1223 DEBG("kIOReturnMessageTooLarge(fNumAddressBits) %qx, %qx\n", segment.fIOVMAddr, segment.fLength);
1227 if (!(*segmentFunction)(target, segment, vSegList, outSegIndex))
1229 DEBG("kIOReturnMessageTooLarge(fOutSeg) %qx, %qx\n", segment.fIOVMAddr, segment.fLength);
1248 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1251 base[outSegIndex].fIOVMAddr = (UInt32) segment.fIOVMAddr;
1252 base[outSegIndex].fLength = (UInt32) segment.fLength;
1258 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1262 OSWriteBigInt32(vSegList, offAddr, (UInt32) segment.fIOVMAddr);
1263 OSWriteBigInt32(vSegList, offLen, (UInt32) segment.fLength);
1269 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1273 OSWriteLittleInt32(vSegList, offAddr, (UInt32) segment.fIOVMAddr);
1274 OSWriteLittleInt32(vSegList, offLen, (UInt32) segment.fLength);
1280 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1283 base[outSegIndex] = segment;
1289 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1293 OSWriteBigInt64(vSegList, offAddr, (UInt64) segment.fIOVMAddr);
1294 OSWriteBigInt64(vSegList, offLen, (UInt64) segment.fLength);
1300 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1304 OSWriteLittleInt64(vSegList, offAddr, (UInt64) segment.fIOVMAddr);
1305 OSWriteLittleInt64(vSegList, offLen, (UInt64) segment.fLength);