Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/vfs/
H A Dvfs_cache.c3040 struct smrq_list_head *new_table; in resize_namecache() local
3063 new_table = hashinit(nelements, M_CACHE, &nchashmask); in resize_namecache()
3066 if (new_table == NULL) { in resize_namecache()
3073 nchashtbl = new_table; in resize_namecache()
3281 struct stringhead *new_table; in resize_string_ref_table() local
3302 new_table = hashinit((int)(string_table_mask + 1) * 2, M_CACHE, &new_mask); in resize_string_ref_table()
3304 if (new_table == NULL) { in resize_string_ref_table()
3312 string_ref_table = new_table; in resize_string_ref_table()
/xnu-8796.141.3/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-8796.141.3/osfmk/ipc/
H A Dipc_voucher.c564 ivac_entry_t new_table = NULL, old_table = NULL; in ivac_grow_table() local
586 new_table = kalloc_type(struct ivac_entry_s, new_size, Z_WAITOK | Z_ZERO); in ivac_grow_table()
587 if (!new_table) { in ivac_grow_table()
594 ivace_reset_data(&new_table[i], i + 1); in ivac_grow_table()
600 ivace_copy_data(&ivac->ivac_table[i], &new_table[i]); in ivac_grow_table()
605 ivac->ivac_table = new_table; in ivac_grow_table()
/xnu-8796.141.3/bsd/skywalk/mem/
H A Dskmem_region.c1900 struct sksegment_bkt *old_table, *new_table; in skmem_region_hash_rescale() local
1928 new_table = sk_alloc_type_array(struct sksegment_bkt, new_size, in skmem_region_hash_rescale()
1930 if (__improbable(new_table == NULL)) { in skmem_region_hash_rescale()
1935 TAILQ_INIT(&new_table[i].sgb_head); in skmem_region_hash_rescale()
1944 skr->skr_hash_table = new_table; in skmem_region_hash_rescale()
H A Dskmem_cache.c2612 struct skmem_bufctl_bkt *old_table, *new_table; in skmem_cache_hash_rescale() local
2633 new_table = sk_alloc_type_array(struct skmem_bufctl_bkt, new_size, in skmem_cache_hash_rescale()
2635 if (__improbable(new_table == NULL)) { in skmem_cache_hash_rescale()
2640 SLIST_INIT(&new_table[i].bcb_head); in skmem_cache_hash_rescale()
2649 skm->skm_hash_table = new_table; in skmem_cache_hash_rescale()
/xnu-8796.141.3/bsd/kern/
H A Dkern_control.c1477 struct kctl **new_table; in kctl_tbl_grow() local
1511 new_table = kalloc_type(struct kctl *, new_size, Z_WAITOK | Z_ZERO); in kctl_tbl_grow()
1514 if (new_table != NULL) { in kctl_tbl_grow()
1516 bcopy(kctl_table, new_table, in kctl_tbl_grow()
1521 kctl_table = new_table; in kctl_tbl_grow()