Home
last modified time | relevance | path

Searched refs:topo_mod_zalloc (Results 1 – 25 of 35) sorted by relevance

12

/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c139 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_41/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.c94 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_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_parse.c41 if ((r = topo_mod_zalloc(mp, sizeof (tf_info_t))) == NULL) in tf_info_new()
71 if ((r = topo_mod_zalloc(mp, sizeof (tf_rdata_t))) == NULL) { in tf_rdata_new()
130 if ((r = topo_mod_zalloc(mp, sizeof (tf_idata_t))) == NULL) in tf_idata_new()
183 if ((r = topo_mod_zalloc(mp, sizeof (tf_pad_t))) == NULL) in tf_pad_new()
H A Dtopo_tree.c87 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 Dtopo_node.c318 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 Dtopo_alloc.c88 topo_mod_zalloc(topo_mod_t *mod, size_t size) in topo_mod_zalloc() function
H A Dtopo_file.c71 if ((tfp = topo_mod_zalloc(mod, sizeof (topo_file_t))) == NULL) in topo_file_load()
H A Dsvc.c191 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 Dtopo_mod.h214 extern void *topo_mod_zalloc(topo_mod_t *, size_t);
H A Dcpu.c89 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 Dmapfile-vers124 topo_mod_zalloc;
H A Dtopo_mod.map37 topo_mod_zalloc { TYPE = FUNCTION; FLAGS = extern };
H A Dmem.c250 buf = topo_mod_zalloc(mod, len); in mem_nvl2str()
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_mdesc.c92 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 Dhb_sun4v.c319 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_41/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c49 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_41/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c609 if ((dnode = topo_mod_zalloc(mod, sizeof (dev_di_node_t))) == NULL) in dev_di_node_add()
656 topo_mod_zalloc(mod, sizeof (char *))) == NULL) in dev_di_node_add()
664 if ((dnode->ddn_target_port = topo_mod_zalloc(mod, in dev_di_node_add()
668 if ((dnode->ddn_attached_port = topo_mod_zalloc(mod, in dev_di_node_add()
672 if ((dnode->ddn_bridge_port = topo_mod_zalloc(mod, in dev_di_node_add()
708 if ((dnode->ddn_ppath = topo_mod_zalloc(mod, in dev_di_node_add()
714 if ((dnode->ddn_target_port = topo_mod_zalloc(mod, in dev_di_node_add()
718 if ((dnode->ddn_attached_port = topo_mod_zalloc(mod, in dev_di_node_add()
722 if ((dnode->ddn_bridge_port = topo_mod_zalloc(mod, in dev_di_node_add()
H A Ddisk.c161 if ((dlistp = topo_mod_zalloc(mod, sizeof (topo_list_t))) == NULL) { in _topo_init()
/titanic_41/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_hash.c91 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_41/usr/src/lib/fm/topo/modules/sun4u/chip/
H A Dchip_sun4u.c84 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_41/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c322 sof = topo_mod_zalloc(mod, sizeof (*sof)); in ses_sof_alloc()
365 ssl = topo_mod_zalloc(mod, sizeof (*ssl)); in ses_ssl_alloc()
621 smod = topo_mod_zalloc(mod, sizeof (*smod)); in ses_thread_init()
1200 tports = topo_mod_zalloc(mod, sizeof (char *) * nsas); in ses_create_disk()
1261 if ((paths = topo_mod_zalloc(mod, all_phys * sizeof (char *))) == NULL) in ses_add_bay_props()
2404 if ((child = topo_mod_zalloc(mod, in ses_construct_phys_tree()
2868 if ((sproot = topo_mod_zalloc(mod, in ses_create_chassis()
3170 if ((cp = topo_mod_zalloc(mod, in ses_enum_gather()
3195 if ((scp = topo_mod_zalloc(mod, in ses_enum_gather()
3256 if ((scp = topo_mod_zalloc(mod, in ses_enum_gather()
[all …]
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_defer.c90 dnp = topo_mod_zalloc(mod, sizeof (pi_defernode_t)); in pi_defer_add()
H A Dsun4vpi.c257 arcp = topo_mod_zalloc(mod, arcsize); in pi_enum_components()
H A Dpi_walker.c514 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()
H A Dpi_bay.c404 arcp = topo_mod_zalloc(mod, arcsize); in pi_enum_bay()

12