Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 22 of 22) sorted by relevance

/xnu-11215/osfmk/vm/
H A Dvm_kern.h417 #pragma mark - kern allocation names
455 kern_allocation_name_t allocation);
466 kern_allocation_name_t allocation);
H A Dvm_resident.c9615 vm_allocation_site_t *allocation; in vm_tag_get_size() local
9620 return allocation ? os_atomic_load(&allocation->total, relaxed) : 0; in vm_tag_get_size()
9631 "tag %d, site %p", allocation->tag, allocation); in kern_allocation_update_size()
9635 if (value > allocation->peak) { in kern_allocation_update_size()
9641 vm_tag_alloc(allocation); in kern_allocation_update_size()
9792 return KA_NAME(allocation); in kern_allocation_get_name()
9804 allocation->refcount = 1; in kern_allocation_name_allocate()
9809 vm_tag_alloc(allocation); in kern_allocation_name_allocate()
9810 return allocation; in kern_allocation_name_allocate()
9818 kfree_data(allocation, in kern_allocation_name_release()
[all …]
H A Dvm_kern_xnu.h1323 #pragma mark accounting: kern allocation name
1348 kern_allocation_name_t allocation,
1373 kern_allocation_name_t allocation,
H A Dvm_kern.c758 #pragma mark allocation
/xnu-11215/libsyscall/mach/
H A Derr_libkern.sub49 "(libkern/metaclass) allocation failure, internal data", /* 4 */
50 "(libkern/metaclass) allocation failure, class tracking dictionaries", /* 5 */
51 "(libkern/metaclass) allocation failure, no kext/class set", /* 6 */
64 "(libkern/kext) allocation failure", /* 0x2 */
/xnu-11215/doc/allocators/
H A Dapi-basics.md41 similar fashion to `kalloc`. These functions will never fail (if the allocation
64 - `Z_NOFAIL` if the caller knows the allocation can't fail: allocations that are
86 - the allocation must be per-cpu,
131 or some buffer in that type, the solution is to outline this allocation.
142 An array is simply an allocation of several fixed-size types,
151 If those rules can't be followed, then the allocation must be split with
158 contain kernel pointers. If your untyped allocation contains kernel pointers
159 consider splitting the allocation into two: one part that is typed and contains
383 ### Wrapping C++ type allocation in container OSObjects
385 The blessed way of wrapping and passing a C++ type allocation for use in the
/xnu-11215/san/coverage/
H A Dkcov-blacklist-arm647 # a fakestack allocation.
/xnu-11215/doc/mach_ipc/
H A Dkmsg.md120 ### `IKM_TYPE_ALL_INLINED`: no external allocation
122 For this kmsg type, there is no external allocation, and the `ikm_big_data`
163 ### `IKM_TYPE_UDATA_OOL`: external allocation for pure data
225 linear allocation. This is a legacy representation that is now only used for
230 user controlled data in the same allocation.
/xnu-11215/san/memory/
H A Dkasan-blacklist-arm6413 # a fakestack allocation.
/xnu-11215/bsd/net/classq/
H A Dclassq_sfb.h73 u_int32_t allocation; member
/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation.h3469 set_already_deallocated(allocation_t *allocation) in set_already_deallocated() argument
3471 allocation->addr = 0; in set_already_deallocated()
3472 allocation->size = 0; in set_already_deallocated()
3476 cleanup_allocation(allocation_t *allocation) in cleanup_allocation() argument
3479 if (allocation->size) { in cleanup_allocation()
3480 (void)mach_vm_deallocate(allocation->map, allocation->addr, allocation->size); in cleanup_allocation()
3482 if (allocation->guard_size) { in cleanup_allocation()
3483 (void)mach_vm_deallocate(allocation->map, allocation->guard_prefix, allocation->guard_size); in cleanup_allocation()
3484 (void)mach_vm_deallocate(allocation->map, allocation->guard_suffix, allocation->guard_size); in cleanup_allocation()
/xnu-11215/osfmk/mach/
H A Dmach_host.defs63 * Mach host operations support. Includes processor allocation and
256 * Returns information about the memory allocation zones.
H A Dvm_map.defs124 * allocation actually took place is returned.
346 * Require that all future virtual memory allocation
H A Dmach_vm.defs108 * allocation actually took place is returned.
H A Dmach_port.defs399 * Generic interface to allocation various kinds of ports.
/xnu-11215/iokit/Kernel/
H A DIOBufferMemoryDescriptor.cpp748 vm_offset_t allocation = (vm_offset_t)buffer - page_size; in free() local
749 kmem_free(kernel_map, allocation, size + page_size * 2); in free()
/xnu-11215/bsd/kern/
H A Duipc_mbuf.c9065 struct mallocation *allocation; local
9083 allocation->hitcount++;
9090 if (allocation->element != NULL &&
9125 if (allocation->element != NULL) {
9132 } else if (allocation->trace_index != 0) {
9135 allocation->element = addr;
9136 allocation->trace_index = trace_index;
9137 allocation->count = num;
9152 if (allocation->element == addr &&
9155 if (allocation->element == addr &&
[all …]
H A Dkern_event.c2855 #pragma mark - kqueues allocation and deallocation
2944 #pragma mark kqfile allocation and deallocation
3096 #pragma mark kqworkq allocation and deallocation
3175 #pragma mark kqworkloop allocation and deallocation
/xnu-11215/bsd/net/
H A Dkpi_interface.c2197 ifaddr_t *allocation = kalloc_type(ifaddr_t, allocation_size, how | Z_ZERO); in ifnet_get_address_list_family_internal() local
2198 if (allocation == NULL) { in ifnet_get_address_list_family_internal()
2202 *addresses = allocation; in ifnet_get_address_list_family_internal()
/xnu-11215/doc/arm/
H A Dsme.md197 inside `machine_restore_sme_context()`, then performing the allocation during
/xnu-11215/config/
H A DMASTER195 # CONFIG_NC_HASH - name cache hash table allocation
/xnu-11215/doc/vm/
H A Dsanitize.md298 each time passing it the address and size of a valid allocation and a