Searched refs:alloc (Results 1 - 16 of 16) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dscreen_switch.h76 * the console works early on. The alloc routine is
82 unsigned int (*alloc)(void); member in struct:screen_probe_vector
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Di386_vm_init.c298 pmptr->alloc = pmptr->end = top;
308 pmptr->alloc = pmptr->end = (fap - 1);
316 pmptr->alloc = pmptr->base = fap;
324 pmptr->alloc = pmptr->base = base;
339 pmptr->base == pmptr->alloc &&
358 kprintf("type %d base 0x%x alloc 0x%x top 0x%x\n", p->type,
359 p->base << I386_PGSHIFT, p->alloc << I386_PGSHIFT, p->end << I386_PGSHIFT);
428 for (cur_alloc = pmap_memory_regions[cur_region].alloc;
507 if (pmap_memory_regions[pmap_memory_region_current].alloc ==
512 *pn = pmap_memory_regions[pmap_memory_region_current].alloc
[all...]
H A Dpmap.h474 ppnum_t alloc; member in struct:pmap_memory_regions
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_alloc.h64 vm_size_t alloc, const char *name);
H A Dmac_alloc.c132 mac_zinit(vm_size_t size, vm_size_t maxmem, vm_size_t alloc, const char *name) argument
135 return zinit(size, maxmem, alloc, name);
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/
H A DOSMetaClass.h72 @discussion The OSTypeAlloc macro can be used to break the binary compatibility difficulties presented by new. The problem is that C++ compiles the knowledge of the size of the class into the cade calling new. If you use the alloc code however the class size is determined by the callee not the caller.
76 #define OSTypeAlloc(type) ((type *) ((type::metaClass)->alloc()))
471 @abstract Lookup a meta-class in the runtime type information system and return the results of an alloc call.
477 @abstract Lookup a meta-class in the runtime type information system and return the results of an alloc call.
483 @abstract Lookup a meta-class in the runtime type information system and return the results of an alloc call.
557 /*! @function alloc
559 @discussion This alloc function is analogous to the old ObjC class alloc method. Typically not used by clients as the static function allocClassWithName is more generally useful. Infact that function is implemented in terms of this virtual function. All subclass's of OSMetaClass must implement this function but that is what the OSDefineMetaClassAndStructor's families of macros does for the developer automatically.
561 virtual OSObject *alloc() const = 0;
574 virtual OSObject *alloc() cons
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dzalloc.h113 call_entry_data_t call_async_alloc; /* callout for asynchronous alloc */
183 vm_size_t alloc, /* allocation size */
H A Dzalloc.c463 vm_size_t alloc, /* allocation size */
484 if (alloc == 0)
485 alloc = PAGE_SIZE;
486 alloc = round_page(alloc);
498 alloc = PAGE_SIZE;
511 alloc = tsize;
518 if (alloc <= best || (alloc % size >= waste))
519 alloc
460 zinit( vm_size_t size, vm_size_t max, vm_size_t alloc, const char *name) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dload.c228 Boolean _IOReadBytesFromFile(CFAllocatorRef alloc, const char *path, void **bytes,
385 CFAllocatorRef alloc; local
388 alloc = CFRetain(CFAllocatorGetDefault());
389 if (_IOReadBytesFromFile(alloc, "prelinkstate", &bytes, &length, 0))
391 G_prelink_data = CFDataCreateMutable(alloc, 0);
393 CFAllocatorDeallocate(alloc, bytes);
395 G_prelink_dependencies = CFDataCreateMutable(alloc, 0);
396 if (_IOReadBytesFromFile(alloc, "prelinkdependencies", &bytes, &length, 0))
399 CFAllocatorDeallocate(alloc, bytes);
401 CFRelease(alloc);
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSMetaClass.cpp194 OSObject *alloc() const;
199 OSObject *OSMetaClassMeta::alloc() const { return 0; } function in class:OSMetaClassMeta
727 result = meta->alloc();
H A DOSObject.cpp65 OSObject *OSObject::MetaClass::alloc() const { return 0; } function in class:OSObject::MetaClass
H A DOSUnserialize.y301 printf("OSUnserialize: can't alloc temp memory\n");
329 printf("OSUnserialize: can't alloc temp memory\n");
H A DOSUnserialize.cpp1260 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/bsd/kern/
H A Duipc_mbuf.c1533 mbuf_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument
1546 mcl_audit_mbuf(mca, list, FALSE, alloc);
1550 alloc, TRUE);
1555 if (alloc)
2001 mbuf_cslab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument
2016 mcl_audit_mbuf(mca, m, TRUE, alloc);
2018 if (alloc)
2028 if (!alloc)
2060 mcl_audit_cluster(mca, cl, size, alloc, FALSE);
2062 if (alloc)
5180 mcl_audit_mbuf(mcache_audit_t *mca, void *addr, boolean_t composite, boolean_t alloc) argument
5242 mcl_audit_cluster(mcache_audit_t *mca, void *addr, size_t size, boolean_t alloc, boolean_t save_next) argument
[all...]
H A Dmcache.c982 mcache_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument
1010 if (!alloc)
/macosx-10.5.8/xnu-1228.15.4/libkern/
H A Dzlib.c158 # include <alloc.h>
5706 #ifndef MY_ZCALLOC /* Any system without a special alloc function */

Completed in 129 milliseconds