Lines Matching refs:ranges

87 	IOAddressRange ranges[2];  in IOMultMemoryDescriptorTest()  local
94 ranges[0].address = (IOVirtualAddress)(data + ptoa(4)); in IOMultMemoryDescriptorTest()
95 ranges[0].length = ptoa(4); in IOMultMemoryDescriptorTest()
96 ranges[1].address = (IOVirtualAddress)(data + ptoa(0)); in IOMultMemoryDescriptorTest()
97 ranges[1].length = ptoa(4); in IOMultMemoryDescriptorTest()
118 mds[0] = IOMemoryDescriptor::withAddressRanges(&ranges[0], 2, kIODirectionOutIn, kernel_task); in IOMultMemoryDescriptorTest()
358 IOAddressRange ranges[2] = { in IOMemoryRemoteTest() local
362 …md = IOMemoryDescriptor::withAddressRanges(&ranges[0], 2, kIODirectionOutIn | kIOMemoryRemote, TAS… in IOMemoryRemoteTest()
380 assert(addr == ranges[idx].address); in IOMemoryRemoteTest()
381 assert(length == ranges[idx].length); in IOMemoryRemoteTest()
398 assert(segments[0].fIOVMAddr == ranges[idx].address); in IOMemoryRemoteTest()
399 assert(segments[0].fLength == ranges[idx].length); in IOMemoryRemoteTest()
834 IOAddressRange ranges[3][2] = in IOMemoryDescriptorTest()
841 { ranges[0][0].address, 0x10 }, in IOMemoryDescriptorTest()
842 { 0x3000 + ranges[0][0].address, 0xff0 }, in IOMemoryDescriptorTest()
845 { ranges[0][0].address, 0x2ffc }, in IOMemoryDescriptorTest()
846 { trunc_page(ranges[0][0].address), 0x800 }, in IOMemoryDescriptorTest()
854 ranges[test][0].address, ranges[test][0].length, in IOMemoryDescriptorTest()
855 ranges[test][1].address, ranges[test][1].length); in IOMemoryDescriptorTest()
857 …md = IOMemoryDescriptor::withAddressRanges((IOAddressRange*)&ranges[test][0], rangesCount[test], k… in IOMemoryDescriptorTest()
1097 IOAddressRange ranges[3]; in IOMemoryDescriptorTest() local
1100 bzero(&ranges[0], sizeof(ranges)); in IOMemoryDescriptorTest()
1101 ranges[0].address = data[0] + srcoffset; in IOMemoryDescriptorTest()
1102 ranges[0].length = srcsize; in IOMemoryDescriptorTest()
1103 ranges[1].address = ranges[2].address = data[0]; in IOMemoryDescriptorTest()
1106 ranges[0].length = 7634; in IOMemoryDescriptorTest()
1107 ranges[1].length = 9870; in IOMemoryDescriptorTest()
1108 ranges[2].length = srcsize - ranges[0].length - ranges[1].length; in IOMemoryDescriptorTest()
1109 ranges[1].address = ranges[0].address + ranges[0].length; in IOMemoryDescriptorTest()
1110 ranges[2].address = ranges[1].address + ranges[1].length; in IOMemoryDescriptorTest()
1113 ranges[0].length = ptoa(1); in IOMemoryDescriptorTest()
1114 ranges[1].length = ptoa(1); in IOMemoryDescriptorTest()
1115 ranges[2].length = srcsize - ranges[0].length - ranges[1].length; in IOMemoryDescriptorTest()
1116 ranges[0].address = data[0] + srcoffset + ptoa(1); in IOMemoryDescriptorTest()
1117 ranges[1].address = data[0] + srcoffset; in IOMemoryDescriptorTest()
1118 ranges[2].address = ranges[0].address + ranges[0].length; in IOMemoryDescriptorTest()
1123 … IOMemoryDescriptor::withAddressRanges(&ranges[0], rangeCount, kIODirectionInOut, kernel_task)); in IOMemoryDescriptorTest()
1128 (long long) ranges[0].address - data[0], (long long) ranges[0].length, in IOMemoryDescriptorTest()
1129 (long long) ranges[1].address - data[0], (long long) ranges[1].length, in IOMemoryDescriptorTest()
1130 (long long) ranges[2].address - data[0], (long long) ranges[2].length); in IOMemoryDescriptorTest()