Searched refs:memory (Results 1 - 18 of 18) sorted by relevance

/darwin-on-arm/xnu/iokit/Kernel/
H A DRootDomainUserClient.cpp226 IOMemoryDescriptor ** memory)
233 *memory = fOwner->getPMTraceMemoryDescriptor();
234 if (*memory) {
235 (*memory)->retain();
223 clientMemoryForType( UInt32 type, IOOptionBits *options, IOMemoryDescriptor ** memory) argument
H A DRootDomainUserClient.h76 virtual IOReturn clientMemoryForType( UInt32 type, IOOptionBits *options, IOMemoryDescriptor **memory);
H A DIOKitKernelInternal.h189 IOMemoryDescriptor * memory; member in struct:IOMemoryDescriptorDevicePager
H A DIOMapper.cpp181 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 DIOUserClient.cpp1136 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 DIODMACommand.cpp1066 const IOMemoryDescriptor * memory = local
1068 rtn = memory->dmaCommandOperation(mdOp, fState, sizeof(fState));
H A DIOMemoryDescriptor.cpp195 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 DIOUserClient.h307 // 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 DIOMapper.h98 // contiguous in real memory space.
133 OSObject * memory, // dma command or iomd
/darwin-on-arm/xnu/osfmk/kern/
H A Dipc_tt.c970 * 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 Dzalloc.c62 * 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 DOSUnserialize.y300 printf("OSUnserialize: can't alloc temp memory\n");
328 printf("OSUnserialize: can't alloc temp memory\n");
H A DOSUnserialize.cpp1130 | 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 DOSUnserializeXML.cpp1164 | 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 Dchud_xnu.h106 #pragma mark **** memory ****
109 // memory
/darwin-on-arm/xnu/osfmk/ipc/
H A Dmach_port.c213 * 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 Dprofile-md.c67 * 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 Dchud_thread_i386.c117 #pragma mark **** task memory read/write ****

Completed in 81 milliseconds