Home
last modified time | relevance | path

Searched refs:zalloc_permanent (Results 1 – 25 of 30) sorted by relevance

12

/xnu-8020.121.3/osfmk/arm64/
H A Dalternate_debugger.c143 alt_pages = (vm_offset_t)zalloc_permanent(alt_pages_size, ZALIGN_PTR); in alternate_debugger_init()
/xnu-8020.121.3/bsd/net/
H A Dnet_str_id.c111 entry = zalloc_permanent(NET_ID_STR_ENTRY_SIZE(string), in net_str_id_find_internal()
H A Dradix.c1263 rn_zeros = zalloc_permanent(3 * max_keylen, ZALIGN_NONE); in rn_init()
H A Dif_ports_used.c204 net_port_entry_hash_table = zalloc_permanent( in if_ports_used_init()
/xnu-8020.121.3/bsd/dev/
H A Dmem.c261 devzerobuf = zalloc_permanent(PAGE_SIZE, ZALIGN_NONE); /* zeroed */ in devzerobuf_init()
/xnu-8020.121.3/san/memory/
H A Dkasan_dynamic_blacklist.c477 char *s = zalloc_permanent(sz, ZALIGN_NONE); in add_blacklist_entry()
486 char *s = zalloc_permanent(sz, ZALIGN_NONE); in add_blacklist_entry()
/xnu-8020.121.3/osfmk/kern/
H A Dzalloc.h1005 #define zalloc_permanent(size, align) \ macro
1023 zalloc_permanent(sizeof(type_t), ZALIGN(type_t)))
H A Dturnstile.c330 turnstile_htable_irq_safe = zalloc_permanent(ts_htable_size, ZALIGN_PTR); in turnstiles_hashtable_init()
335 turnstile_htable = zalloc_permanent(ts_htable_size, ZALIGN_PTR); in turnstiles_hashtable_init()
H A Dkalloc.c1327 char *z_name = zalloc_permanent(MAX_ZONE_NAME, ZALIGN_NONE); in kalloc_type_create_zone_for_size()
1467 char *z_name = zalloc_permanent(MAX_ZONE_NAME, ZALIGN_NONE); in kalloc_type_create_zones_var()
/xnu-8020.121.3/bsd/dev/arm64/
H A Dsysctl.c242 brand_string = zalloc_permanent(size, ZALIGN_NONE); in sysctl_load_brand_string()
/xnu-8020.121.3/bsd/vfs/
H A Dvfs_init.c167 *opv_desc_vector_p = zalloc_permanent(vfs_opv_numops * sizeof(PFIvp), in vfs_opv_init()
/xnu-8020.121.3/osfmk/prng/
H A Dentropy.c182 entropy_analysis_buffer = zalloc_permanent(entropy_analysis_buffer_size, ZALIGN(entropy_sample_t)); in entropy_analysis_init()
/xnu-8020.121.3/iokit/Kernel/arm/
H A DAppleARMSMP.cpp171 machProcessors = static_cast<processor_t *>(zalloc_permanent(array_size, ZALIGN_PTR)); in cpu_boot_thread()
/xnu-8020.121.3/bsd/kern/
H A Duipc_mbuf.c1301 omb_stat = zalloc_permanent(OMB_STAT_SIZE(NELEM(mbuf_table)), in mbuf_table_init()
1304 mb_stat = zalloc_permanent(MB_STAT_SIZE(NELEM(mbuf_table)), in mbuf_table_init()
1670 slabstbl = zalloc_permanent(maxslabgrp * sizeof(mcl_slabg_t *), in mbinit()
1686 mclaudit = zalloc_permanent(maxclaudit * sizeof(*mclaudit), in mbinit()
1689 mclad[l].cl_audit = zalloc_permanent(NMBPG * sizeof(mcache_audit_t *), in mbinit()
1716 mcl_paddr = zalloc_permanent(mcl_pages * sizeof(ppnum_t), in mbinit()
1828 mbuf_dump_buf = zalloc_permanent(MBUF_DUMP_BUF_SIZE, ZALIGN_NONE); in mbinit()
7247 slg->slg_slab = zalloc_permanent(sizeof(mcl_slab_t) * NSLABSPMB,
7760 mleak_allocations = zalloc_permanent(alloc_size, ZALIGN(struct mallocation));
7761 mleak_traces = zalloc_permanent(trace_size, ZALIGN(struct mtrace));
[all …]
H A Dbsd_init.c531 execargs_cache = zalloc_permanent(bsd_simul_execs * sizeof(vm_offset_t), in bsd_init()
H A Dsys_ulock.c242 ull_bucket = zalloc_permanent(sizeof(ull_bucket_t) * ull_hash_buckets, in ulock_initialize()
H A Dsysv_shm.c1067 shmsegs = zalloc_permanent(sz, ZALIGN_PTR); in shminit()
H A Dsysv_sem.c297 newSema = zalloc_permanent(sizeof(struct semid_kernel) * SEMMNI_INC, in grow_sema_array()
H A Dkern_mib.c602 osenvironment = zalloc_permanent(size, ZALIGN_NONE); in sysctl_set_osenvironment()
/xnu-8020.121.3/iokit/Kernel/
H A DIOCPU.cpp601 vectors = (IOInterruptVector *)zalloc_permanent(numSources * in initCPUInterruptController()
/xnu-8020.121.3/bsd/netinet/
H A Dtcp_cache.c1612 tcp_cache = zalloc_permanent(sizeof(struct tcp_cache_head) * tcp_cache_size, in tcp_cache_init()
1615 tcp_heuristics = zalloc_permanent(sizeof(struct tcp_heuristics_head) * tcp_cache_size, in tcp_cache_init()
/xnu-8020.121.3/bsd/security/audit/
H A Daudit_session.c1072 au_sentry_bucket = zalloc_permanent(sizeof(struct au_sentry) * in audit_session_init()
1081 au_history = zalloc_permanent(sizeof(struct au_history) * au_history_size, in audit_session_init()
/xnu-8020.121.3/bsd/dev/i386/
H A Dsysctl.c1208 …struct sysctl_oid *hcall_trigger_dump_oid = zalloc_permanent(sizeof(struct sysctl_oid), ZALIGN(str… in hvg_bsd_init()
/xnu-8020.121.3/doc/allocators/
H A Dapi-basics.md35 The zone subsystem provides a `zalloc_permanent*` family of functions that help
/xnu-8020.121.3/bsd/netinet6/
H A Dip6_input.c2465 in6_ifaddrhashtbl = zalloc_permanent( in in6_ifaddrhashtbl_init()

12