Home
last modified time | relevance | path

Searched refs:ranges (Results 1 – 18 of 18) sorted by relevance

/xnu-11215/iokit/Kernel/i386/
H A DIOKeyStoreHelper.cpp92 IOAddressRange ranges; in IOGetBootKeyStoreData() local
113 ranges.length = args->keyStoreDataSize; in IOGetBootKeyStoreData()
166 IOAddressRange ranges; in IOGetAPFSKeyStoreData() local
167 ranges.address = args->apfsDataStart; in IOGetAPFSKeyStoreData()
168 ranges.length = args->apfsDataSize; in IOGetAPFSKeyStoreData()
196 IOAddressRange ranges; in IOGetARVRootHashData() local
198 ranges.length = args->arvRootHashSize; in IOGetARVRootHashData()
225 IOAddressRange ranges; in IOGetBaseSystemARVRootHashData() local
271 IOAddressRange ranges; in IOGetARVManifestData() local
273 ranges.length = args->arvManifestSize; in IOGetARVManifestData()
[all …]
/xnu-11215/osfmk/kern/
H A Drestartable.c154 if (ranges[i].flags) { in _ranges_validate()
157 if (os_add_overflow(ranges[i].location, ranges[i].length, &end)) { in _ranges_validate()
160 if (os_add_overflow(ranges[i].location, ranges[i].recovery_offs, &recovery)) { in _ranges_validate()
188 task_restartable_range_t *ranges = rr->rr_ranges; in _ranges_lookup() local
191 if (pc <= ranges[0].location) { in _ranges_lookup()
194 if (pc >= ranges[r - 1].location + ranges[r - 1].length) { in _ranges_lookup()
200 mach_vm_address_t location = ranges[i].location; in _ranges_lookup()
205 } else if (location + ranges[i].length <= pc) { in _ranges_lookup()
210 return location + ranges[i].recovery_offs; in _ranges_lookup()
537 task_restartable_range_t *ranges, in task_restartable_ranges_register() argument
[all …]
H A Drestartable.h91 task_restartable_range_array_t ranges,
135 extern void restartable_ranges_release(struct restartable_ranges *ranges);
/xnu-11215/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp87 IOAddressRange ranges[2]; in IOMultMemoryDescriptorTest() local
854 ranges[test][0].address, ranges[test][0].length, in IOMemoryDescriptorTest()
855 ranges[test][1].address, ranges[test][1].length); in IOMemoryDescriptorTest()
1100 bzero(&ranges[0], sizeof(ranges)); in IOMemoryDescriptorTest()
1103 ranges[1].address = ranges[2].address = data[0]; 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()
1115 ranges[2].length = srcsize - ranges[0].length - ranges[1].length; in IOMemoryDescriptorTest()
1118 ranges[2].address = ranges[0].address + ranges[0].length; in IOMemoryDescriptorTest()
[all …]
/xnu-11215/tests/
H A Drestartable_ranges.c19 extern task_restartable_range_t ranges[2];
150 kr = task_restartable_ranges_register(mach_task_self(), ranges, 2);
242 kr = task_restartable_ranges_register(mach_task_self(), ranges, 2);
/xnu-11215/tests/vm/
H A Dvm_allocation.c2104 } ranges[] = { in test_deallocate_rounded_zero_end_ranges() local
2115 int numofranges = sizeof(ranges) / sizeof(ranges[0]); in test_deallocate_rounded_zero_end_ranges()
2141 } ranges[] = { in test_deallocate_wrapped_around_ranges() local
2147 int numofranges = sizeof(ranges) / sizeof(ranges[0]); in test_deallocate_wrapped_around_ranges()
2158 …(uintmax_t)ranges[i].address, (uintmax_t)ranges[i].size, (uintmax_t)ranges[i].size, mach_error_str… in test_deallocate_wrapped_around_ranges()
2333 } ranges[] = { in test_read_wrapped_around_ranges() local
2339 int numofranges = sizeof(ranges) / sizeof(ranges[0]); in test_read_wrapped_around_ranges()
2669 } ranges[] = { in test_copy_wrapped_around_ranges() local
2675 int numofranges = sizeof(ranges) / sizeof(ranges[0]); in test_copy_wrapped_around_ranges()
3226 } ranges[] = { in protect_wrapped_around_ranges() local
[all …]
/xnu-11215/osfmk/arm/pmap/
H A Dpmap_data.c3587 pmap_io_range_t const *ranges = prop; in pmap_compute_io_rgns() local
3591 if (ranges[i].addr & PAGE_MASK) { in pmap_compute_io_rgns()
3593 __func__, i, ranges[i].addr); in pmap_compute_io_rgns()
3596 if (ranges[i].len & PAGE_MASK) { in pmap_compute_io_rgns()
3598 __func__, i, ranges[i].len); in pmap_compute_io_rgns()
3602 if (os_add_overflow(ranges[i].addr, ranges[i].len, &rgn_end)) { in pmap_compute_io_rgns()
3604 __func__, i, ranges[i].addr, ranges[i].len); in pmap_compute_io_rgns()
3611 __func__, i, ranges[i].addr, ranges[i].len); in pmap_compute_io_rgns()
3617 return num_io_rgns * sizeof(*ranges); in pmap_compute_io_rgns()
3673 pmap_io_range_t const *ranges = prop; in pmap_load_io_rgns() local
[all …]
/xnu-11215/iokit/IOKit/
H A DIOMemoryDescriptor.h528 static OSPtr<IOMemoryDescriptor> withRanges(IOVirtualRange * ranges,
563 IOAddressRange * ranges,
600 IOPhysicalRange * ranges,
635 virtual bool initWithRanges(IOVirtualRange * ranges,
640 virtual bool initWithPhysicalRanges(IOPhysicalRange * ranges,
1209 virtual bool initWithRanges( IOVirtualRange * ranges,
1215 virtual bool initWithPhysicalRanges(IOPhysicalRange * ranges,
/xnu-11215/osfmk/mach/
H A Dshared_memory_server.h136 const struct shared_region_range_np *ranges);
H A Drestartable.defs46 ranges : task_restartable_range_array_t);
H A Dvm_map.defs203 * ranges within target address space.
226 * ranges must be aligned on a virtual page boundary,
H A Dmach_vm.defs228 * ranges within target address space.
259 * ranges must be aligned on a virtual page boundary,
/xnu-11215/iokit/DriverKit/
H A DIOUserClient.iig249 * @brief Create a memory descriptor that describes a set of virtual ranges in
254 * @param segmentsCount Number of valid address ranges being passed
256 * @param segments Array of address ranges.
/xnu-11215/tools/lldbmacros/
H A Dkasan.py417 ranges = kern.globals.kmem_ranges
419 if addr < unsigned(ranges[i].min_address):
421 if addr >= unsigned(ranges[i].max_address):
/xnu-11215/iokit/Kernel/
H A DIOMemoryDescriptor.cpp1726 IOMemoryDescriptor::withRanges( IOVirtualRange * ranges, in withRanges() argument
1734 if (that->initWithRanges(ranges, withCount, direction, task, asReference)) { in withRanges()
1753 IOMemoryDescriptor::withAddressRanges(IOAddressRange * ranges, in withAddressRanges() argument
1814 IOMemoryDescriptor::withPhysicalRanges( IOPhysicalRange * ranges, in withPhysicalRanges() argument
1821 if (that->initWithPhysicalRanges(ranges, withCount, direction, asReference)) { in withPhysicalRanges()
1916 IOPhysicalRange * ranges, in initWithPhysicalRanges() argument
1927 return initWithOptions(ranges, count, 0, NULL, mdOpts, /* mapper */ NULL); in initWithPhysicalRanges()
1932 IOVirtualRange * ranges, in initWithRanges() argument
1957 return initWithOptions(ranges, count, 0, task, mdOpts, /* mapper */ NULL); in initWithRanges()
6030 IOVirtualRange * ranges, in initWithRanges() argument
[all …]
H A DIOUserServer.cpp868 IOAddressRange * ranges; in CreateMemoryDescriptorFromClient_Impl() local
890 ranges = __DECONST(IOAddressRange *, &segments[0]); in CreateMemoryDescriptorFromClient_Impl()
893 ranges, segmentsCount, in CreateMemoryDescriptorFromClient_Impl()
/xnu-11215/osfmk/tests/
H A DREADME.md22 …ernPOST_config=8```" and only your test will be run. The configuration also takes ranges as follows
/xnu-11215/doc/lifecycle/
H A Dhibernation.md67 allocated for each one of these ranges (as well as a single bitmap for the