Home
last modified time | relevance | path

Searched refs:mcmp (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.c64 md_cpumap_t *mcmp; in cpu_find_cpumap() local
66 for (i = 0, mcmp = chip->cpus; i < chip->ncpus; i++, mcmp++) { in cpu_find_cpumap()
67 if (cpuid == mcmp->cpumap_pid) { in cpu_find_cpumap()
68 return (mcmp); in cpu_find_cpumap()
77 md_cpumap_t *mcmp; in cpu_get_serialid_mdesc() local
78 if ((mcmp = cpu_find_cpumap(chip, cpuid)) != NULL) { in cpu_get_serialid_mdesc()
79 *serialidp = mcmp->cpumap_serialno; in cpu_get_serialid_mdesc()
89 md_cpumap_t *mcmp; in cpu_n1_mdesc_init() local
107 for (idx = 0, mcmp = chip->cpus; idx < chip->ncpus; idx++, mcmp++) { in cpu_n1_mdesc_init()
111 mcmp->cpumap_id = x; in cpu_n1_mdesc_init()
[all …]
H A Dcpu.c176 md_cpumap_t *mcmp; in cpu_present() local
194 if ((mcmp = cpu_find_cpumap(chip, cpuid)) != NULL) { in cpu_present()
196 present = nvlserid == mcmp->cpumap_serialno; in cpu_present()
221 md_cpumap_t *mcmp; in cpu_replaced() local
239 if ((mcmp = cpu_find_cpumap(chip, cpuid)) != NULL) { in cpu_replaced()
241 rval = (nvlserid == mcmp->cpumap_serialno) ? in cpu_replaced()
268 md_cpumap_t *mcmp = NULL; in cpu_expand() local
278 if ((mcmp = cpu_find_cpumap(chip, cpuid)) == NULL) in cpu_expand()
282 if (nvlserid != mcmp->cpumap_serialno) in cpu_expand()
288 mcmp->cpumap_serialno)) != 0) { in cpu_expand()
[all …]
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c245 md_cpumap_t *mcmp; in cpu_create() local
252 for (i = 0, mcmp = chip->cpus; i < chip->ncpus; i++, mcmp++) { in cpu_create()
253 if (mcmp->cpumap_serialno != serial) in cpu_create()
255 if ((min < 0) || (mcmp->cpumap_pid < min)) in cpu_create()
256 min = mcmp->cpumap_pid; in cpu_create()
257 if ((max < 0) || (mcmp->cpumap_pid > max)) in cpu_create()
258 max = mcmp->cpumap_pid; in cpu_create()
275 for (i = 0, mcmp = chip->cpus; i < chip->ncpus; i++, mcmp++) { in cpu_create()
277 if (mcmp->cpumap_serialno == 0 || in cpu_create()
278 mcmp->cpumap_serialno != serial) { in cpu_create()
[all …]
/titanic_41/usr/src/lib/libmp/common/
H A Dlibmp.h71 extern int mcmp(MINT *, MINT *);
H A Dold_mp.c53 int mcmp(MINT *a, MINT *b) { return (mp_mcmp(a, b)); } in mcmp() function
H A Dmapfile_1-vers46 mcmp;
/titanic_41/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c187 int mcmp = memcmp(pKey1, pKey2, (nKey1 <= nKey2)?nKey1:nKey2); in key_compare() local
188 if( mcmp == 0){ in key_compare()
192 return ((mcmp>0)?1:-1); in key_compare()