| /xnu-11215/osfmk/kern/ |
| H A D | exclaves_shared_memory.c | 99 assert3p(mapping, !=, NULL); in exclaves_shared_memory_setup() 121 *mapping = 0; in exclaves_shared_memory_setup() 139 *mapping = sm_result->mappinginfo.mapping; in exclaves_shared_memory_setup() 140 assert3u(*mapping, !=, 0); in exclaves_shared_memory_setup() 144 if (ret != TB_ERROR_SUCCESS || *mapping == 0) { in exclaves_shared_memory_setup() 156 const sharedmemorybase_mapping_s *mapping) in exclaves_shared_memory_teardown() argument 159 assert3p(mapping, !=, NULL); in exclaves_shared_memory_teardown() 196 assert3p(mapping, !=, NULL); in exclaves_shared_memory_map() 237 assert3p(mapping, !=, NULL); in exclaves_shared_memory_unmap() 277 assert3p(mapping, !=, NULL); [all …]
|
| H A D | exclaves_shared_memory.h | 87 sharedmemorybase_mapping_s *mapping); 106 const sharedmemorybase_mapping_s *mapping); 131 const sharedmemorybase_mapping_s *mapping, const uint64_t startpage, 157 const sharedmemorybase_mapping_s *mapping, const uint64_t startpage, 187 const sharedmemorybase_mapping_s *mapping, uint64_t startpage, uint64_t endpage,
|
| H A D | kcdata.modulemap | 5 // would pick up the old one in the SDK rather than mapping to the new one in
|
| H A D | kern_debug.modulemap | 11 // mapping to the new one in SRCROOT. To get around that, libkdd uses
|
| H A D | exclaves_resource.c | 1747 sharedmemorybase_mapping_s mapping = 0; in shared_memory_map() local 1749 page_count, &mapping); in shared_memory_map() 1771 kr = exclaves_shared_memory_iterate(&sm->sm_client, &mapping, 0, in shared_memory_map() 1782 exclaves_shared_memory_teardown(&sm->sm_client, &mapping); in shared_memory_map() 1795 exclaves_shared_memory_teardown(&sm->sm_client, &mapping); in shared_memory_map() 1800 sm->sm_mapping = mapping; in shared_memory_map()
|
| /xnu-11215/osfmk/conf/ |
| H A D | Makefile.x86_64 | 26 WKdmDecompress_new.o_CFLAGS_ADD += -fno-profile-instr-generate -fno-coverage-mapping 27 WKdmData_new.o_CFLAGS_ADD += -fno-profile-instr-generate -fno-coverage-mapping 28 hibernate_restore.o_CFLAGS_ADD += -fno-profile-instr-generate -fno-coverage-mapping 29 bcopy.o_CFLAGS_ADD += -fno-profile-instr-generate -fno-coverage-mapping 30 bzero.o_CFLAGS_ADD += -fno-profile-instr-generate -fno-coverage-mapping
|
| H A D | Makefile.arm64 | 38 $(1)_CFLAGS_ADD += -fno-profile-instr-generate -fno-coverage-mapping
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOGuardPageMemoryDescriptor.cpp | 108 IOMemoryMap * mapping = (IOMemoryMap *) *atAddress; in doMap() local 109 vm_map_t map = mapping->fAddressMap; in doMap() 110 mach_vm_size_t length = mapping->fLength; in doMap() 111 mach_vm_address_t address = mapping->fAddress; in doMap() 114 doUnmap(map, (IOVirtualAddress) mapping, 0); in doMap()
|
| H A D | IOMultiMemoryDescriptor.cpp | 272 IOMemoryMap * mapping = (IOMemoryMap *) *__address; in doMap() local 273 vm_map_t map = mapping->fAddressMap; in doMap() 274 mach_vm_size_t offset = mapping->fOffset; in doMap() 275 mach_vm_size_t length = mapping->fLength; in doMap() 276 mach_vm_address_t address = mapping->fAddress; in doMap() 307 ref.mapped = mapping->fAddress; in doMap() 321 mapping->fAddress = address; in doMap() 341 …subMap = _descriptors[index]->createMappingInTask(mapping->fAddressTask, nextAddress, subOptions, … in doMap()
|
| H A D | IOMemoryDescriptor.cpp | 4891 return mapping; in makeMapping() 5034 doUnmap(mapping->fAddressMap, (IOVirtualAddress) mapping, 0); in doMap() 5368 …err = populateDevicePager(pager, mapping->fAddressMap, mapping->fAddress, mapping->fOffset, mappin… in redirect() 5769 if (mapping in createMappingInTask() 5773 mapping = NULL; in createMappingInTask() 5776 if (mapping) { in createMappingInTask() 5894 result = mapping; in makeMapping() 5938 mapping = NULL; in makeMapping() 5950 result = mapping; in makeMapping() 5955 mapping = NULL; in makeMapping() [all …]
|
| H A D | IOSubMemoryDescriptor.cpp | 202 IOMemoryMap * mapping = NULL; in makeMapping() local 210 mapping = (IOMemoryMap *) _parent->makeMapping( in makeMapping() 216 return mapping; in makeMapping()
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IODMACommand.iig | 78 * IODMACommand allows a mapping for DMA to be created from an IOMemoryDescriptor. 81 * IODMACommand allows a mapping for DMA to be created from an IOMemoryDescriptor. 82 * The IODMACommand instance represents the mapping and should be kept prepared for the 84 * IODMACommand does not perform bounce buffering but allows access to the mapping with 85 * the PerformOperation method so that data can moved into and out of the mapping, eg. 120 * @brief Create a DMA mapping for memory. 145 * @brief Release a DMA mapping for memory. 169 * @brief Perform CPU access to the DMA mapping. 171 kIODMACommandPerformOperationOptionRead read from the DMA mapping to 173 kIODMACommandPerformOperationOptionWrite write to the DMA mapping from [all …]
|
| H A D | IOMemoryMap.iig | 51 * IOMemoryMap describes a memory mapping created with IOMemoryDescriptor::CreateMapping() 69 * @brief Obtain the address of the memory mapping. 76 * @brief Obtain the length of the memory mapping. 83 * @brief Obtain the offset of the memory mapping.
|
| H A D | IOMemoryDescriptor.iig | 117 * @brief Create a mapping of the memory in the callers address space. 120 * kIOMemoryMapReadOnly create a read only mapping 126 * @param offset Start offset of the mapping in the descriptor. 128 * @param alignment of the memory virtual mapping. Only zero for no alignment is supported.
|
| /xnu-11215/osfmk/tests/ |
| H A D | pmap_tests.c | 570 unsigned int mapping = 0; in hugepv_remove_enter_thread() local 573 vm_map_address_t va = args->args.va + ((vm_offset_t)mapping << PAGE_SHIFT); in hugepv_remove_enter_thread() 579 if (++mapping == args->num_mappings) { in hugepv_remove_enter_thread() 580 mapping = 0; in hugepv_remove_enter_thread() 609 unsigned int mapping = rand % args->num_mappings; in hugepv_fast_fault_thread() local 610 …arm_fast_fault(args->args.pmap, args->args.va + ((vm_offset_t)mapping << PAGE_SHIFT), VM_PROT_READ… in hugepv_fast_fault_thread() 731 for (unsigned int mapping = 0; mapping < num_mappings; ++mapping) { in test_pmap_huge_pv_list() local 732 kr = pmap_enter(new_pmap, PMAP_TEST_VA + ((vm_offset_t)mapping << PAGE_SHIFT), phys_page, in test_pmap_huge_pv_list()
|
| /xnu-11215/libsa/conf/ |
| H A D | Makefile.template | 106 CXXFLAGS_GEN:=$(filter-out -fcoverage-mapping,$(CXXFLAGS_GEN)) 108 CFLAGS_GEN:=$(filter-out -fcoverage-mapping,$(CFLAGS_GEN))
|
| /xnu-11215/libsyscall/mach/ |
| H A D | err_libkern.sub | 94 "(libkern/kext) loading/mapping of a kext collection failed", /* 0x1c */ 95 "(libkern/kext) mapping of the SystemKC failed", /* 0x1d */ 96 "(libkern/kext) loading/mapping of the AuxiliaryKC failed", /* 0x1e */
|
| /xnu-11215/iokit/conf/ |
| H A D | Makefile.x86_64 | 19 IOHibernateRestoreKernel.o_CFLAGS_ADD += -fno-profile-instr-generate -fno-coverage-mapping
|
| H A D | Makefile.arm64 | 23 IOHibernateRestoreKernel.o_CFLAGS_ADD += -fno-profile-instr-generate -fno-coverage-mapping
|
| /xnu-11215/tests/ |
| H A D | os_thread_self_restrict_pagers.c | 509 void *mapping; in mmap_test() local 523 …mapping = mmap(state, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_FIXED | MAP_PRIVATE | MAP_ANON, -1, 0… in mmap_test() 524 T_ASSERT_EQ(mapping, MAP_FAILED, "Map over TPRO range should fail"); in mmap_test()
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.def | 541 -mllvm -hwasan-mapping-offset=$(KASAN_OFFSET) \ 554 -mllvm -asan-mapping-offset=$(KASAN_OFFSET) \ 830 # We also need a 32MB offset, as this is the minimum block mapping size 835 # it with our block mapping, and we therefore must reflect that the 836 # first 4MB of the block mapping for xnu do not belong to xnu). 847 # memory as part of the V-to-P mapping. 892 # To support code coverage for kexts, the coverage mapping sections __llvm_covmap 895 # llvm-cov, we move the coverage mapping for the kernel itself into the same 1058 CFLAGS_GEN += -fprofile-instr-generate -fcoverage-mapping 1059 CXXFLAGS_GEN += -fprofile-instr-generate -fcoverage-mapping
|
| /xnu-11215/bsd/net/ |
| H A D | necp.c | 1472 if (mapping != NULL) { in necp_session_unregister_service() 5370 if (mapping != NULL) { in __sized_by() 5380 if (mapping != NULL) { in __sized_by() 5390 if (mapping != NULL) { in __sized_by() 6292 if (mapping == NULL) { in necp_lookup_route_rule_by_contents_locked() 6310 if (mapping == NULL) { in necp_lookup_route_rule_by_contents_locked() 8415 if (mapping != NULL) { in necp_application_find_policy_match_internal() 8442 if (mapping != NULL) { in necp_application_find_policy_match_internal() 8853 if (mapping != NULL) { in necp_application_find_policy_match_internal() 10461 if (mapping != NULL) { in necp_socket_verify_netagents() [all …]
|
| /xnu-11215/osfmk/mach/ |
| H A D | vm_map.defs | 290 * The mapping will take the current and maximum protections and 296 * be private to this mapping in this target task. Otherwise, 297 * the memory in this mapping will be shared with other mappings
|
| H A D | mach_vm.defs | 339 * The mapping will take the current and maximum protections and 345 * be private to this mapping in this target task. Otherwise, 346 * the memory in this mapping will be shared with other mappings
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOMemoryDescriptor.h | 856 IOMemoryMap * mapping ); 859 IOMemoryMap * mapping );
|