/titanic_50/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem_mdesc.c | 139 seg = topo_mod_zalloc(mod, sizeof (mem_seg_map_t)); in mdesc_init_n1() 145 mg = topo_mod_zalloc(mod, sizeof (mem_grp_t)); in mdesc_init_n1() 156 bm = topo_mod_zalloc(mod, sizeof (mem_bank_map_t)); in mdesc_init_n1() 168 dlp = topo_mod_zalloc(mod, in mdesc_init_n1() 239 mg = topo_mod_zalloc(mod, sizeof (mem_grp_t)); in create_grp() 346 banklist = topo_mod_zalloc(mod, mdesc_bank_count * in mdesc_init_n2() 348 bclist = topo_mod_zalloc(mod, mdesc_bank_count * in mdesc_init_n2() 351 dl = topo_mod_zalloc(mod, mdesc_dimm_count * sizeof (mde_cookie_t)); in mdesc_init_n2() 359 bmp = topo_mod_zalloc(mod, sizeof (mem_bank_map_t)); in mdesc_init_n2() 380 dlp = topo_mod_zalloc(mod, sizeof (mem_dimm_list_t)); in mdesc_init_n2() [all …]
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu_mdesc.c | 94 listp = topo_mod_zalloc(mod, sizeof (mde_cookie_t) * num_nodes); in cpu_n1_mdesc_init() 103 chip->cpus = topo_mod_zalloc(mod, chip->ncpus * sizeof (md_cpumap_t)); in cpu_n1_mdesc_init() 105 chip->procs = topo_mod_zalloc(mod, chip->nprocs * sizeof (md_proc_t)); in cpu_n1_mdesc_init() 172 list1p = topo_mod_zalloc(mod, sizeof (mde_cookie_t) * nnode); in cpu_n2_mdesc_init() 207 list2p = topo_mod_zalloc(mod, sizeof (mde_cookie_t) * 2 * ncpu); in cpu_n2_mdesc_init() 209 chip->procs = topo_mod_zalloc(mod, nproc * sizeof (md_proc_t)); in cpu_n2_mdesc_init() 211 chip->cpus = topo_mod_zalloc(mod, ncpu * sizeof (md_cpumap_t)); in cpu_n2_mdesc_init() 312 frup = topo_mod_zalloc(mod, sizeof (md_fru_t)); in cpu_n2_mdesc_init()
|
/titanic_50/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_parse.c | 39 if ((r = topo_mod_zalloc(mp, sizeof (tf_info_t))) == NULL) in tf_info_new() 69 if ((r = topo_mod_zalloc(mp, sizeof (tf_rdata_t))) == NULL) { in tf_rdata_new() 128 if ((r = topo_mod_zalloc(mp, sizeof (tf_idata_t))) == NULL) in tf_idata_new() 181 if ((r = topo_mod_zalloc(mp, sizeof (tf_pad_t))) == NULL) in tf_pad_new()
|
H A D | topo_tree.c | 87 if ((tp = topo_mod_zalloc(mod, sizeof (ttree_t))) == NULL) in topo_tree_create() 98 if ((tp->tt_walk = topo_mod_zalloc(mod, sizeof (topo_walk_t))) == NULL) in topo_tree_create() 104 if ((rp = topo_mod_zalloc(mod, sizeof (tnode_t))) == NULL) in topo_tree_create()
|
H A D | topo_node.c | 318 if ((nhp = topo_mod_zalloc(mod, sizeof (topo_nodehash_t))) == NULL) in topo_node_range_create() 326 if ((nhp->th_nodearr = topo_mod_zalloc(mod, in topo_node_range_create() 477 if ((node = topo_mod_zalloc(mod, sizeof (tnode_t))) == NULL) in topo_node_bind() 576 if ((node = topo_mod_zalloc(mod, sizeof (tnode_t))) == NULL) { in topo_node_facbind() 729 if ((fac_ele = topo_mod_zalloc(tmp->tn_enum, in topo_node_facility()
|
H A D | topo_alloc.c | 88 topo_mod_zalloc(topo_mod_t *mod, size_t size) in topo_mod_zalloc() function
|
H A D | topo_file.c | 71 if ((tfp = topo_mod_zalloc(mod, sizeof (topo_file_t))) == NULL) in topo_file_load()
|
H A D | svc.c | 191 if ((fixed = topo_mod_zalloc(mod, len + 1)) == NULL) { in svc_create_node() 277 if ((sfmri = topo_mod_zalloc(mod, slen + 1)) == NULL) { in svc_enum() 294 if ((ifmri = topo_mod_zalloc(mod, ilen + 1)) in svc_enum()
|
H A D | topo_mod.h | 214 extern void *topo_mod_zalloc(topo_mod_t *, size_t);
|
H A D | cpu.c | 89 if ((cpuip = topo_mod_zalloc(mod, sizeof (cpu_node_t))) == NULL) in cpu_init() 100 if ((cpuip->cn_cpustats = topo_mod_zalloc(mod, ( in cpu_init()
|
H A D | mapfile-vers | 124 topo_mod_zalloc;
|
H A D | topo_mod.map | 37 topo_mod_zalloc { TYPE = FUNCTION; FLAGS = extern };
|
H A D | mem.c | 250 buf = topo_mod_zalloc(mod, len); in mem_nvl2str()
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/hostbridge/ |
H A D | hb_mdesc.c | 92 listp = topo_mod_zalloc(mod, sizeof (mde_cookie_t) * nnode); in hb_rc_init() 126 hbp = topo_mod_zalloc(mod, sizeof (md_hb_t) * hbmdp->nhbs); in hb_rc_init() 131 hbp->rcs = topo_mod_zalloc(mod, sizeof (md_rc_t) * nrcs); in hb_rc_init()
|
H A D | hb_sun4v.c | 319 hbnode = topo_mod_zalloc(mod, hbmd.shbs * sizeof (tnode_t *)); in platform_hb_enum() 320 rcnode = topo_mod_zalloc(mod, nrcs * sizeof (tnode_t *)); in platform_hb_enum()
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4/hostbridge/ |
H A D | hb_sun4.c | 49 if ((pp = topo_mod_zalloc(mod, sizeof (busorrc_t))) == NULL) in busorrc_new() 215 if ((hb = topo_mod_zalloc(mod, nhb * sizeof (tnode_t *))) == NULL) in declare_exbuses() 221 if ((rcs = topo_mod_zalloc(mod, nrc * sizeof (tnode_t *))) == NULL) { in declare_exbuses() 307 if ((hb = topo_mod_zalloc(mod, nhb * sizeof (tnode_t *))) == NULL) in declare_buses()
|
/titanic_50/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_common.c | 646 if ((dnode = topo_mod_zalloc(mod, sizeof (dev_di_node_t))) == NULL) in dev_di_node_add() 693 topo_mod_zalloc(mod, sizeof (char *))) == NULL) in dev_di_node_add() 701 if ((dnode->ddn_target_port = topo_mod_zalloc(mod, in dev_di_node_add() 705 if ((dnode->ddn_attached_port = topo_mod_zalloc(mod, in dev_di_node_add() 709 if ((dnode->ddn_bridge_port = topo_mod_zalloc(mod, in dev_di_node_add() 745 if ((dnode->ddn_ppath = topo_mod_zalloc(mod, in dev_di_node_add() 751 if ((dnode->ddn_target_port = topo_mod_zalloc(mod, in dev_di_node_add() 755 if ((dnode->ddn_attached_port = topo_mod_zalloc(mod, in dev_di_node_add() 759 if ((dnode->ddn_bridge_port = topo_mod_zalloc(mod, in dev_di_node_add()
|
H A D | disk.c | 161 if ((dlistp = topo_mod_zalloc(mod, sizeof (topo_list_t))) == NULL) { in _topo_init()
|
/titanic_50/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_hash.c | 91 did_hash_t *r = topo_mod_zalloc(hdl, sizeof (did_hash_t)); in did_hash_create() 99 r->dph_hash = topo_mod_zalloc(hdl, in did_hash_create()
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4u/chip/ |
H A D | chip_sun4u.c | 84 if ((chip = topo_mod_zalloc(mod, sizeof (chip_t))) == NULL) in _topo_init() 95 if ((chip->chip_cpustats = topo_mod_zalloc(mod, ( in _topo_init()
|
/titanic_50/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 340 sof = topo_mod_zalloc(mod, sizeof (*sof)); in ses_sof_alloc() 383 ssl = topo_mod_zalloc(mod, sizeof (*ssl)); in ses_ssl_alloc() 639 smod = topo_mod_zalloc(mod, sizeof (*smod)); in ses_thread_init() 1277 tports = topo_mod_zalloc(mod, sizeof (char *) * nsas); in ses_create_disk() 1338 if ((paths = topo_mod_zalloc(mod, all_phys * sizeof (char *))) == NULL) in ses_add_bay_props() 2481 if ((child = topo_mod_zalloc(mod, in ses_construct_phys_tree() 2945 if ((sproot = topo_mod_zalloc(mod, in ses_create_chassis() 3247 if ((cp = topo_mod_zalloc(mod, in ses_enum_gather() 3272 if ((scp = topo_mod_zalloc(mod, in ses_enum_gather() 3333 if ((scp = topo_mod_zalloc(mod, in ses_enum_gather() [all …]
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_defer.c | 90 dnp = topo_mod_zalloc(mod, sizeof (pi_defernode_t)); in pi_defer_add()
|
H A D | sun4vpi.c | 257 arcp = topo_mod_zalloc(mod, arcsize); in pi_enum_components()
|
H A D | pi_walker.c | 514 arcp = topo_mod_zalloc(mod, arcsize); in pi_walker_node_range() 755 wnp = topo_mod_zalloc(mod, sizeof (pi_walkernode_t)); in pi_walkerlist_add()
|
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/chip/ |
H A D | chip_sun4v.c | 83 if ((chip = topo_mod_zalloc(mod, sizeof (md_info_t))) == NULL) in _topo_init()
|