Lines Matching defs:cpup
3921 setup_vaddr_for_ppcopy(struct cpu *cpup)
3928 cpup->cpu_caddr1 = addr;
3929 cpup->cpu_caddr1pte = pte_pa;
3933 cpup->cpu_caddr2 = addr;
3934 cpup->cpu_caddr2pte = pte_pa;
3936 mutex_init(&cpup->cpu_ppaddr_mutex, NULL, MUTEX_DEFAULT, NULL);
3943 teardown_vaddr_for_ppcopy(struct cpu *cpup)
3945 mutex_destroy(&cpup->cpu_ppaddr_mutex);
3947 hat_mempte_release(cpup->cpu_caddr2, cpup->cpu_caddr2pte);
3948 cpup->cpu_caddr2pte = 0;
3949 vmem_free(heap_arena, cpup->cpu_caddr2, mmu_ptob(1));
3950 cpup->cpu_caddr2 = 0;
3952 hat_mempte_release(cpup->cpu_caddr1, cpup->cpu_caddr1pte);
3953 cpup->cpu_caddr1pte = 0;
3954 vmem_free(heap_arena, cpup->cpu_caddr1, mmu_ptob(1));
3955 cpup->cpu_caddr1 = 0;