Lines Matching refs:pip
80 p2o_info_t *pip; in pda_open() local
87 pip = (p2o_info_t *)kmem_alloc(sizeof (p2o_info_t), KM_SLEEP); in pda_open()
89 pip->p2o_cpuid = (int)SIGBCPU->cpu_id; in pda_open()
90 pip->p2o_ptr = cpu_p2o_mapin(pip->p2o_cpuid); in pda_open()
92 if (pip->p2o_ptr == NULL) { in pda_open()
93 kmem_free((caddr_t)pip, sizeof (p2o_info_t)); in pda_open()
96 return ((pda_handle_t)pip); in pda_open()
103 p2o_info_t *pip; in pda_close() local
105 if ((pip = (p2o_info_t *)ph) == NULL) in pda_close()
108 cpu_p2o_mapout(pip->p2o_cpuid, pip->p2o_ptr); in pda_close()
110 kmem_free((caddr_t)pip, sizeof (p2o_info_t)); in pda_close()