| /xnu-11417.140.69/osfmk/kern/ |
| H A D | compact_id.c | 125 table->cidt_bitmap[idx] = zalloc_permanent(BITMAP_SIZE(size), ZALIGN(bitmap_t)); in compact_id_table_grow() 126 table->cidt_array[idx] = zalloc_permanent(size * sizeof(thread_t), ZALIGN_PTR); in compact_id_table_grow()
|
| H A D | zalloc.h | 1174 #define zalloc_permanent(size, align) \ macro 1192 zalloc_permanent(sizeof(type_t), ZALIGN(type_t)))
|
| H A D | kalloc.c | 405 z_name = zalloc_permanent(len + 1, ZALIGN_NONE); in kalloc_zone_init() 1527 z_name = zalloc_permanent(MAX_ZONE_NAME, ZALIGN_NONE); in kalloc_type_create_zone_for_size() 1543 z_name = zalloc_permanent(MAX_ZONE_NAME, ZALIGN_NONE); in kalloc_type_create_zone_for_size()
|
| H A D | turnstile.c | 325 turnstile_htable_irq_safe = zalloc_permanent(ts_htable_size, ZALIGN_PTR); in turnstiles_hashtable_init() 330 turnstile_htable = zalloc_permanent(ts_htable_size, ZALIGN_PTR); in turnstiles_hashtable_init()
|
| /xnu-11417.140.69/bsd/net/ |
| H A D | net_str_id.c | 105 entry = zalloc_permanent(sizeof(*entry) + string_length, in net_str_id_find_internal()
|
| H A D | dlil_subr.c | 392 dl_if_lladdr_ext = zalloc_permanent( in dlil_alloc_lladdr()
|
| H A D | radix.c | 1311 rn_zeros = zalloc_permanent(3 * max_keylen, ZALIGN_NONE); in rn_init()
|
| /xnu-11417.140.69/osfmk/arm64/ |
| H A D | alternate_debugger.c | 143 alt_pages = (vm_offset_t)zalloc_permanent(alt_pages_size, ZALIGN_PTR); in alternate_debugger_init()
|
| /xnu-11417.140.69/bsd/dev/ |
| H A D | mem.c | 261 devzerobuf = zalloc_permanent(PAGE_SIZE, ZALIGN_NONE); /* zeroed */ in devzerobuf_init()
|
| /xnu-11417.140.69/san/memory/ |
| H A D | kasan_dynamic_denylist.c | 477 char *s = zalloc_permanent(sz, ZALIGN_NONE); in add_denylist_entry() 486 char *s = zalloc_permanent(sz, ZALIGN_NONE); in add_denylist_entry()
|
| /xnu-11417.140.69/bsd/dev/arm64/ |
| H A D | sysctl.c | 246 brand_string = zalloc_permanent(size, ZALIGN_NONE); in sysctl_load_brand_string()
|
| /xnu-11417.140.69/bsd/vfs/ |
| H A D | vfs_init.c | 175 *opv_desc_vector_p = zalloc_permanent(vfs_opv_numops * sizeof(PFIvp), in vfs_opv_init()
|
| /xnu-11417.140.69/osfmk/prng/ |
| H A D | entropy.c | 175 entropy_analysis_buffer = zalloc_permanent(entropy_analysis_buffer_size, ZALIGN(entropy_sample_t)); in entropy_analysis_init()
|
| /xnu-11417.140.69/iokit/Kernel/arm/ |
| H A D | AppleARMSMP.cpp | 177 machProcessors = static_cast<processor_t *>(zalloc_permanent(array_size, ZALIGN_PTR)); in cpu_boot_thread()
|
| /xnu-11417.140.69/iokit/Kernel/ |
| H A D | IOCPU.cpp | 616 vectors = (IOInterruptVector *)zalloc_permanent(numSources * in initCPUInterruptController()
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | uipc_mbuf.c | 1951 omb_stat = zalloc_permanent(sizeof(*omb_stat), in mbuf_table_init() 1955 mb_stat = zalloc_permanent(sizeof(*mb_stat), in mbuf_table_init() 2335 slabstbl = zalloc_permanent(maxslabgrp * sizeof(mcl_slabg_t *), in mbinit() 2351 mclaudit = zalloc_permanent(maxclaudit * sizeof(*mclaudit), in mbinit() 2354 mclad[l].cl_audit = zalloc_permanent(NMBPG * sizeof(mcache_audit_t *), in mbinit() 2381 mcl_paddr = zalloc_permanent(mcl_pages * sizeof(ppnum_t), in mbinit() 2520 mbuf_dump_buf = zalloc_permanent(MBUF_DUMP_BUF_SIZE, ZALIGN_NONE); in mbinit() 8441 slg->slg_slab = zalloc_permanent(sizeof(mcl_slab_t) * NSLABSPMB, 8954 mleak_allocations = zalloc_permanent(alloc_size, ZALIGN(struct mallocation)); 8955 mleak_traces = zalloc_permanent(trace_size, ZALIGN(struct mtrace)); [all …]
|
| H A D | bsd_init.c | 563 execargs_cache = zalloc_permanent(bsd_simul_execs * sizeof(vm_offset_t), in bsd_init()
|
| H A D | sys_ulock.c | 266 ull_bucket = zalloc_permanent(sizeof(ull_bucket_t) * ull_hash_buckets, in ulock_initialize()
|
| H A D | sysv_shm.c | 1064 shmsegs = zalloc_permanent(sz, ZALIGN_PTR); in shminit()
|
| H A D | sysv_sem.c | 297 newSema = zalloc_permanent(sizeof(struct semid_kernel) * SEMMNI_INC, in grow_sema_array()
|
| H A D | kern_memorystatus.c | 2159 zalloc_permanent(memorystatus_jetsam_snapshot_freezer_size, ZALIGN_PTR); in memorystatus_init() 2207 jetsam_threads = zalloc_permanent(sizeof(struct jetsam_state_s) * in memorystatus_init() 2230 jzs_names = zalloc_permanent(jzs_names_size, ZALIGN(mach_zone_name_t)); in memorystatus_init() 2233 jzs_info = zalloc_permanent(jzs_info_size, ZALIGN(mach_zone_info_t)); in memorystatus_init() 2235 jzs_coalesce = zalloc_permanent(jzs_zone_cnt * sizeof(int), ZALIGN(int)); in memorystatus_init()
|
| H A D | kern_mib.c | 681 osenvironment = zalloc_permanent(size, ZALIGN_NONE); in sysctl_set_osenvironment()
|
| /xnu-11417.140.69/bsd/netinet/ |
| H A D | tcp_cache.c | 1662 tcp_cache = zalloc_permanent(sizeof(struct tcp_cache_head) * cache_size, in tcp_cache_init() 1665 tcp_heuristics = zalloc_permanent(sizeof(struct tcp_heuristics_head) * cache_size, in tcp_cache_init()
|
| /xnu-11417.140.69/bsd/security/audit/ |
| H A D | audit_session.c | 1064 au_sentry_bucket = zalloc_permanent(sizeof(struct au_sentry) * in audit_session_init() 1073 au_history = zalloc_permanent(sizeof(struct au_history) * au_history_size, in audit_session_init()
|
| /xnu-11417.140.69/doc/allocators/ |
| H A D | api-basics.md | 37 The zone subsystem provides a `zalloc_permanent*` family of functions that help
|