/xnu-2422.115.4/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 | 141 mac_zinit(vm_size_t size, vm_size_t maxmem, vm_size_t alloc, const char *name) argument 144 return zinit(size, maxmem, alloc, name);
|
/xnu-2422.115.4/libkern/libkern/c++/ |
H A D | OSMetaClass.h | 174 * //apple_ref/cpp/instm/OSMetaClass/alloc/virtualOSObject*\/() 175 * OSMetaClass::alloc@/link</code>. 180 #define OSTypeAlloc(type) ((type *) ((type::metaClass)->alloc())) 1278 * If it exists, it calls the metaclass's <code>@link alloc alloc@/link</code> 1303 * If it exists, it calls the metaclass's <code>@link alloc alloc@/link</code> 1328 * If it exists, it calls the metaclass's <code>@link alloc alloc@/link</code> 1535 * @function alloc [all...] |
/xnu-2422.115.4/osfmk/kern/ |
H A D | zalloc.h | 162 uint64_t alloc __attribute__((aligned(8))); /* allocation counter */ member in struct:zinfo_usage_store_t 230 vm_size_t alloc, /* allocation size */ 269 #define Z_CALLERACCT 5 /* Account alloc/free against the caller */
|
H A D | zalloc.c | 270 /* -zp: enable poisoning for every alloc and free */ 1159 /* Times a new alloc or trace is put into the hash table */ 1228 printf("Zone leak alloc buckets override: %u\n", zleak_alloc_buckets); 1645 vm_size_t alloc, /* allocation size */ 1673 if (alloc == 0) 1674 alloc = PAGE_SIZE; 1676 alloc = round_page(alloc); 1690 alloc = PAGE_SIZE; 1694 if (((alloc 1642 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); 420 * 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 | 867 OSAddAtomic64(credit, (int64_t *)&tasks_tkm_private.alloc); 872 OSAddAtomic64(credit, (int64_t *)&tasks_tkm_shared.alloc); 2458 tkm_info->total_palloc = tasks_tkm_private.alloc + tasks_tkm_shared.alloc; 2461 /* count all other task/thread shared alloc/free against the kernel */
|
/xnu-2422.115.4/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 | 642 size_t alloc; local 654 alloc = hdr->mlen - sizeof (*hdr); 657 bcopy(addr, newaddr, MIN(size, alloc));
|
H A D | uipc_mbuf.c | 500 mcache_obj_t *element; /* the alloc'ed element, NULL if unused */ 2088 mbuf_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument 2101 mcl_audit_mbuf(mca, list, FALSE, alloc); 2105 alloc, TRUE); 2112 if (alloc) 2577 mbuf_cslab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument 2592 mcl_audit_mbuf(mca, m, TRUE, alloc); 2596 if (alloc) 2606 if (!alloc && mclverify) 2637 mcl_audit_cluster(mca, cl, size, alloc, FALS 6475 mcl_audit_mbuf(mcache_audit_t *mca, void *addr, boolean_t composite, boolean_t alloc) argument 6544 mcl_audit_cluster(mcache_audit_t *mca, void *addr, size_t size, boolean_t alloc, boolean_t save_next) argument 6652 mleak_logger(u_int32_t num, mcache_obj_t *addr, boolean_t alloc) argument [all...] |
H A D | mcache.c | 1013 mcache_slab_audit(void *arg, mcache_obj_t *list, boolean_t alloc) argument 1041 if (!alloc)
|
/xnu-2422.115.4/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 959 result = meta->alloc();
|
/xnu-2422.115.4/libkern/zlib/ |
H A D | zutil.h | 136 # include <alloc.h>
|
/xnu-2422.115.4/iokit/Kernel/ |
H A D | IOKitKernelInternal.h | 226 extern "C" uintptr_t iopa_alloc(iopa_t * a, iopa_proc_t alloc, vm_size_t bytes, uint32_t balign);
|
H A D | IOLib.cpp | 783 iopa_alloc(iopa_t * a, iopa_proc_t alloc, vm_size_t bytes, uint32_t balign) argument 819 addr = alloc(a);
|
/xnu-2422.115.4/bsd/sys/ |
H A D | pthread_shims.h | 176 zone_t (*zinit)(vm_size_t, vm_size_t maxmem, vm_size_t alloc, const char *name);
|
/xnu-2422.115.4/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 338 static int hfs_get_summary_allocblock (struct hfsmount *hfsmp, uint32_t summarybit, uint32_t *alloc); 3761 * *alloc - allocation block number in the bitmap file. 3768 summarybit, uint32_t *alloc) { 3778 *alloc = allocblk; 3900 * (512MB maximum bitmap size / (4k -- min alloc block size)) / 8 bits/byte. 4542 /* round up to the end of the next alloc block */ 4545 /* Convert the # of alloc blocks back to bytes. */ 3767 hfs_get_summary_allocblock(struct hfsmount *hfsmp, uint32_t summarybit, uint32_t *alloc) argument
|
/xnu-2422.115.4/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...] |
/xnu-2422.115.4/osfmk/i386/ |
H A D | pmap_internal.h | 877 OSAddAtomic64(bytes, (int64_t *)&zinfo[pt_fake_zone_index].alloc);
|
/xnu-2422.115.4/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 776 if ((debug_info)->alloc) \
|