Lines Matching refs:cph

294 	sbdp_cr_handle_t	*cph;  in sbdp_move_memory()  local
299 cph = kmem_zalloc(sizeof (sbdp_cr_handle_t), KM_SLEEP); in sbdp_move_memory()
354 cph->s_bdp = s_bdp; in sbdp_move_memory()
355 cph->t_bdp = t_bdp; in sbdp_move_memory()
356 cph->script = rsbuffer; in sbdp_move_memory()
363 scriptlen = sbdp_prep_rename_script(cph); in sbdp_move_memory()
470 SBDP_DBG_MEM("s_base 0x%lx t_base 0x%lx\n", cph->s_bdp->bpa, in sbdp_move_memory()
471 cph->t_bdp->bpa); in sbdp_move_memory()
473 cph->ret = 0; in sbdp_move_memory()
475 SBDP_DBG_MEM("cph return 0x%lx\n", cph->ret); in sbdp_move_memory()
484 cr_err = (*funcp)(cph, mlist, rsp); in sbdp_move_memory()
489 SBDP_DBG_MEM("s_base 0x%lx t_base 0x%lx\n", cph->s_bdp->bpa, in sbdp_move_memory()
490 cph->t_bdp->bpa); in sbdp_move_memory()
491 SBDP_DBG_MEM("cph return 0x%lx\n", cph->ret); in sbdp_move_memory()
527 pnode_t nodeid = cph->busy_mc->node; in sbdp_move_memory()
582 kmem_free(cph, sizeof (sbdp_cr_handle_t)); in sbdp_move_memory()
938 sbdp_prep_rename_script(sbdp_cr_handle_t *cph) in sbdp_prep_rename_script() argument
947 mutex_enter(&cph->s_bdp->bd_mutex); in sbdp_prep_rename_script()
948 s_bd = *cph->s_bdp; in sbdp_prep_rename_script()
949 mutex_exit(&cph->s_bdp->bd_mutex); in sbdp_prep_rename_script()
950 mutex_enter(&cph->t_bdp->bd_mutex); in sbdp_prep_rename_script()
951 t_bd = *cph->t_bdp; in sbdp_prep_rename_script()
952 mutex_exit(&cph->t_bdp->bd_mutex); in sbdp_prep_rename_script()
960 rsp = cph->script; in sbdp_prep_rename_script()
2159 sbdp_cr_handle_t *cph; in sbdp_passthru_prep_script() local
2168 cph = kmem_zalloc(sizeof (sbdp_cr_handle_t), KM_SLEEP); in sbdp_passthru_prep_script()
2176 cph->s_bdp = s_bdp; in sbdp_passthru_prep_script()
2177 cph->t_bdp = t_bdp; in sbdp_passthru_prep_script()
2178 cph->script = rsbuffer; in sbdp_passthru_prep_script()
2181 scriptlen = sbdp_prep_rename_script(cph); in sbdp_passthru_prep_script()
2196 kmem_free(cph, sizeof (sbdp_cr_handle_t)); in sbdp_passthru_prep_script()