Searched refs:transroot (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/sun4v/promif/ |
H A D | promif_emul.c | 200 struct translation *transroot; in read_prom_mappings() local 221 transroot = (struct translation *)kmem_zalloc(translen, KM_SLEEP); in read_prom_mappings() 223 if (prom_getprop(node, prop, (caddr_t)transroot) == -1) { in read_prom_mappings() 225 kmem_free(transroot, translen); in read_prom_mappings() 228 *ntransp = translen / sizeof (*transroot); in read_prom_mappings() 230 return (transroot); in read_prom_mappings() 234 unmap_prom_mappings(struct translation *transroot, size_t ntransroot) in unmap_prom_mappings() argument 262 for (i = 0, promt = transroot; i < ntransroot; i++, promt++) { in unmap_prom_mappings() 338 if (transroot) { in unmap_prom_mappings() 342 kmem_free(transroot, ntransroot * sizeof (*transroot)); in unmap_prom_mappings() [all …]
|
/titanic_41/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 443 struct translation *transroot; in read_prom_mappings() local 457 *ntransrootp = translen / sizeof (*transroot); in read_prom_mappings() 463 transroot = (struct translation *)ktsb_base; in read_prom_mappings() 464 ASSERT(transroot); in read_prom_mappings() 465 if (prom_getprop(node, prop, (caddr_t)transroot) == -1) { in read_prom_mappings() 468 return (transroot); in read_prom_mappings()
|