/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | RootDomainUserClient.cpp | 226 IOMemoryDescriptor ** memory) 233 *memory = fOwner->getPMTraceMemoryDescriptor(); 234 if (*memory) { 235 (*memory)->retain(); 223 clientMemoryForType( UInt32 type, IOOptionBits *options, IOMemoryDescriptor ** memory) argument
|
H A D | RootDomainUserClient.h | 76 virtual IOReturn clientMemoryForType( UInt32 type, IOOptionBits *options, IOMemoryDescriptor **memory);
|
H A D | IOKitKernelInternal.h | 189 IOMemoryDescriptor * memory; member in struct:IOMemoryDescriptorDevicePager
|
H A D | IOMapper.cpp | 181 OSObject * memory, // dma command or iomd 180 iovmMapMemory( OSObject * memory, ppnum_t offsetPage, ppnum_t pageCount, uint32_t options, upl_page_info_t * pageList, const IODMAMapSpecification * mapSpecification) argument
|
H A D | IOUserClient.cpp | 1136 IOMemoryDescriptor ** memory ) 1160 IOMemoryDescriptor * memory; local 1163 err = clientMemoryForType( (UInt32) type, &options, &memory ); 1165 if( memory && (kIOReturnSuccess == err)) { 1169 map = memory->createMappingInTask( task, atAddress, options ); 1170 memory->release(); 2163 // Create a vm_map_copy_t or kalloc'ed data for memory 2763 IOMemoryDescriptor * memory; local 2769 err = client->clientMemoryForType( (UInt32) memory_type, &options, &memory ); 2771 if( memory [all...] |
H A D | IODMACommand.cpp | 1066 const IOMemoryDescriptor * memory = local 1068 rtn = memory->dmaCommandOperation(mdOp, fState, sizeof(fState));
|
H A D | IOMemoryDescriptor.cpp | 195 memDesc = ref->dp.memory; 559 // Auto-prepare if this is a kernel memory descriptor as very few 560 // clients bother to prepare() kernel memory. 615 // Only accept persistent memory descriptors with valid dataP data. 666 * An existing memory descriptor is being retargeted to point to 781 // Initialize the memory descriptor 870 // Auto-prepare memory at creation time. 906 reserved->dp.memory = 0; 1349 // Physical address based memory descriptor 1386 // Physical address based memory descripto [all...] |
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOUserClient.h | 307 // memory will be released by user client when last map is destroyed 310 IOMemoryDescriptor ** memory ); 325 Remove the first mapping created from the memory descriptor returned by clientMemoryForType() from IOUserClient's list of mappings. If such a mapping exists, it is retained and the reference currently held by IOUserClient is returned to the caller. 326 @param memory The memory descriptor instance previously returned by the implementation of clientMemoryForType(). 327 @result A reference to the first IOMemoryMap instance found in the list of mappings created by IOUserClient from that passed memory descriptor is returned, or zero if none exist. The caller should release this reference. 329 IOMemoryMap * removeMappingForDescriptor(IOMemoryDescriptor * memory);
|
H A D | IOMapper.h | 98 // contiguous in real memory space. 133 OSObject * memory, // dma command or iomd
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | ipc_tt.c | 970 * the supplied rights and memory. 981 mach_port_array_t memory, 996 ports[i] = memory[i]; 1027 * we can free the memory. 1031 kfree(memory, 1043 * rights and memory. 1048 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory. 1057 void *memory; local 1067 memory = kalloc(size); 1068 if (memory 979 mach_ports_register( task_t task, mach_port_array_t memory, mach_msg_type_number_t portsCnt) argument [all...] |
H A D | zalloc.c | 62 * Zone-based memory allocator. A zone is a collection of fixed size 113 * (3) Poison the freed memory by overwriting it with 0xdeadbeef, and check it when the 114 * memory is being reused to make sure it is still poisoned. 164 /* should we run checks on this piece of memory? */ 272 * map. When an individual zone needs more storage, memory is allocated 339 * The VM system gives us an initial chunk of memory. 459 * memory configurations. The default value is 4000 records. 607 vm_size_t za_size; /* how much memory did this allocation take up? */ 779 * If we fail to allocate memory, don't further tax 812 * The refcount is incremented by the amount of memory th 1396 vm_offset_t memory; local [all...] |
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSUnserialize.y | 300 printf("OSUnserialize: can't alloc temp memory\n"); 328 printf("OSUnserialize: can't alloc temp memory\n");
|
H A D | OSUnserialize.cpp | 1130 | Release the memory associated to this symbol. | 1302 memory. */ 1311 yyoverflow (YY_("memory exhausted"), 1786 | yyexhaustedlab -- memory exhaustion comes here. | 1789 yyerror (YY_("memory exhausted")); 1909 printf("OSUnserialize: can't alloc temp memory\n"); 1937 printf("OSUnserialize: can't alloc temp memory\n");
|
H A D | OSUnserializeXML.cpp | 1164 | Release the memory associated to this symbol. | 1336 memory. */ 1345 yyoverflow (YY_("memory exhausted"), 1826 | yyexhaustedlab -- memory exhaustion comes here. | 1829 yyerror (YY_("memory exhausted")); 2045 printf("OSUnserializeXML: can't alloc temp memory\n");
|
/darwin-on-arm/xnu/osfmk/chud/ |
H A D | chud_xnu.h | 106 #pragma mark **** memory **** 109 // memory
|
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | mach_port.c | 213 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory. 233 vm_size_t size; /* size of allocated memory */ 234 vm_offset_t addr1; /* allocated memory, for names */ 235 vm_offset_t addr2; /* allocated memory, for types */ 236 vm_map_copy_t memory1; /* copied-in memory, for names */ 237 vm_map_copy_t memory2; /* copied-in memory, for types */ 349 * Make used memory pageable and get it into 350 * copied-in form. Free any unused memory. 458 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory. 502 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory 1140 vm_map_copy_t memory; /* copied-in memory */ local [all...] |
/darwin-on-arm/xnu/osfmk/profiling/i386/ |
H A D | profile-md.c | 67 * Make most stats 64 bits, except for things like memory allocation. 139 * Allocate initial memory at startup. 264 panic("Could not allocate memory for profiling"); 303 struct memory { 309 struct memory *mptr = (struct memory *)ptr; 452 /* Don't allocate memory if not desired */ 548 * Free up all memory in a memory context block. 610 /* Release memory */ 301 struct memory { struct [all...] |
/darwin-on-arm/xnu/osfmk/chud/i386/ |
H A D | chud_thread_i386.c | 117 #pragma mark **** task memory read/write ****
|