Home
last modified time | relevance | path

Searched refs:new_table (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.61.12/bsd/vfs/
H A Dvfs_cache.c3134 struct smrq_list_head *new_table; in resize_namecache() local
3157 new_table = hashinit(nelements, M_CACHE, &nchashmask); in resize_namecache()
3160 if (new_table == NULL) { in resize_namecache()
3169 hashdestroy(new_table, M_CACHE, new_size - 1); in resize_namecache()
3175 nchashtbl = new_table; in resize_namecache()
3385 struct stringhead *new_table; in resize_string_ref_table() local
3406 new_table = hashinit((int)(string_table_mask + 1) * 2, M_CACHE, &new_mask); in resize_string_ref_table()
3408 if (new_table == NULL) { in resize_string_ref_table()
3416 string_ref_table = new_table; in resize_string_ref_table()
/xnu-12377.61.12/osfmk/ipc/
H A Dipc_voucher.c563 ivac_entry_t new_table = NULL, old_table = NULL; in ivac_grow_table() local
585 new_table = kalloc_type(struct ivac_entry_s, new_size, Z_WAITOK | Z_ZERO); in ivac_grow_table()
586 if (!new_table) { in ivac_grow_table()
593 ivace_reset_data(&new_table[i], i + 1); in ivac_grow_table()
599 ivace_copy_data(&ivac->ivac_table[i], &new_table[i]); in ivac_grow_table()
604 ivac->ivac_table = new_table; in ivac_grow_table()
/xnu-12377.61.12/bsd/skywalk/nexus/netif/
H A Dnx_netif_flow.c745 boolean_t refcnt_incr = FALSE, new_table = FALSE; in nx_netif_flow_add() local
770 new_table = TRUE; in nx_netif_flow_add()
796 if (new_table) { in nx_netif_flow_add()
/xnu-12377.61.12/bsd/skywalk/mem/
H A Dskmem_cache.c2021 struct skmem_bufctl_bkt *__indexable old_table, *new_table; in skmem_cache_hash_rescale() local
2042 new_table = sk_alloc_type_array(struct skmem_bufctl_bkt, new_size, in skmem_cache_hash_rescale()
2044 if (__improbable(new_table == NULL)) { in skmem_cache_hash_rescale()
2049 SLIST_INIT(&new_table[i].bcb_head); in skmem_cache_hash_rescale()
2058 skm->skm_hash_table = new_table; in skmem_cache_hash_rescale()
H A Dskmem_region.c1989 struct sksegment_bkt *__indexable old_table, *new_table; in skmem_region_hash_rescale() local
2017 new_table = sk_alloc_type_array(struct sksegment_bkt, new_size, in skmem_region_hash_rescale()
2019 if (__improbable(new_table == NULL)) { in skmem_region_hash_rescale()
2024 TAILQ_INIT(&new_table[i].sgb_head); in skmem_region_hash_rescale()
2033 skr->skr_hash_table = new_table; in skmem_region_hash_rescale()
/xnu-12377.61.12/bsd/kern/
H A Dkern_control.c1501 struct kctl *__single *new_table; in kctl_tbl_grow() local
1535 new_table = kalloc_type(struct kctl *, new_size, Z_WAITOK | Z_ZERO); in kctl_tbl_grow()
1538 if (new_table != NULL) { in kctl_tbl_grow()
1540 bcopy(kctl_table, new_table, kctl_tbl_size * sizeof(struct kctl *)); in kctl_tbl_grow()
1544 kctl_table = new_table; in kctl_tbl_grow()
/xnu-12377.61.12/osfmk/arm64/sptm/pmap/
H A Dpmap.c1909 pmap_paddr_t new_table = 0; in pmap_create_commpage_table() local
1910 kr = pmap_page_alloc(&new_table, 0); in pmap_create_commpage_table()
1911 assert((kr == KERN_SUCCESS) && (new_table != 0)); in pmap_create_commpage_table()
1913 commpage_table_pa = new_table; in pmap_create_commpage_table()
1919 const unsigned int pai = pa_index(new_table); in pmap_create_commpage_table()
1927 sptm_retype(new_table, XNU_DEFAULT, XNU_PAGE_TABLE_COMMPAGE, retype_params); in pmap_create_commpage_table()
1929 …const sptm_tte_t table_tte = (new_table & ARM_TTE_TABLE_MASK) | ARM_TTE_TYPE_TABLE | ARM_TTE_VALID; in pmap_create_commpage_table()