Lines Matching refs:transroot
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()
439 struct translation *transroot; in cif_init() local
448 transroot = read_prom_mappings(&ntransroot); in cif_init()
492 if (transroot != NULL) in cif_init()
493 unmap_prom_mappings(transroot, ntransroot); in cif_init()