Lines Matching refs:size

80 	int			size;  member
258 int size; in map_wellknown() local
268 if ((size = GETPROPLEN(curnode, in map_wellknown()
271 if (size > OBP_MAXPROPNAME) { in map_wellknown()
308 int size; in fill_address() local
317 if ((size = GETPROPLEN(curnode, OBP_ADDRESS)) == -1) { in fill_address()
319 namep, size); in fill_address()
322 if (size != sizeof (vaddr)) { in fill_address()
448 int size; in fill_cpu() local
473 if (cpu_get_cpu_unum(cpuid, unum, UNUM_NAMLEN, &size) != 0) { in fill_cpu()
551 size = 0; in fill_cpu()
552 (void) GETPROP(node, "l3-cache-size", (caddr_t)&size); in fill_cpu()
553 if (size <= 0) in fill_cpu()
554 (void) GETPROP(node, "l2-cache-size", (caddr_t)&size); in fill_cpu()
555 ASSERT(size != 0); in fill_cpu()
556 cpunode->ecache_size = size; in fill_cpu()
558 size = 0; in fill_cpu()
559 (void) GETPROP(node, "l3-cache-line-size", (caddr_t)&size); in fill_cpu()
560 if (size <= 0) in fill_cpu()
562 (caddr_t)&size); in fill_cpu()
563 ASSERT(size != 0); in fill_cpu()
564 cpunode->ecache_linesize = size; in fill_cpu()
566 size = 0; in fill_cpu()
567 (void) GETPROP(node, "l2-cache-associativity", (caddr_t)&size); in fill_cpu()
568 ASSERT(size != 0); in fill_cpu()
569 cpunode->ecache_associativity = size; in fill_cpu()
573 size = 0; in fill_cpu()
574 (void) GETPROP(node, "ecache-size", (caddr_t)&size); in fill_cpu()
575 ASSERT(size != 0); in fill_cpu()
576 cpunode->ecache_size = size; in fill_cpu()
578 size = 0; in fill_cpu()
579 (void) GETPROP(node, "ecache-line-size", (caddr_t)&size); in fill_cpu()
580 ASSERT(size != 0); in fill_cpu()
581 cpunode->ecache_linesize = size; in fill_cpu()
583 size = 0; in fill_cpu()
584 (void) GETPROP(node, "ecache-associativity", (caddr_t)&size); in fill_cpu()
585 ASSERT(size != 0); in fill_cpu()
586 cpunode->ecache_associativity = size; in fill_cpu()
1057 int size; in have_sbus() local
1060 size = GETPROPLEN(node, "upa-portid"); in have_sbus()
1061 if (size == -1 || size > sizeof (portid)) in have_sbus()
1084 int size; in have_pci() local
1088 size = GETPROPLEN(node, "portid"); in have_pci()
1089 if (size == -1) size = GETPROPLEN(node, "upa-portid"); in have_pci()
1090 if (size == -1) in have_pci()
1092 if (size > sizeof (portid)) in have_pci()
1121 int size; in have_eeprom() local
1146 if ((size = GETPROPLEN(node, OBP_ADDRESS)) == -1) in have_eeprom()
1148 if (size != sizeof (eaddr)) in have_eeprom()
1180 int size; in have_rtc() local
1203 if ((size = GETPROPLEN(node, OBP_ADDRESS)) == -1) in have_rtc()
1205 if (size != sizeof (eaddr)) in have_rtc()
1250 size_t size, n; in have_auxio() local
1263 if ((size = GETPROPLEN(node, OBP_ADDRESS)) == -1) in have_auxio()
1266 switch (n = (size / sizeof (addr[0]))) { in have_auxio()