/titanic_50/usr/src/lib/libast/common/port/ |
H A D | mc.c | 214 register Mc_t* mc; in mcopen() local 245 if (!(vm = vmopen(Vmdcheap, Vmbest, 0)) || !(mc = vmnewof(vm, 0, Mc_t, 1, 0))) in mcopen() 250 mc->vm = vm; in mcopen() 251 mc->cvt = (iconv_t)(-1); in mcopen() 258 if (!(sp = sfgetr(ip, 0, 0)) || !(mc->translation = vmstrdup(vm, sp))) in mcopen() 275 mc->nstrs = sfgetu(ip); in mcopen() 276 mc->nmsgs = sfgetu(ip); in mcopen() 277 mc->num = sfgetu(ip); in mcopen() 281 else if (!(mc->translation = vmnewof(vm, 0, char, 1, 0))) in mcopen() 288 if (!(mc->set = vmnewof(vm, 0, Mcset_t, mc->num + 1, 0))) in mcopen() [all …]
|
/titanic_50/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_drv.c | 101 mc_snapshot_destroy(mc_t *mc) in mc_snapshot_destroy() argument 105 if (mc->mc_snapshot == NULL) in mc_snapshot_destroy() 108 kmem_free(mc->mc_snapshot, mc->mc_snapshotsz); in mc_snapshot_destroy() 109 mc->mc_snapshot = NULL; in mc_snapshot_destroy() 110 mc->mc_snapshotsz = 0; in mc_snapshot_destroy() 111 mc->mc_snapshotgen++; in mc_snapshot_destroy() 115 mc_snapshot_update(mc_t *mc) in mc_snapshot_update() argument 119 if (mc->mc_snapshot != NULL) in mc_snapshot_update() 122 if (nvlist_pack(mc->mc_nvl, &mc->mc_snapshot, &mc->mc_snapshotsz, in mc_snapshot_update() 132 mc_t *mc; in mc_lookup_by_chipid() local [all …]
|
H A D | mcamd_pcicfg.c | 40 mccfgsetup(struct _mc_pcicfg_hdl *hdlp, mc_t *mc, enum mc_funcnum func) in mccfgsetup() argument 42 hdlp->cfh_mc = mc; in mccfgsetup() 45 if (mc->mc_funcs[func].mcf_devi == NULL) in mccfgsetup() 48 if (pci_config_setup(mc->mc_funcs[func].mcf_devi, &hdlp->cfh_hdl) != in mccfgsetup() 56 mc_pcicfg_setup(mc_t *mc, enum mc_funcnum func, mc_pcicfg_hdl_t *cookiep) in mc_pcicfg_setup() argument 62 if (mccfgsetup(hdlp, mc, func) == DDI_FAILURE) { in mc_pcicfg_setup() 96 mc_pcicfg_get32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset) in mc_pcicfg_get32_nohdl() argument 98 return ((*pci_getl_func)(0, MC_AMD_DEV_OFFSET + mc->mc_props.mcp_num, in mc_pcicfg_get32_nohdl() 103 mc_pcicfg_put32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset, in mc_pcicfg_put32_nohdl() argument 106 (*pci_putl_func)(0, MC_AMD_DEV_OFFSET + mc->mc_props.mcp_num, in mc_pcicfg_put32_nohdl()
|
H A D | mcamd_subr.c | 78 mc_t *mc; in mcamd_mc_next() local 85 mc = node2type(last, MC_NT_MC); in mcamd_mc_next() 87 return ((mcamd_node_t *)mc->mc_next); in mcamd_mc_next() 101 mc_t *mc; in mcamd_cs_next() local 112 mc = node2type(node, MC_NT_MC); in mcamd_cs_next() 113 retval = mc->mc_cslist; in mcamd_cs_next() 158 mc_t *mc; in mcamd_dimm_next() local 169 mc = node2type(node, MC_NT_MC); in mcamd_dimm_next() 170 retval = mc->mc_dimmlist; in mcamd_dimm_next() 566 mc_t *mc) in mc_ereport_dimm_resource() argument [all …]
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | vdev_mirror.c | 76 mirror_child_t *mc; in vdev_mirror_map_alloc() local 105 mc = &mm->mm_child[c]; in vdev_mirror_map_alloc() 107 mc->mc_vd = vdev_lookup_top(spa, DVA_GET_VDEV(&dva[c])); in vdev_mirror_map_alloc() 108 mc->mc_offset = DVA_GET_OFFSET(&dva[c]); in vdev_mirror_map_alloc() 122 mc = &mm->mm_child[c]; in vdev_mirror_map_alloc() 123 mc->mc_vd = vd->vdev_child[c]; in vdev_mirror_map_alloc() 124 mc->mc_offset = zio->io_offset; in vdev_mirror_map_alloc() 179 mirror_child_t *mc = zio->io_private; in vdev_mirror_child_done() local 181 mc->mc_error = zio->io_error; in vdev_mirror_child_done() 182 mc->mc_tried = 1; in vdev_mirror_child_done() [all …]
|
H A D | metaslab.c | 192 metaslab_class_t *mc; in metaslab_class_create() local 194 mc = kmem_zalloc(sizeof (metaslab_class_t), KM_SLEEP); in metaslab_class_create() 196 mc->mc_spa = spa; in metaslab_class_create() 197 mc->mc_rotor = NULL; in metaslab_class_create() 198 mc->mc_ops = ops; in metaslab_class_create() 200 return (mc); in metaslab_class_create() 204 metaslab_class_destroy(metaslab_class_t *mc) in metaslab_class_destroy() argument 206 ASSERT(mc->mc_rotor == NULL); in metaslab_class_destroy() 207 ASSERT(mc->mc_alloc == 0); in metaslab_class_destroy() 208 ASSERT(mc->mc_deferred == 0); in metaslab_class_destroy() [all …]
|
/titanic_50/usr/src/common/mc/mc-amd/ |
H A D | mcamd_unumtopa.c | 49 mcamd_node_t *mc, *dimm; in mcamd_unumtopa() local 66 for (mc = mcamd_mc_next(hdl, root, NULL); mc != NULL; in mcamd_unumtopa() 67 mc = mcamd_mc_next(hdl, root, mc)) { in mcamd_unumtopa() 69 mc, MCAMD_PROP_NUM, &num, in mcamd_unumtopa() 70 mc, MCAMD_PROP_DRAMHOLE_SIZE, &holesz, in mcamd_unumtopa() 73 "failed to lookup num, dramhole for MC 0x%p\n", mc); in mcamd_unumtopa() 79 if (mc == NULL) { in mcamd_unumtopa() 91 for (dimm = mcamd_dimm_next(hdl, mc, NULL); dimm != NULL; in mcamd_unumtopa() 92 dimm = mcamd_dimm_next(hdl, mc, dimm)) { in mcamd_unumtopa() 111 mc, dimm, unump->unum_offset); in mcamd_unumtopa() [all …]
|
H A D | mcamd_patounum.c | 57 iaddr_gen(struct mcamd_hdl *hdl, mcamd_node_t *mc, uint64_t pa, in iaddr_gen() argument 64 mc, MCAMD_PROP_NUM, &mcnum, in iaddr_gen() 65 mc, MCAMD_PROP_BASE_ADDR, &base, in iaddr_gen() 66 mc, MCAMD_PROP_LIM_ADDR, &lim, in iaddr_gen() 67 mc, MCAMD_PROP_ILEN, &ilen, in iaddr_gen() 68 mc, MCAMD_PROP_ILSEL, &ilsel, in iaddr_gen() 69 mc, MCAMD_PROP_DRAMHOLE_SIZE, &holesz, in iaddr_gen() 188 cs_sparedto(struct mcamd_hdl *hdl, mcamd_node_t *cs, mcamd_node_t *mc) in cs_sparedto() argument 194 mc, MCAMD_PROP_BADCS, &badcsnum, in cs_sparedto() 195 mc, MCAMD_PROP_SPARECS, &sparecsnum, in cs_sparedto() [all …]
|
H A D | mcamd_rowcol.c | 58 getmcprops(struct mcamd_hdl *hdl, mcamd_node_t *mc, const char *caller, in getmcprops() argument 62 mc, MCAMD_PROP_NUM, &pp->num, in getmcprops() 63 mc, MCAMD_PROP_REV, &pp->rev, in getmcprops() 64 mc, MCAMD_PROP_ACCESS_WIDTH, &pp->width, in getmcprops() 65 mc, MCAMD_PROP_BASE_ADDR, &pp->base, in getmcprops() 66 mc, MCAMD_PROP_LIM_ADDR, &pp->lim, in getmcprops() 67 mc, MCAMD_PROP_CSBANKMAPREG, &pp->csbnkmap_reg, in getmcprops() 68 mc, MCAMD_PROP_ILEN, &pp->intlven, in getmcprops() 69 mc, MCAMD_PROP_ILSEL, &pp->intlvsel, in getmcprops() 70 mc, MCAMD_PROP_CSINTLVFCTR, &pp->csintlvfctr, in getmcprops() [all …]
|
/titanic_50/usr/src/cmd/ast/msgcc/ |
H A D | msggen.c | 210 register Mc_t* mc; in main() local 273 if (!(mc = mcopen(sp))) in main() 278 for (set = 1; set <= mc->num; set++) in main() 279 if (mc->set[set].num) in main() 282 for (num = 1; num <= mc->set[set].num; num++) in main() 283 if (s = mc->set[set].msg[num]) in main() 289 if (*mc->translation) in main() 292 sfprintf(sfstdout, "%s", mc->translation); in main() 296 for (set = 1; set <= mc->num; set++) in main() 297 if (mc->set[set].num) in main() [all …]
|
H A D | msgget.c | 52 register Mc_t* mc; in main() local 101 if (!(mc = mcopen(sp))) in main() 104 s = mcget(mc, set, num, msg); in main()
|
/titanic_50/usr/src/cmd/mdb/common/modules/mac/ |
H A D | mac.c | 643 mac_cpus_t mc = srs.srs_cpu; in mac_srs_dcmd() local 659 addr, mci.mci_name, mc.mc_ncpus, mc.mc_rx_pollid, in mac_srs_dcmd() 660 mc.mc_rx_workerid, mc.mc_rx_intr_cpu, mc.mc_rx_fanout_cnt); in mac_srs_dcmd() 665 mac_cpus_t mc = srs.srs_cpu; in mac_srs_dcmd() local 687 0, mc.mc_tx_fanout_cpus[0], in mac_srs_dcmd() 688 mc.mc_tx_intr_cpu[0], in mac_srs_dcmd() 689 mc.mc_tx_retargeted_cpu[0]); in mac_srs_dcmd() 699 s_ringp, mc.mc_tx_fanout_cpus[i], in mac_srs_dcmd() 700 mc.mc_tx_intr_cpu[i], in mac_srs_dcmd() 701 mc.mc_tx_retargeted_cpu[i]); in mac_srs_dcmd() [all …]
|
/titanic_50/usr/src/uts/sun4v/os/ |
H A D | mpo.c | 1462 mblock_alloc(mpo_config_t *mc, update_t utype, int nmblocks) in mblock_alloc() argument 1487 mc->mc_alloc_sz = allocsz; in mblock_alloc() 1491 mc->mc_alloc_sz = 0; in mblock_alloc() 1509 mc->mc_alloc_sz = 0; in mblock_alloc() 1511 mc->mc_mblocks = mb; in mblock_alloc() 1512 mc->mc_stripes = ms; in mblock_alloc() 1513 mc->mc_nmblocks = nmblocks; in mblock_alloc() 1514 mc->mc_nstripes = nstripes; in mblock_alloc() 1526 mblock_free(mpo_config_t *mc) in mblock_free() argument 1528 if (mc->mc_alloc_sz > 0) { in mblock_free() [all …]
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_mbx.c | 427 mbx_cmd_t mc = {0}; in ql_initialize_ip() local 428 mbx_cmd_t *mcp = &mc; in ql_initialize_ip() 500 mbx_cmd_t mc = {0}; in ql_shutdown_ip() local 501 mbx_cmd_t *mcp = &mc; in ql_shutdown_ip() 556 mbx_cmd_t mc = {0}; in ql_online_selftest() local 557 mbx_cmd_t *mcp = &mc; in ql_online_selftest() 598 mbx_cmd_t mc = {0}; in ql_loop_back() local 599 mbx_cmd_t *mcp = &mc; in ql_loop_back() 645 mbx_cmd_t mc = {0}; in ql_loop_back() local 646 mbx_cmd_t *mcp = &mc; in ql_loop_back() [all …]
|
/titanic_50/usr/src/cmd/mailx/ |
H A D | list.c | 207 int tok, beg, mc, star, other, colmod, colresult; in markall() local 213 mc = 0; in markall() 228 mc++; in markall() 294 mc = 0; in markall() 299 mc++; in markall() 301 if (mc == 0) { in markall() 314 if ((np > namelist || colmod != 0) && mc == 0) in markall() 326 for (mc = 0, np = &namelist[0]; *np != NOSTR; np++) in markall() 329 mc++; in markall() 334 mc++; in markall() [all …]
|
/titanic_50/usr/src/uts/intel/mc-amd/ |
H A D | Makefile | 32 MODULE = mc-amd 37 SRCDIR = $(UTSBASE)/intel/io/mc-amd 59 CPPFLAGS += -I$(SRCDIR) -I$(OBJS_DIR) -I$(SRC)/common/mc/mc-amd
|
/titanic_50/usr/src/cmd/sendmail/cf/ |
H A D | Makefile | 48 $(ROOTETCMAILCF)/cf/sendmail.mc \ 50 $(ROOTETCMAILCF)/cf/submit.mc \ 139 cf/%.cf: cf/%.mc $(COMMONM4FILES) 174 $(RM) $(ROOTETCMAILCF)/cf/main.mc 175 $(SYMLINK) sendmail.mc $(ROOTETCMAILCF)/cf/main.mc 178 $(RM) $(ROOTETCMAILCF)/cf/subsidiary.mc 179 $(SYMLINK) sendmail.mc $(ROOTETCMAILCF)/cf/subsidiary.mc
|
/titanic_50/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetzcent.c | 111 int mc; in parse_mlp_list() local 123 for (mc = 0; tokp != NULL; mc++) { in parse_mlp_list() 124 if (mc >= mmax) { in parse_mlp_list() 134 if (str_to_mlp(tokp, mlp + mc) == -1) { in parse_mlp_list() 141 if (mc >= mmax) { in parse_mlp_list() 150 (void) memset(mlp + mc, 0, sizeof (*mlp)); in parse_mlp_list()
|
/titanic_50/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nbdrv.c | 265 char *mc; in inb_mc_name() local 269 mc = "Intel 7300"; in inb_mc_name() 272 mc = "Intel 5400"; in inb_mc_name() 275 mc = "Intel 5400A"; in inb_mc_name() 278 mc = "Intel 5400B"; in inb_mc_name() 281 mc = "Intel 5100"; in inb_mc_name() 284 mc = "Intel 5000P"; in inb_mc_name() 287 mc = "Intel 5000V"; in inb_mc_name() 290 mc = "Intel 5000X"; in inb_mc_name() 293 mc = "Intel 5000Z"; in inb_mc_name() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 130 struct modctl mc; in modctls() local 132 (void) mdb_vread(&mc, sizeof (mc), addr); in modctls() 133 return (modctl_format(addr, &mc, NULL)); in modctls() 317 struct modctl mc; in modinfo() local 319 (void) mdb_vread(&mc, sizeof (mc), addr); in modinfo() 320 return (modinfo_format(addr, &mc, NULL)); in modinfo()
|
/titanic_50/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.c | 51 struct stats *mt, *mc; in alloc_fini() local 54 mc = Malloccount; in alloc_fini() 60 stats_delete(mc); in alloc_fini()
|
/titanic_50/usr/src/lib/libast/common/comp/ |
H A D | catopen.c | 71 Mc_t* mc; in _ast_catopen() local 88 mc = mcopen(ip); in _ast_catopen() 90 if (mc) in _ast_catopen() 91 return (_ast_nl_catd)mc; in _ast_catopen()
|
/titanic_50/usr/src/uts/i86pc/io/dr/ |
H A D | dr_mem_acpi.c | 166 struct memlist *ml, *mc; in dr_attach_mem() local 189 for (mc = ml; mc; mc = mc->ml_next) { in dr_attach_mem() 194 (pfn_t)btop(mc->ml_address), in dr_attach_mem() 195 (pgcnt_t)btop(mc->ml_size)); in dr_attach_mem() 223 mp->sbm_cm.sbdev_id, mc->ml_address, mc->ml_size); in dr_attach_mem()
|
/titanic_50/usr/src/uts/common/io/iprb/ |
H A D | iprb.c | 497 iprb_mcast_t *mc; in iprb_destroy() local 518 while ((mc = list_head(&ip->mcast)) != NULL) { in iprb_destroy() 519 list_remove(&ip->mcast, mc); in iprb_destroy() 520 kmem_free(mc, sizeof (*mc)); in iprb_destroy() 815 iprb_mcast_t *mc; in iprb_set_multicast() local 837 for (mc = list_head(l), i = 0; mc; mc = list_next(l, mc), i++) { in iprb_set_multicast() 838 PUTCBEA(cb, CB_MCS_ADR_OFFSET + (i * 6), mc->addr); in iprb_set_multicast() 1250 iprb_mcast_t *mc; in iprb_m_multicst() local 1253 mc = kmem_alloc(sizeof (*mc), KM_NOSLEEP); in iprb_m_multicst() 1254 if (mc == NULL) { in iprb_m_multicst() [all …]
|
/titanic_50/usr/src/uts/sun4u/starfire/os/ |
H A D | pda.c | 491 MemChunk_t *mc; in p2o_mem_coalesce() local 500 mc = &p2o->p2o_mchunks[0]; in p2o_mem_coalesce() 504 addr = mc[cp].Memc_StartAddress; in p2o_mem_coalesce() 505 size = mc[cp].Memc_Size; in p2o_mem_coalesce() 506 naddr = mc[ncp].Memc_StartAddress; in p2o_mem_coalesce() 507 nsize = mc[ncp].Memc_Size; in p2o_mem_coalesce() 520 mc[cp].Memc_Size = size; in p2o_mem_coalesce() 522 bcopy((char *)&mc[ncp+1], in p2o_mem_coalesce() 523 (char *)&mc[ncp], in p2o_mem_coalesce()
|