Home
last modified time | relevance | path

Searched refs:nnodes (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/uts/sun4v/io/
H A Dmdeg.c322 int nnodes; in mdeg_notify_client_reg() local
364 nnodes = md_scan_dag(mdp, startnode, nname, aname, NULL); in mdeg_notify_client_reg()
366 if (nnodes == 0) { in mdeg_notify_client_reg()
370 } else if (nnodes == -1) { in mdeg_notify_client_reg()
377 nnodes, (nnodes == 1) ? "" : "s"); in mdeg_notify_client_reg()
380 listp = kmem_alloc(sizeof (mde_cookie_t) * nnodes, KM_SLEEP); in mdeg_notify_client_reg()
383 ASSERT(nodechk == nnodes); in mdeg_notify_client_reg()
387 mdeg_res->added.nelem = nnodes; in mdeg_notify_client_reg()
399 kmem_free(listp, sizeof (mde_cookie_t) * nnodes); in mdeg_notify_client_reg()
652 int nnodes; in mdeg_find_start_node() local
[all …]
H A Ddr_io.c176 int nnodes; in dr_io_find_node_md() local
190 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "virtual-device"), in dr_io_find_node_md()
193 if (nnodes < 0) { in dr_io_find_node_md()
199 DR_DBG_IO("%s: found %d nodes in the MD\n", __func__, nnodes); in dr_io_find_node_md()
204 for (i = 0; i < nnodes; i++) { in dr_io_find_node_md()
431 int nnodes; in dr_io_configure() local
475 nnodes = md_node_count(mdp); in dr_io_configure()
476 ASSERT(nnodes > 0); in dr_io_configure()
478 listsz = nnodes * sizeof (mde_cookie_t); in dr_io_configure()
H A Ddr_mem.c1049 int nnodes; in dr_mem_find_node_md() local
1061 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "mblock"), in dr_mem_find_node_md()
1064 if (nnodes < 0) { in dr_mem_find_node_md()
1069 DR_DBG_MEM("dr_mem_find_node_md: found %d mblks in the MD\n", nnodes); in dr_mem_find_node_md()
1074 for (idx = 0; idx < nnodes; idx++) { in dr_mem_find_node_md()
H A Ddr_cpu.c1607 int nnodes; in dr_cpu_find_node_md() local
1618 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "cpu"), in dr_cpu_find_node_md()
1621 if (nnodes < 0) { in dr_cpu_find_node_md()
1626 DR_DBG_CPU("dr_cpu_find_node_md: found %d CPUs in the MD\n", nnodes); in dr_cpu_find_node_md()
1631 for (idx = 0; idx < nnodes; idx++) { in dr_cpu_find_node_md()
/titanic_44/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c204 int nnodes; in v12n_domaining_enabled() local
212 nnodes = md_node_count(mdp); in v12n_domaining_enabled()
213 nodes = malloc(nnodes * sizeof (mde_cookie_t)); in v12n_domaining_enabled()
221 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "platform"), in v12n_domaining_enabled()
224 if (nnodes >= 1) { in v12n_domaining_enabled()
278 int nnodes, i, j; in v12n_scan_md_nodes() local
281 nnodes = md_node_count(mdp); in v12n_scan_md_nodes()
282 nodes = malloc(nnodes * sizeof (mde_cookie_t)); in v12n_scan_md_nodes()
289 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, node_name), in v12n_scan_md_nodes()
293 return (nnodes > 0); in v12n_scan_md_nodes()
[all …]
/titanic_44/usr/src/lib/libshell/common/sh/
H A Dnvtype.c826 int size=sizeof(NV_DATA), dsize=0, nnodes; in nv_mktype() local
834 for(nnodes=1,i=1; i <numnodes; i++) in nv_mktype()
865 nnodes++; in nv_mktype()
871 nnodes += dp->numnodes; in nv_mktype()
879 nnodes = dp->numnodes; in nv_mktype()
900 …pp = newof(NiL, Namtype_t, 1, nnodes*NV_MINSZ + offset + size + (nnodes+nd)*sizeof(char*) + iref*s… in nv_mktype()
901 pp->fun.dsize = sizeof(Namtype_t)+nnodes*NV_MINSZ +offset+k; in nv_mktype()
912 pp->numnodes = nnodes; in nv_mktype()
913 pp->data = pp->nodes + nnodes*NV_MINSZ +k; in nv_mktype()
919 cp = (char*)&pp->names[nd+nnodes]; in nv_mktype()
[all …]
/titanic_44/usr/src/uts/i86pc/os/
H A Dmp_startup.c710 static uint_t nnodes = 0; in opteron_get_nnodes() local
712 if (nnodes == 0) { in opteron_get_nnodes()
741 nnodes = ((pci_getl_func(0, 24, 0, 0x60) & 0x70) >> 4) + 1; in opteron_get_nnodes()
743 return (nnodes); in opteron_get_nnodes()
1132 uint_t node, nnodes; in workaround_errata() local
1135 nnodes = opteron_get_nnodes(); in workaround_errata()
1136 for (node = 0; node < nnodes; node++) { in workaround_errata()
/titanic_44/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.h780 int nnodes; /* # of subnodes of AFG */ member
H A Daudiohd.c3078 codec->nnodes = nums; in audiohd_create_codec()