Searched refs:mc (Results 1 - 25 of 109) sorted by relevance

12345

/illumos-gate/usr/src/lib/libast/common/port/
H A Dmc.c45 #include <mc.h>
214 register Mc_t* mc; local
245 if (!(vm = vmopen(Vmdcheap, Vmbest, 0)) || !(mc = vmnewof(vm, 0, Mc_t, 1, 0)))
250 mc->vm = vm;
251 mc->cvt = (iconv_t)(-1);
258 if (!(sp = sfgetr(ip, 0, 0)) || !(mc->translation = vmstrdup(vm, sp)))
275 mc->nstrs = sfgetu(ip);
276 mc->nmsgs = sfgetu(ip);
277 mc->num = sfgetu(ip);
281 else if (!(mc
347 mcget(register Mc_t* mc, int set, int num, const char* msg) argument
375 mcput(register Mc_t* mc, int set, int num, const char* msg) argument
515 mcdump(register Mc_t* mc, register Sfio_t* op) argument
667 mcclose(register Mc_t* mc) argument
[all...]
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_unumtopa.c35 #include <sys/mc.h>
49 mcamd_node_t *mc, *dimm; local
53 "mc %d dimm %d offset 0x%llx\n", unump->unum_chip, unump->unum_mc,
66 for (mc = mcamd_mc_next(hdl, root, NULL); mc != NULL;
67 mc = mcamd_mc_next(hdl, root, mc)) {
69 mc, MCAMD_PROP_NUM, &num,
70 mc, MCAMD_PROP_DRAMHOLE_SIZE, &holesz,
73 "failed to lookup num, dramhole for MC 0x%p\n", mc);
[all...]
H A Dmcamd_patounum.c34 #include <sys/mc.h>
57 iaddr_gen(struct mcamd_hdl *hdl, mcamd_node_t *mc, uint64_t pa, argument
64 mc, MCAMD_PROP_NUM, &mcnum,
65 mc, MCAMD_PROP_BASE_ADDR, &base,
66 mc, MCAMD_PROP_LIM_ADDR, &lim,
67 mc, MCAMD_PROP_ILEN, &ilen,
68 mc, MCAMD_PROP_ILSEL, &ilsel,
69 mc, MCAMD_PROP_DRAMHOLE_SIZE, &holesz,
188 cs_sparedto(struct mcamd_hdl *hdl, mcamd_node_t *cs, mcamd_node_t *mc) argument
194 mc, MCAMD_PROP_BADC
241 mcamd_node_t *mc, *dimm; local
443 mc_bkdg_patounum(struct mcamd_hdl *hdl, mcamd_node_t *mc, uint64_t pa, uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) argument
611 mc_patounum(struct mcamd_hdl *hdl, mcamd_node_t *mc, uint64_t pa, uint8_t valid_lo, uint32_t synd, int syndtype, mc_unum_t *unump) argument
697 mcamd_node_t *mc; local
[all...]
H A Dmcamd_rowcol.c60 getmcprops(struct mcamd_hdl *hdl, mcamd_node_t *mc, const char *caller, argument
64 mc, MCAMD_PROP_NUM, &pp->num,
65 mc, MCAMD_PROP_REV, &pp->rev,
66 mc, MCAMD_PROP_ACCESS_WIDTH, &pp->width,
67 mc, MCAMD_PROP_BASE_ADDR, &pp->base,
68 mc, MCAMD_PROP_LIM_ADDR, &pp->lim,
69 mc, MCAMD_PROP_CSBANKMAPREG, &pp->csbnkmap_reg,
70 mc, MCAMD_PROP_ILEN, &pp->intlven,
71 mc, MCAMD_PROP_ILSEL, &pp->intlvsel,
72 mc, MCAMD_PROP_CSINTLVFCT
432 mc_pa_to_offset(struct mcamd_hdl *hdl, mcamd_node_t *mc, mcamd_node_t *cs, uint64_t iaddr, uint64_t *offsetp) argument
479 mc_offset_to_pa(struct mcamd_hdl *hdl, mcamd_node_t *mc, mcamd_node_t *dimm, uint64_t offset, uint64_t *pap) argument
650 mcamd_cs_size(struct mcamd_hdl *hdl, mcamd_node_t *mc, int csnum, size_t *szp) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_drv.c47 #include <sys/mc.h>
61 * Set to prevent mc-amd from attaching.
101 mc_snapshot_destroy(mc_t *mc) argument
105 if (mc->mc_snapshot == NULL)
108 kmem_free(mc->mc_snapshot, mc->mc_snapshotsz);
109 mc->mc_snapshot = NULL;
110 mc->mc_snapshotsz = 0;
111 mc->mc_snapshotgen++;
115 mc_snapshot_update(mc_t *mc) argument
132 mc_t *mc; local
189 mc_nvl_add_socket(nvlist_t *nvl, mc_t *mc) argument
208 mc_ecc_enabled(mc_t *mc) argument
221 mc_ck_enabled(mc_t *mc) argument
234 mc_nvl_add_ecctype(nvlist_t *nvl, mc_t *mc) argument
255 mc_nvl_add_cslist(nvlist_t *mcnvl, mc_t *mc) argument
297 mc_nvl_add_dimmlist(nvlist_t *mcnvl, mc_t *mc) argument
338 mc_nvl_add_htconfig(nvlist_t *mcnvl, mc_t *mc) argument
386 mc_nvl_create(mc_t *mc) argument
431 mc_dimm_csadd(mc_t *mc, mc_dimm_t *mcd, mc_cs_t *mccs, const mcdcfg_csl_t *csl) argument
458 mc_dimm_create(mc_t *mc, uint_t num) argument
477 mc_csdimms_create(mc_t *mc, mc_cs_t *mccs, mcdcfg_rslt_t *rsltp) argument
531 mc_dimmlist_create(mc_t *mc) argument
588 mc_cs_create(mc_t *mc, uint_t num, uint64_t base, uint64_t mask, size_t sz, int csbe, int spare, int testfail) argument
619 mc_report_testfails(mc_t *mc) argument
648 mc_mkprops_htcfg(mc_pcicfg_hdl_t cfghdl, mc_t *mc) argument
678 mc_mkprops_addrmap(mc_pcicfg_hdl_t cfghdl, mc_t *mc) argument
727 mc_getmiscctl(mc_t *mc) argument
777 mc_mkprops_dramctl(mc_pcicfg_hdl_t cfghdl, mc_t *mc) argument
1048 mc_onlinespare(mc_t *mc, int csnum) argument
1145 mc_t *mc; local
1235 mc_t *mc; local
1278 mc_read_smbios(mc_t *mc, dev_info_t *dip) argument
1336 mc_t *mc; local
1400 mc_scrubber_enable(mc_t *mc) argument
1519 mc_t *mc = (mc_t *)arg1; local
1541 mc_t *mc; local
[all...]
H A Dmcamd_pcicfg.c40 mccfgsetup(struct _mc_pcicfg_hdl *hdlp, mc_t *mc, enum mc_funcnum func) argument
42 hdlp->cfh_mc = mc;
45 if (mc->mc_funcs[func].mcf_devi == NULL)
48 if (pci_config_setup(mc->mc_funcs[func].mcf_devi, &hdlp->cfh_hdl) !=
56 mc_pcicfg_setup(mc_t *mc, enum mc_funcnum func, mc_pcicfg_hdl_t *cookiep) argument
62 if (mccfgsetup(hdlp, mc, func) == DDI_FAILURE) {
96 mc_pcicfg_get32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset) argument
98 return ((*pci_getl_func)(0, MC_AMD_DEV_OFFSET + mc->mc_props.mcp_num,
103 mc_pcicfg_put32_nohdl(mc_t *mc, enum mc_funcnum func, off_t offset, argument
106 (*pci_putl_func)(0, MC_AMD_DEV_OFFSET + mc
[all...]
H A Dmcamd_subr.c28 * Stub routines used to link in files from $SRC/common/mc
40 #include <sys/mc.h>
78 mc_t *mc; local
85 mc = node2type(last, MC_NT_MC);
87 return ((mcamd_node_t *)mc->mc_next);
101 mc_t *mc; local
112 mc = node2type(node, MC_NT_MC);
113 retval = mc->mc_cslist;
158 mc_t *mc; local
169 mc
565 mc_ereport_dimm_resource(mc_unum_t *unump, nvlist_t *elems[], int *nump, mc_t *mc) argument
596 mc_ereport_cs_resource(mc_unum_t *unump, nvlist_t *elems[], int *nump, mc_t *mc) argument
624 mc_ereport_add_resource(nvlist_t *payload, mc_unum_t *unump, mc_t *mc) argument
645 mc_ereport_add_payload(nvlist_t *ereport, uint64_t members, mc_unum_t *unump, mc_t *mc) argument
654 mc_fmri_create(mc_t *mc) argument
690 mcamd_ereport_post(mc_t *mc, const char *class_sfx, mc_unum_t *unump, uint64_t payload) argument
718 mcamd_mc_register(cmi_hdl_t hdl, mc_t *mc) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_mirror.c246 mirror_child_t *mc; local
308 mc = &mm->mm_child[c];
310 mc->mc_vd = vdev_lookup_top(spa, DVA_GET_VDEV(&dva[c]));
311 mc->mc_offset = DVA_GET_OFFSET(&dva[c]);
344 mc = &mm->mm_child[c];
345 mc->mc_vd = vd->vdev_child[c];
346 mc->mc_offset = zio->io_offset;
404 mirror_child_t *mc = zio->io_private; local
406 mc->mc_error = zio->io_error;
407 mc
414 mirror_child_t *mc = zio->io_private; local
501 mirror_child_t *mc; local
562 mirror_child_t *mc; local
630 mirror_child_t *mc = &mm->mm_child[c]; local
642 mirror_child_t *mc; local
[all...]
H A Dmetaslab.c284 metaslab_class_t *mc; local
286 mc = kmem_zalloc(sizeof (metaslab_class_t), KM_SLEEP);
288 mc->mc_spa = spa;
289 mc->mc_rotor = NULL;
290 mc->mc_ops = ops;
291 mutex_init(&mc->mc_lock, NULL, MUTEX_DEFAULT, NULL);
292 mc->mc_alloc_slots = kmem_zalloc(spa->spa_alloc_count *
294 mc->mc_alloc_max_slots = kmem_zalloc(spa->spa_alloc_count *
297 zfs_refcount_create_tracked(&mc->mc_alloc_slots[i]);
299 return (mc);
303 metaslab_class_destroy(metaslab_class_t *mc) argument
322 metaslab_class_validate(metaslab_class_t *mc) argument
348 metaslab_class_space_update(metaslab_class_t *mc, int64_t alloc_delta, int64_t defer_delta, int64_t space_delta, int64_t dspace_delta) argument
358 metaslab_class_get_alloc(metaslab_class_t *mc) argument
364 metaslab_class_get_deferred(metaslab_class_t *mc) argument
370 metaslab_class_get_space(metaslab_class_t *mc) argument
376 metaslab_class_get_dspace(metaslab_class_t *mc) argument
382 metaslab_class_histogram_verify(metaslab_class_t *mc) argument
426 metaslab_class_fragmentation(metaslab_class_t *mc) argument
476 metaslab_class_expandable_space(metaslab_class_t *mc) argument
564 metaslab_class_t *mc = mg->mg_class; local
655 metaslab_group_create(metaslab_class_t *mc, vdev_t *vd, int allocators) argument
727 metaslab_class_t *mc = mg->mg_class; local
765 metaslab_class_t *mc = mg->mg_class; local
884 metaslab_class_t *mc = mg->mg_class; local
904 metaslab_class_t *mc = mg->mg_class; local
1030 metaslab_class_t *mc = mg->mg_class; local
1969 metaslab_space_update(vdev_t *vd, metaslab_class_t *mc, int64_t alloc_delta, int64_t defer_delta, int64_t space_delta) argument
3852 metaslab_class_t *mc = msp->ms_group->mg_class; local
4197 metaslab_alloc_dva(spa_t *spa, metaslab_class_t *mc, uint64_t psize, dva_t *dva, int d, dva_t *hintdva, uint64_t txg, int flags, zio_alloc_list_t *zal, int allocator) argument
4700 metaslab_class_throttle_reserve(metaslab_class_t *mc, int slots, int allocator, zio_t *zio, int flags) argument
4735 metaslab_class_throttle_unreserve(metaslab_class_t *mc, int slots, int allocator, zio_t *zio) argument
4874 metaslab_alloc(spa_t *spa, metaslab_class_t *mc, uint64_t psize, blkptr_t *bp, int ndvas, uint64_t txg, blkptr_t *hintbp, int flags, zio_alloc_list_t *zal, zio_t *zio, int allocator) argument
[all...]
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsggen.c119 #include <mc.h>
210 register Mc_t* mc; local
273 if (!(mc = mcopen(sp)))
278 for (set = 1; set <= mc->num; set++)
279 if (mc->set[set].num)
282 for (num = 1; num <= mc->set[set].num; num++)
283 if (s = mc->set[set].msg[num])
289 if (*mc->translation)
292 sfprintf(sfstdout, "%s", mc->translation);
296 for (set = 1; set <= mc
[all...]
H A Dmsgget.c47 #include <mc.h>
52 register Mc_t* mc; local
101 if (!(mc = mcopen(sp)))
104 s = mcget(mc, set, num, msg);
/illumos-gate/usr/src/uts/intel/mc-amd/
H A DMakefile32 MODULE = mc-amd
37 SRCDIR = $(UTSBASE)/intel/io/mc-amd
59 CPPFLAGS += -I$(SRCDIR) -I$(OBJS_DIR) -I$(SRC)/common/mc/mc-amd
/illumos-gate/usr/src/uts/sun4u/ml/
H A Dmc-us3_asm.s33 #include <sys/mc-us3.h>
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.c51 struct stats *mt, *mc; local
54 mc = Malloccount;
60 stats_delete(mc);
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dcatopen.c27 * the ast mc* and native cat* routines do all the work
36 #include <mc.h>
71 Mc_t* mc; local
88 mc = mcopen(ip);
90 if (mc)
91 return (_ast_nl_catd)mc;
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmpo.c1457 * dynamic space depending on utype, and return the result in mc.
1462 mblock_alloc(mpo_config_t *mc, update_t utype, int nmblocks) argument
1487 mc->mc_alloc_sz = allocsz;
1491 mc->mc_alloc_sz = 0;
1509 mc->mc_alloc_sz = 0;
1511 mc->mc_mblocks = mb;
1512 mc->mc_stripes = ms;
1513 mc->mc_nmblocks = nmblocks;
1514 mc->mc_nstripes = nstripes;
1522 * Free memory in mc tha
1526 mblock_free(mpo_config_t *mc) argument
1543 mblock_install(mpo_config_t *mc) argument
1561 mblock_update(mpo_config_t *mc, md_t md, mde_cookie_t *mblocknodes) argument
1645 mblock_update_add(mpo_config_t *mc) argument
1775 mstripe_update(mpo_config_t *mc) argument
1887 mnode_update(mpo_config_t *mc, pfn_t ubase, pfn_t uend, update_t utype) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/mac/
H A Dmac.c643 mac_cpus_t mc = srs.srs_cpu; local
659 addr, mci.mci_name, mc.mc_ncpus, mc.mc_rx_pollid,
660 mc.mc_rx_workerid, mc.mc_rx_intr_cpu, mc.mc_rx_fanout_cnt);
665 mac_cpus_t mc = srs.srs_cpu; local
687 0, mc.mc_tx_fanout_cpus[0],
688 mc.mc_tx_intr_cpu[0],
689 mc
712 mac_cpus_t mc = srs.srs_cpu; local
775 mac_cpus_t mc = srs.srs_cpu; local
805 mac_cpus_t mc = srs.srs_cpu; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_mbx.c427 mbx_cmd_t mc = {0}; local
428 mbx_cmd_t *mcp = &mc;
500 mbx_cmd_t mc = {0}; local
501 mbx_cmd_t *mcp = &mc;
556 mbx_cmd_t mc = {0}; local
557 mbx_cmd_t *mcp = &mc;
598 mbx_cmd_t mc = {0}; local
599 mbx_cmd_t *mcp = &mc;
645 mbx_cmd_t mc = {0}; local
646 mbx_cmd_t *mcp = &mc;
716 mbx_cmd_t mc = {0}; local
800 mbx_cmd_t mc = {0}; local
845 mbx_cmd_t mc = {0}; local
905 mbx_cmd_t mc = {0}; local
959 mbx_cmd_t mc = {0}; local
1060 mbx_cmd_t mc = {0}; local
1115 mbx_cmd_t mc = {0}; local
1166 mbx_cmd_t mc = {0}; local
1218 mbx_cmd_t mc = {0}; local
1344 mbx_cmd_t mc = {0}; local
1392 mbx_cmd_t mc = {0}; local
1445 mbx_cmd_t mc = {0}; local
1506 mbx_cmd_t mc = {0}; local
1583 mbx_cmd_t mc = {0}; local
1820 mbx_cmd_t mc = {0}; local
1999 mbx_cmd_t mc = {0}; local
2056 mbx_cmd_t mc = {0}; local
2112 mbx_cmd_t mc = {0}; local
2180 mbx_cmd_t mc = {0}; local
2238 mbx_cmd_t mc = {0}; local
2337 mbx_cmd_t mc = {0}; local
2414 mbx_cmd_t mc = {0}; local
2492 mbx_cmd_t mc = {0}; local
2538 mbx_cmd_t mc = {0}; local
2582 mbx_cmd_t mc = {0}; local
2636 mbx_cmd_t mc = {0}; local
2761 mbx_cmd_t mc = {0}; local
2810 mbx_cmd_t mc = {0}; local
2884 mbx_cmd_t mc = {0}; local
2942 mbx_cmd_t mc = {0}; local
3001 mbx_cmd_t mc = {0}; local
3047 mbx_cmd_t mc = {0}; local
3094 mbx_cmd_t mc = {0}; local
3149 mbx_cmd_t mc = {0}; local
3207 mbx_cmd_t mc = {0}; local
3263 mbx_cmd_t mc = {0}; local
3310 mbx_cmd_t mc = {0}; local
3357 mbx_cmd_t mc = {0}; local
3453 mbx_cmd_t mc = {0}; local
3503 mbx_cmd_t mc = {0}; local
3564 mbx_cmd_t mc = {0}; local
3620 mbx_cmd_t mc = {0}; local
3678 mbx_cmd_t mc = {0}; local
3763 mbx_cmd_t mc = {0}; local
3831 mbx_cmd_t mc = {0}; local
3882 mbx_cmd_t mc = {0}; local
3938 mbx_cmd_t mc = {0}; local
3980 mbx_cmd_t mc = {0}; local
4034 mbx_cmd_t mc = {0}; local
4085 mbx_cmd_t mc = {0}; local
4125 mbx_cmd_t mc = {0}; local
4226 mbx_cmd_t mc = {0}; local
4272 mbx_cmd_t mc = {0}; local
4312 mbx_cmd_t mc = {0}; local
4359 mbx_cmd_t mc = {0}; local
4400 mbx_cmd_t mc = {0}; local
4435 mbx_cmd_t mc = {0}; local
4470 mbx_cmd_t mc = {0}; local
4509 mbx_cmd_t mc = {0}; local
4559 mbx_cmd_t mc = {0}; local
4613 mbx_cmd_t mc = {0}; local
4671 mbx_cmd_t mc = {0}; local
4731 mbx_cmd_t mc = {0}; local
4793 mbx_cmd_t mc = {0}; local
4845 mbx_cmd_t mc = {0}; local
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dlist.c206 int tok, beg, mc, star, other, colmod, colresult; local
212 mc = 0;
227 mc++;
293 mc = 0;
298 mc++;
300 if (mc == 0) {
313 if ((np > namelist || colmod != 0) && mc == 0)
325 for (mc = 0, np = &namelist[0]; *np != NOSTR; np++)
328 mc++;
333 mc
[all...]
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dintel_nbdrv.c43 #include <sys/mc.h>
265 char *mc; local
269 mc = "Intel 7300";
272 mc = "Intel 5400";
275 mc = "Intel 5400A";
278 mc = "Intel 5400B";
281 mc = "Intel 5100";
284 mc = "Intel 5000P";
287 mc = "Intel 5000V";
290 mc
[all...]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c111 int mc; local
123 for (mc = 0; tokp != NULL; mc++) {
124 if (mc >= mmax) {
134 if (str_to_mlp(tokp, mlp + mc) == -1) {
141 if (mc >= mmax) {
150 (void) memset(mlp + mc, 0, sizeof (*mlp));
/illumos-gate/usr/src/cmd/sendmail/cf/
H A DMakefile48 $(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
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dalloc.c65 struct stats *mt, *ft, *mc, *fc; local
69 mc = Malloccount;
79 stats_delete(mc);
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dintel_nhm.c42 #include <sys/mc.h>
/illumos-gate/usr/src/uts/sun4u/mc-us3/
H A DMakefile22 # uts/sun4u/mc-us3/Makefile
28 #This makefile drives the production of the mc-us3 driver kernel
40 MODULE = mc-us3

Completed in 203 milliseconds

12345