Searched refs:kalloc (Results 1 - 25 of 152) sorted by relevance

1234567

/darwin-on-arm/xnu/libkern/libkern/c++/
H A DOSLib.h44 #include <kern/kalloc.h>
/darwin-on-arm/xnu/osfmk/ipc/
H A Dipc_table.c71 #include <kern/kalloc.h>
84 * We borrow the kalloc map, rather than creating
141 kalloc(sizeof(struct ipc_table_size) *
155 kalloc(sizeof(struct ipc_table_size) *
182 return kalloc(size);
/darwin-on-arm/xnu/osfmk/kern/
H A Dkalloc.h67 extern void *kalloc(vm_size_t size);
H A Dsyscall_emulation.c67 #include <kern/kalloc.h>
H A DMakefile24 kalloc.h \
H A Dhibernate.c29 #include <kern/kalloc.h>
H A Dkalloc.c59 * File: kern/kalloc.c
74 #include <kern/kalloc.h>
177 "kalloc.16", \
178 "kalloc.32", \
179 /* 6 */ "kalloc.64", \
180 "kalloc.128", \
181 "kalloc.256", \
182 /* 9 */ "kalloc.512", \
183 "kalloc.1024", \
184 "kalloc
556 kalloc( function
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dinit.c29 #include <kern/kalloc.h>
59 entry = kalloc(sizeof(*entry));
H A Dnet_str_id.c31 #include <kern/kalloc.h>
124 entry = kalloc(NET_ID_STR_ENTRY_SIZE(string));
/darwin-on-arm/xnu/iokit/IOKit/
H A Dsystem.h62 #include <kern/kalloc.h>
/darwin-on-arm/xnu/pexpert/pexpert/
H A Dprotos.h76 #include <kern/kalloc.h>
/darwin-on-arm/xnu/libkern/c++/
H A DOSCollectionIterator.cpp97 collIterator = (void *)kalloc(collection->iteratorSize());
113 collIterator = (void *)kalloc(collection->iteratorSize());
H A DOSSymbol.cpp131 void *mem = (void *)kalloc(size);
151 buckets = (Bucket *) kalloc(nBuckets * sizeof(Bucket));
251 buckets = (Bucket *) kalloc(nBuckets * sizeof(Bucket));
318 list = (OSSymbol **) kalloc(2 * sizeof(OSSymbol *));
340 list = (OSSymbol **) kalloc(thisBucket->count * sizeof(OSSymbol *));
417 kalloc((thisBucket->count-1) * sizeof(OSSymbol *));
555 probeSymbol->string = (char *) kalloc(probeSymbol->length);
H A DOSData.cpp78 data = (void *) kalloc(inCapacity);
234 newData = (unsigned char *) kalloc(newCapacity);
449 reserved = (typeof(reserved)) kalloc(sizeof(ExpansionData));
460 reserved = (typeof(reserved)) kalloc(sizeof(ExpansionData));
/darwin-on-arm/xnu/osfmk/kperf/
H A Dkperf.c31 #include <kern/kalloc.h>
80 intr_samplev = kalloc( ncpus * sizeof(*intr_samplev));
H A Daction.c37 #include <kern/kalloc.h>
214 struct kperf_sample *sbuf = kalloc( sizeof(*sbuf) );
343 new_actionv = kalloc( count * sizeof(*new_actionv) );
/darwin-on-arm/xnu/security/
H A Dmac_alloc.c32 #include <kern/kalloc.h>
58 return kalloc(size);
H A Dmac_iokit.c63 #include <kern/kalloc.h>
/darwin-on-arm/xnu/osfmk/vm/
H A Dvm_external.c69 #include <kern/kalloc.h>
90 * than or equal to a single page, and the kalloc subsystem must
91 * never allocate more than a single page in response to a kalloc()
97 * For efficiency, this subsystem knows that the kalloc() subsystem
132 result = (vm_external_map_t)kalloc(SMALL_SIZE);
140 result = (vm_external_map_t)kalloc((vm_size_t)bytes);
H A Dvm_init.c69 #include <kern/kalloc.h>
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_mac.c58 #include <kern/kalloc.h>
106 kalloc(sizeof(*ar->k_ar.ar_mac_records));
221 record = kalloc(sizeof(*record));
241 kalloc(MAC_MAX_LABEL_BUF_LEN + MAC_ARG_PREFIX_LEN);
244 * XXX This should be a rare event. If kalloc() returns NULL,
/darwin-on-arm/xnu/osfmk/chud/
H A Dchud_osfmk_callback.c37 #include <kern/kalloc.h>
H A Dchud_thread.c36 #include <kern/kalloc.h>
225 addr = kalloc(size);
283 newaddr = kalloc(size_needed);
368 addr = kalloc(size);
407 newaddr = kalloc(size_needed);
/darwin-on-arm/xnu/pexpert/gen/
H A Ddevice_tree.c39 #include <kern/kalloc.h>
291 iter = (RealDTEntryIterator) kalloc(sizeof(struct OpaqueDTEntryIterator));
330 newScope = (DTSavedScopePtr) kalloc(sizeof(struct DTSavedScope));
436 iter = (RealDTPropertyIterator) kalloc(sizeof(struct OpaqueDTPropertyIterator));
/darwin-on-arm/xnu/osfmk/i386/
H A Duser_ldt.c65 #include <kern/kalloc.h>
180 new_ldt = (user_ldt_t)kalloc(sizeof(struct user_ldt) + (ldt_count * sizeof(struct real_descriptor)));
348 user_ldt_t new_ldt = (user_ldt_t)kalloc(size);

Completed in 87 milliseconds

1234567