Lines Matching refs:transroot
200 struct translation *transroot;
221 transroot = (struct translation *)kmem_zalloc(translen, KM_SLEEP);
223 if (prom_getprop(node, prop, (caddr_t)transroot) == -1) {
225 kmem_free(transroot, translen);
228 *ntransp = translen / sizeof (*transroot);
230 return (transroot);
234 unmap_prom_mappings(struct translation *transroot, size_t ntransroot)
262 for (i = 0, promt = transroot; i < ntransroot; i++, promt++) {
338 if (transroot) {
342 kmem_free(transroot, ntransroot * sizeof (*transroot));
439 struct translation *transroot;
448 transroot = read_prom_mappings(&ntransroot);
492 if (transroot != NULL)
493 unmap_prom_mappings(transroot, ntransroot);