Searched defs:cpunode (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_mp_startup.c45 struct cpu_node *cpunode = &cpunodes[cpuid]; local
52 pi->pi_clock = (cpunode->clock_freq + 500000) / 1000000;
57 cp->cpu_curr_clock = cpunode->clock_freq;
181 struct cpu_node *cpunode; local
184 cpunode = &cpunodes[cp->cpu_id];
188 cpunode->name, cpunode->portid, cpunode->implementation,
189 cpunode->version, pi->pi_clock);
193 cp->cpu_brandstr = kmem_alloc(strlen(cpunode
[all...]
H A Dfillsysinfo.c444 struct cpu_node *cpunode; local
469 cpunode = &cpunodes[cpuid];
470 cpunode->portid = portid;
471 cpunode->nodeid = node;
474 cpunode->fru_fmri[0] = '\0';
476 (void) snprintf(cpunode->fru_fmri, sizeof (cpunode->fru_fmri),
508 (void) strcpy(cpunode->name, namebufp);
511 (caddr_t)&cpunode->implementation);
512 (void) GETPROP(node, "mask#", (caddr_t)&cpunode
668 struct cpu_node *cpunode; local
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_mp_startup.c50 struct cpu_node *cpunode = &cpunodes[cpuid]; local
57 pi->pi_clock = (cpunode->clock_freq + 500000) / 1000000;
62 cp->cpu_curr_clock = cpunode->clock_freq;
174 mde_cookie_t rootnode, cpunode = MDE_INVAL_ELEM_COOKIE; local
208 cpunode = listp[i];
213 if (cpunode == MDE_INVAL_ELEM_COOKIE)
225 fill_cpu(mdp, cpunode);
230 * the cpunode structures.
276 struct cpu_node *cpunode; local
279 cpunode
[all...]
H A Dfillsysinfo.c107 struct cpu_node *cpunode; local
127 cpunode = &cpunodes[cpuid];
128 cpunode->cpuid = (int)cpuid;
129 cpunode->device_id = cpuid;
131 if (sizeof (cpunode->fru_fmri) > strlen(CPU_FRU_FMRI))
132 (void) strcpy(cpunode->fru_fmri, CPU_FRU_FMRI);
142 if (strlen(namebufp) > sizeof (cpunode->name))
144 "fit into the cpunode name buffer");
145 (void) strcpy(cpunode->name, namebufp);
151 cpunode
[all...]
H A Dmpo.c341 mpo_cpu_to_lgroup(md_t *md, mde_cookie_t cpunode) argument
349 n_lgroups = md_alloc_scan_dag(md, cpunode, PROP_LG_MEM_LG,
387 mde_cookie_t cpunode; local
397 cpunode = cpuid_to_cpunode(md, cpuid);
398 if (cpunode == MDE_INVAL_ELEM_COOKIE)
401 i = mpo_cpu_to_lgroup(md, cpunode);
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu.c228 struct cpu_node *cpunode; local
230 cpunode = &cpunodes[getprocessorid()];
231 index = cpunode->itlb_size;
241 index = cpunode->dtlb_size;
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric.c116 cpu_fiximp(struct cpu_node *cpunode) argument
123 if (cpunode->ecache_size == 0)
124 cpunode->ecache_size = 0x100000;
125 if (cpunode->ecache_linesize == 0)
126 cpunode->ecache_linesize = 64;
127 if (cpunode->ecache_associativity == 0)
128 cpunode->ecache_associativity = 1;
H A Dniagara.c157 cpu_fiximp(struct cpu_node *cpunode) argument
164 if (cpunode->ecache_size == 0)
165 cpunode->ecache_size = MB(3);
166 if (cpunode->ecache_linesize == 0)
167 cpunode->ecache_linesize = 64;
168 if (cpunode->ecache_associativity == 0)
169 cpunode->ecache_associativity = 12;
H A Dniagara2.c184 cpu_fiximp(struct cpu_node *cpunode) argument
191 if (cpunode->ecache_size == 0)
192 cpunode->ecache_size = L2CACHE_SIZE;
193 if (cpunode->ecache_linesize == 0)
194 cpunode->ecache_linesize = L2CACHE_LINESIZE;
195 if (cpunode->ecache_associativity == 0)
196 cpunode->ecache_associativity = L2CACHE_ASSOCIATIVITY;
H A Dmach_cpu_module.c33 cpu_fiximp(struct cpu_node *cpunode) argument
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_cpu.c963 mde_cookie_t cpunode; local
1025 cpunode = dr_cpu_find_node_md(stat[idx].cpuid, mdp, listp);
1029 if (cpunode == MDE_INVAL_ELEM_COOKIE) {
1296 mde_cookie_t cpunode; member in struct:__anon10279
1333 if (md_get_prop_data(cba->mdp, cba->cpunode, "compatible",
1377 if (md_get_prop_val(cba->mdp, cba->cpunode, "clock-frequency", &freq)) {
1393 if (md_get_prop_val(cba->mdp, cba->cpunode, "id", &cpuid)) {
1427 mde_cookie_t cpunode; local
1448 cpunode = dr_cpu_find_node_md(cpuid, mdp, listp);
1450 if (cpunode
[all...]

Completed in 72 milliseconds