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

/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOUserClient.h250 // memory will be released by user client when last map is destroyed
253 IOMemoryDescriptor ** memory );
267 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.
268 @param memory The memory descriptor instance previously returned by the implementation of clientMemoryForType().
269 @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.
271 IOMemoryMap * removeMappingForDescriptor(IOMemoryDescriptor * memory);
H A DIOMemoryDescriptor.h51 * Direction of transfer, with respect to the described memory.
112 @abstract An abstract base class defining common methods for describing physical or virtual memory.
113 @discussion The IOMemoryDescriptor object represents a buffer or range of memory, specified as one or more physical or virtual address ranges. It contains methods to return the memory's physically contiguous segments (fragments), for use with the IOMemoryCursor, and methods to map the memory into any address space with caching and placed mapping options. */
130 IOMemoryDescriptor * memory; member in struct:IOMemoryDescriptor::ExpansionData
153 @abstract Master initialiser for all variants of memory descriptors. For a more complete description see IOMemoryDescriptor::withOptions.
154 @discussion Note this function can be used to re-init a previously created memory descriptor.
170 @abstract Control the purgeable status of a memory descriptors memory
[all...]
/macosx-10.5.8/AppleMacRiscPCI-3.4/
H A DAppleMacRiscPCI.h294 IOMemoryDescriptor * memory,
299 IOMemoryDescriptor * memory,
H A DAppleMacRiscPCI.cpp116 // Match the name of the provider to weed out the memory controller
1490 IOMemoryDescriptor * memory,
1501 // ok = agpRange->allocate( memory->getLength(), &agpOffset );
1507 while( (phys64 = memory->getPhysicalSegment64(offset, &len)))
1555 IOMemoryDescriptor * memory,
1564 if( !memory)
1567 length = memory->getLength();
1489 commitAGPMemory( IOAGPDevice * master, IOMemoryDescriptor * memory, IOByteCount agpOffset, IOOptionBits options ) argument
1554 releaseAGPMemory( IOAGPDevice * master, IOMemoryDescriptor * memory, IOByteCount agpOffset, IOOptionBits options ) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dipc_tt.c1010 * the supplied rights and memory.
1021 mach_port_array_t memory,
1036 ports[i] = memory[i];
1067 * we can free the memory.
1071 kfree(memory,
1083 * rights and memory.
1088 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory.
1097 void *memory; local
1107 memory = kalloc(size);
1108 if (memory
1019 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
115 * (3) poison the freed memory by overwriting it with 0xdeadbeef.
121 * it still poisons the memory when it's freed, but doesn't check if the memory
232 * The VM system gives us an initial chunk of memory.
360 * memory configurations. The default value is 4000 records.
462 vm_size_t max, /* maximum memory to use */
580 * We got the memory for the log. Zero it out since the code needs this to identify unused records.
588 printf("zone: couldn't allocate memory for zrecords, turning off zleak logging\n");
597 * Cram the given memory int
739 vm_offset_t memory; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dbcopy.s51 ; Attempt to copy physically addressed memory with translation on if conditions are met.
72 ; on a 64-bit processor, use the physical memory window instead; please refer to copypv()
202 srdi r2,r3,31 ; Get a 1 if source is in I/O memory
204 srdi r10,r4,31 ; Get a 1 if sink is in I/O memory
207 cmpldi cr0,r2,1 ; Is source in I/O memory?
208 cmpldi cr7,r10,1 ; Is sink in I/O memory?
230 ; which cannot handle a cache burst in I/O space, we must turn caching off for the real memory access.
327 ; bcopy_nc() operates on non-cached memory so we can not use any kind of cache instructions.
374 ; When we move the memory, forward overlays must be handled. We
874 // exceptions on uncached memory o
[all...]
H A Dlowmem_vectors.s225 * Data access - page fault, invalid memory rights for operation
623 * physical memory.
943 dcbf 0,r23 ; Force to memory
1006 dcbst 0,r20 ; Force to memory
1007 dcbst 0,r21 ; Force to memory
1009 dcbst 0,r22 ; Force to memory
1010 dcbst 0,r21 ; Force to memory
1080 dcbf 0,r23 ; Force to memory
1128 dcbf 0,r20 ; Force to memory
1495 dcbf 0,r23 ; Force to memory
[all...]
H A Dmachine_routines_asm.s139 * Read the memory location at physical address paddr.
278 * Read the memory location at physical address paddr.
635 srdi r7,r3,31 ; Get a 1 if address is in I/O memory
637 cmpldi cr7,r7,1 ; Is source in I/O memory?
1180 * check if the cache is on, if so, we need to flush the contents to memory.
1280 mfspr r8,msscr0 ; Get the memory system control register
1315 rlwinm r11,r0,29,3,31 ; Get the amount of memory to handle all indexes
1332 sync ; Clear out memory accesses
1459 sync ; Finish memory stuff
1482 cinlb: sync ; Finish memory stuf
[all...]
H A Dstart.s233 beq patch_apply ; proc feature matches, so patch memory
237 bne patch_skip ; No, skip patch memory
H A Dcswtch.s139 lwz r9,umwSpace(r5) ; Get user memory window address space
144 lwz r6,umwRelo(r5) ; Get user memory window relocation top
147 lwz r2,umwRelo+4(r5) ; Get user memory window relocation bottom
H A Dvmachmon_asm.s139 .long EXT(vmm_set_guest_memory) ; Set guest memory extent
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOUserClient.cpp982 IOMemoryDescriptor ** memory )
995 IOMemoryDescriptor * memory; local
998 err = clientMemoryForType( (UInt32) type, &options, &memory );
1000 if( memory && (kIOReturnSuccess == err)) {
1004 map = memory->map( task, atAddress, options );
1005 memory->release();
1019 IOMemoryDescriptor * memory; local
1022 err = clientMemoryForType( (UInt32) type, &options, &memory );
1024 if( memory && (kIOReturnSuccess == err)) {
1028 map = memory
2526 IOMemoryDescriptor * memory; local
[all...]
H A DIODMACommand.cpp899 const IOMemoryDescriptor * memory = local
901 rtn = memory->dmaCommandOperation(mdOp, fState, sizeof(fState));
H A DIOMemoryDescriptor.cpp260 IOMemoryDescriptor * memory; member in struct:ExpansionData
267 memDesc = ref->memory;
289 IOMemoryDescriptor * memory; member in struct:ExpansionData
677 // Auto-prepare if this is a kernel memory descriptor as very few
678 // clients bother to prepare() kernel memory.
721 // Only accept persistent memory descriptors with valid dataP data.
778 * An existing memory descriptor is being retargeted to point to
900 // Initialize the memory descriptor
961 // Auto-prepare memory at creation time.
1006 reserved->memory
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSUnserialize.y301 printf("OSUnserialize: can't alloc temp memory\n");
329 printf("OSUnserialize: can't alloc temp memory\n");
H A DOSUnserializeXML.cpp1169 | Release the memory associated to this symbol. |
1341 memory. */
1350 yyoverflow (YY_("memory exhausted"),
1831 | yyexhaustedlab -- memory exhaustion comes here. |
1834 yyerror (YY_("memory exhausted"));
2017 printf("OSUnserializeXML: can't alloc temp memory\n");
H A DOSUnserialize.cpp604 /* Use copies of these so that the &'s don't force the real ones into memory. */
1049 yyerror ("parse error; also virtual memory exceeded");
1260 printf("OSUnserialize: can't alloc temp memory\n");
1288 printf("OSUnserialize: can't alloc temp memory\n");
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/
H A Dchud_xnu.h87 #pragma mark **** memory ****
89 // memory
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dmach_port.c203 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory.
224 vm_size_t size; /* size of allocated memory */
225 vm_offset_t addr1; /* allocated memory, for names */
226 vm_offset_t addr2; /* allocated memory, for types */
227 vm_map_copy_t memory1; /* copied-in memory, for names */
228 vm_map_copy_t memory2; /* copied-in memory, for types */
352 * Make used memory pageable and get it into
353 * copied-in form. Free any unused memory.
457 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory.
506 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory
1060 vm_map_copy_t memory; /* copied-in memory */ local
[all...]
/macosx-10.5.8/xnu-1228.15.4/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.
270 panic("Could not allocate memory for profiling");
309 struct memory {
315 struct memory *mptr = (struct memory *)ptr;
458 /* Don't allocate memory if not desired */
554 * Free up all memory in a memory context block.
616 /* Release memory */
307 struct memory { struct
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/
H A Dchud_thread_i386.c110 #pragma mark **** task memory read/write ****
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_thread_ppc.c330 #pragma mark **** task memory read/write ****

Completed in 132 milliseconds