Home
last modified time | relevance | path

Searched refs:new_ent (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test_subr.c42 struct mtest_alloc_ent *new_ent; in mtest_allocate_buf() local
44 new_ent = in mtest_allocate_buf()
46 if (new_ent == NULL) in mtest_allocate_buf()
49 new_ent->buf = malloc(size); in mtest_allocate_buf()
50 if (new_ent->buf == NULL) { in mtest_allocate_buf()
51 free((void *)new_ent); in mtest_allocate_buf()
55 new_ent->next = handle->alloc_list; in mtest_allocate_buf()
56 handle->alloc_list = new_ent; in mtest_allocate_buf()
58 return (new_ent->buf); in mtest_allocate_buf()
/titanic_41/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c270 void *new_ent; in sbp2_cfgrom_dir_grow() local
275 new_ent = kmem_zalloc(new_size, KM_SLEEP); in sbp2_cfgrom_dir_grow()
278 bcopy(dir->cd_ent, new_ent, old_size); in sbp2_cfgrom_dir_grow()
281 dir->cd_ent = new_ent; in sbp2_cfgrom_dir_grow()
/titanic_41/usr/src/cmd/sgs/link_audit/common/
H A Dbindings.c200 unsigned int new_ent; in get_new_entry() local
204 new_ent = bhp->bh_end; in get_new_entry()
207 return (new_ent); in get_new_entry()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvsw_switching.c1644 mfdb_ent_t *new_ent = NULL; in vsw_add_mcst() local
1715 new_ent = kmem_alloc(sizeof (mfdb_ent_t), KM_SLEEP); in vsw_add_mcst()
1716 new_ent->d_addr = (void *)tgt; in vsw_add_mcst()
1717 new_ent->d_type = devtype; in vsw_add_mcst()
1718 new_ent->nextp = NULL; in vsw_add_mcst()
1724 tmp_ent->nextp = new_ent; in vsw_add_mcst()