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

/darwin-on-arm/xnu/osfmk/i386/
H A Di386_vm_init.c475 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 Dpmap.h561 ppnum_t alloc; member in struct:pmap_memory_regions
H A Dpmap_internal.h867 OSAddAtomic64(bytes, (int64_t *)&zinfo[pt_fake_zone_index].alloc);
/darwin-on-arm/xnu/security/
H A Dmac_alloc.h64 vm_size_t alloc, const char *name);
74 #define Z_CALLERACCT 5 /* Account alloc/free against the caller */
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);
/darwin-on-arm/xnu/osfmk/kern/
H A Dzalloc.h130 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 Dzalloc.c592 /* 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 Dstack.c94 (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 Dkalloc.c122 zinfo[kalloc_fake_zone_index].alloc += bytes;
594 * alloc backed by the zalloc world could
H A Dtask.c645 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 Ddecmpfs.c97 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 Dkern_malloc.c633 size_t alloc; local
645 alloc = hdr->mlen - sizeof (*hdr);
648 bcopy(addr, newaddr, MIN(size, alloc));
H A Duipc_mbuf.c471 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 Dmcache.c997 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 DOSMetaClass.h186 * //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 DOSObject.cpp65 OSObject *OSObject::MetaClass::alloc() const { return 0; } function in class:OSObject::MetaClass
H A DOSUnserialize.y300 printf("OSUnserialize: can't alloc temp memory\n");
328 printf("OSUnserialize: can't alloc temp memory\n");
H A DOSMetaClass.cpp280 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 Dzutil.h136 # include <alloc.h>
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c3371 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 Dnfs4_vnops.c1802 * 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 Dspec_vnops.c762 if ((debug_info)->alloc) \
/darwin-on-arm/xnu/osfmk/arm/
H A Dpmap.c605 * 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...]

Completed in 215 milliseconds