/darwin-on-arm/xnu/osfmk/i386/ |
H A D | i386_vm_init.c | 475 pmptr->alloc = pmptr->base; 482 pmptr->alloc = top; 494 pmptr->alloc = pmptr->end = (fap - 1); 504 pmptr->alloc = pmptr->base = fap; 515 pmptr->alloc = pmptr->base = base; 534 (pmptr->base == pmptr->alloc) && 537 if (prev_pmptr->end == prev_pmptr->alloc) 538 prev_pmptr->alloc = pmptr->base; 555 kprintf("pmap region %d type %d base 0x%llx alloc 0x%llx top 0x%llx\n", 558 (addr64_t) p->alloc << I386_PGSHIF [all...] |
H A D | pmap.h | 561 ppnum_t alloc; member in struct:pmap_memory_regions
|
H A D | pmap_internal.h | 867 OSAddAtomic64(bytes, (int64_t *)&zinfo[pt_fake_zone_index].alloc);
|
/darwin-on-arm/xnu/security/ |
H A D | mac_alloc.h | 64 vm_size_t alloc, const char *name); 74 #define Z_CALLERACCT 5 /* Account alloc/free against the caller */
|
H A D | mac_alloc.c | 132 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);
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | zalloc.h | 130 thread_call_data_t call_async_alloc; /* callout for asynchronous alloc */ 137 uint32_t num_allocs; /* alloc stats for zleak benchmarks */ 155 uint64_t alloc __attribute__((aligned(8))); /* allocation counter */ member in struct:zinfo_usage_store_t 223 vm_size_t alloc, /* allocation size */ 262 #define Z_CALLERACCT 5 /* Account alloc/free against the caller */
|
H A D | zalloc.c | 592 /* Times a new alloc or trace is put into the hash table */ 671 printf("Zone leak alloc buckets override:%u\n", zleak_alloc_buckets); 1086 vm_size_t alloc, /* allocation size */ 1109 if (alloc == 0) 1110 alloc = PAGE_SIZE; 1111 alloc = round_page(alloc); 1123 alloc = PAGE_SIZE; 1127 if (((alloc % size) != 0) || (alloc > PAGE_SIZ 1083 zinit( vm_size_t size, vm_size_t max, vm_size_t alloc, const char *name) argument [all...] |
H A D | stack.c | 94 (int64_t *)&zinfo[stack_fake_zone_index].alloc); 127 (int64_t *)&zinfo[stack_fake_zone_index].alloc); 418 * based on recent alloc / free activity.
|
H A D | kalloc.c | 122 zinfo[kalloc_fake_zone_index].alloc += bytes; 594 * alloc backed by the zalloc world could
|
H A D | task.c | 645 OSAddAtomic64(credit, (int64_t *)&tasks_tkm_private.alloc); 650 OSAddAtomic64(credit, (int64_t *)&tasks_tkm_shared.alloc); 1872 tkm_info->total_palloc = tasks_tkm_private.alloc + tasks_tkm_shared.alloc; 1875 /* count all other task/thread shared alloc/free against the kernel */
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | decmpfs.c | 97 allocated *alloc = NULL; local 98 MALLOC(alloc, allocated *, allocSz, type, flags); 99 if (!alloc) { 104 char *ret = (char*)&alloc[1]; 107 alloc->allocSz = allocSz; 108 alloc->magic = 0xdadadada; 109 alloc->file = file; 110 alloc->line = line; 112 *alloc2 = *alloc; 127 allocated *alloc local [all...] |
H A D | kern_malloc.c | 633 size_t alloc; local 645 alloc = hdr->mlen - sizeof (*hdr); 648 bcopy(addr, newaddr, MIN(size, alloc));
|
H A D | uipc_mbuf.c | 471 mcache_obj_t *element; /* the alloc'ed element, NULL if unused */ 2041 mbuf_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument 2054 mcl_audit_mbuf(mca, list, FALSE, alloc); 2058 alloc, TRUE); 2065 if (alloc) 2530 mbuf_cslab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument 2545 mcl_audit_mbuf(mca, m, TRUE, alloc); 2549 if (alloc) 2559 if (!alloc && mclverify) 2590 mcl_audit_cluster(mca, cl, size, alloc, FALS 6341 mcl_audit_mbuf(mcache_audit_t *mca, void *addr, boolean_t composite, boolean_t alloc) argument 6408 mcl_audit_cluster(mcache_audit_t *mca, void *addr, size_t size, boolean_t alloc, boolean_t save_next) argument 6490 mleak_logger(u_int32_t num, mcache_obj_t *addr, boolean_t alloc) argument [all...] |
H A D | mcache.c | 997 mcache_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument 1025 if (!alloc)
|
/darwin-on-arm/xnu/libkern/libkern/c++/ |
H A D | OSMetaClass.h | 186 * //apple_ref/cpp/instm/OSMetaClass/alloc/virtualOSObject*\/() 187 * OSMetaClass::alloc@/link</code>. 192 #define OSTypeAlloc(type) ((type *) ((type::metaClass)->alloc())) 1319 * If it exists, it calls the metaclass's <code>@link alloc alloc@/link</code> 1344 * If it exists, it calls the metaclass's <code>@link alloc alloc@/link</code> 1369 * If it exists, it calls the metaclass's <code>@link alloc alloc@/link</code> 1576 * @function alloc [all...] |
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSObject.cpp | 65 OSObject *OSObject::MetaClass::alloc() const { return 0; } function in class:OSObject::MetaClass
|
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 | OSMetaClass.cpp | 280 OSObject * alloc() const; 285 OSObject * OSMetaClassMeta::alloc() const { return 0; } function in class:OSMetaClassMeta 957 result = meta->alloc();
|
/darwin-on-arm/xnu/libkern/zlib/ |
H A D | zutil.h | 136 # include <alloc.h>
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 3371 int alloc; local 3375 alloc = hfs_isrbtree_allocated (hfsmp, startBlocks, numBlocks, &node1); 3388 if (alloc != 0){ 3399 if (alloc == 0){ 4230 * if it straddles the new alloc limit.
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs4_vnops.c | 1802 * If not found and "alloc" is set, then allocate a new one. 1805 nfs_open_owner_find(struct nfsmount *nmp, kauth_cred_t cred, int alloc) argument 1817 if (!noop && !newnoop && alloc) { 1971 * If not found and "alloc" is set, then allocate one. 1980 int alloc) 1983 return nfs_open_file_find_internal(np, noop, nofpp, accessMode, denyMode, alloc); 1998 int alloc) 2003 goto alloc; 2023 if (!nofp && !*nofpp && !newnofp && alloc) { 2025 alloc 1974 nfs_open_file_find( nfsnode_t np, struct nfs_open_owner *noop, struct nfs_open_file **nofpp, uint32_t accessMode, uint32_t denyMode, int alloc) argument 1992 nfs_open_file_find_internal( nfsnode_t np, struct nfs_open_owner *noop, struct nfs_open_file **nofpp, uint32_t accessMode, uint32_t denyMode, int alloc) argument 2944 nfs_lock_owner_find(nfsnode_t np, proc_t p, int alloc) argument [all...] |
/darwin-on-arm/xnu/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 762 if ((debug_info)->alloc) \
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | pmap.c | 605 * 000 1 0 write through, no write alloc S-bit 606 * 000 1 1 write back, no write alloc S-bit 610 * 001 1 1 write back, write alloc S-bit 619 * 0 1 Write back, write alloc, buffered 620 * 1 0 Write through, no write alloc, buffered 622 * 1 1 Write back, no write alloc, buffered 623 * (write back, write alloc for MPCore) 627 * 0 1 Write back, write alloc, buffered 628 * 1 0 Write through, no write alloc, buffered 629 * 1 1 Write back, no write alloc, buffere [all...] |