Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/vfs/
H A Dvfs_cache.c3077 struct smrq_list_head *new_table; in resize_namecache() local
3100 new_table = hashinit(nelements, M_CACHE, &nchashmask); in resize_namecache()
3103 if (new_table == NULL) { in resize_namecache()
3112 hashdestroy(new_table, M_CACHE, new_size - 1); in resize_namecache()
3118 nchashtbl = new_table; in resize_namecache()
3328 struct stringhead *new_table; in resize_string_ref_table() local
3349 new_table = hashinit((int)(string_table_mask + 1) * 2, M_CACHE, &new_mask); in resize_string_ref_table()
3351 if (new_table == NULL) { in resize_string_ref_table()
3359 string_ref_table = new_table; in resize_string_ref_table()
/xnu-10063.141.1/bsd/skywalk/nexus/netif/
H A Dnx_netif_flow.c737 boolean_t refcnt_incr = FALSE, new_table = FALSE; in nx_netif_flow_add() local
762 new_table = TRUE; in nx_netif_flow_add()
788 if (new_table) { in nx_netif_flow_add()
/xnu-10063.141.1/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-10063.141.1/bsd/kern/
H A Dkern_control.c1470 struct kctl **new_table; in kctl_tbl_grow() local
1504 new_table = kalloc_type(struct kctl *, new_size, Z_WAITOK | Z_ZERO); in kctl_tbl_grow()
1507 if (new_table != NULL) { in kctl_tbl_grow()
1509 bcopy(kctl_table, new_table, in kctl_tbl_grow()
1514 kctl_table = new_table; in kctl_tbl_grow()
/xnu-10063.141.1/bsd/skywalk/mem/
H A Dskmem_region.c1903 struct sksegment_bkt *old_table, *new_table; in skmem_region_hash_rescale() local
1931 new_table = sk_alloc_type_array(struct sksegment_bkt, new_size, in skmem_region_hash_rescale()
1933 if (__improbable(new_table == NULL)) { in skmem_region_hash_rescale()
1938 TAILQ_INIT(&new_table[i].sgb_head); in skmem_region_hash_rescale()
1947 skr->skr_hash_table = new_table; in skmem_region_hash_rescale()
H A Dskmem_cache.c2730 struct skmem_bufctl_bkt *old_table, *new_table; in skmem_cache_hash_rescale() local
2751 new_table = sk_alloc_type_array(struct skmem_bufctl_bkt, new_size, in skmem_cache_hash_rescale()
2753 if (__improbable(new_table == NULL)) { in skmem_cache_hash_rescale()
2758 SLIST_INIT(&new_table[i].bcb_head); in skmem_cache_hash_rescale()
2767 skm->skm_hash_table = new_table; in skmem_cache_hash_rescale()
/xnu-10063.141.1/osfmk/arm64/sptm/pmap/
H A Dpmap.c1772 pmap_paddr_t new_table = 0; in pmap_create_commpage_table() local
1773 kr = pmap_page_alloc(&new_table, 0); in pmap_create_commpage_table()
1774 assert((kr == KERN_SUCCESS) && (new_table != 0)); in pmap_create_commpage_table()
1776 commpage_table_pa = new_table; in pmap_create_commpage_table()
1781 sptm_retype(new_table, XNU_DEFAULT, XNU_PAGE_TABLE_COMMPAGE, retype_params); in pmap_create_commpage_table()
1783 …const sptm_tte_t table_tte = (new_table & ARM_TTE_TABLE_MASK) | ARM_TTE_TYPE_TABLE | ARM_TTE_VALID; in pmap_create_commpage_table()