Lines Matching refs:h_mode
598 hp->h_mode = mode; in dr_ioctl()
897 if (ddi_model_convert_from(hp->h_mode & FMODELS) == DDI_MODEL_ILP32) { in dr_copyin_iocmd()
903 sizeof (sbd_cmd32_t), hp->h_mode)) { in dr_copyin_iocmd()
930 sizeof (sbd_cmd_t), hp->h_mode) != 0) { in dr_copyin_iocmd()
941 scp->cmd_cm.c_len, hp->h_mode) != 0) { in dr_copyin_iocmd()
959 if (ddi_model_convert_from(hp->h_mode & FMODELS) == DDI_MODEL_ILP32) { in dr_copyout_iocmd()
980 sizeof (sbd_cmd32_t), hp->h_mode)) { in dr_copyout_iocmd()
989 sizeof (sbd_cmd_t), hp->h_mode) != 0) { in dr_copyout_iocmd()
1012 if (ddi_model_convert_from(hp->h_mode & FMODELS) == DDI_MODEL_ILP32) { in dr_copyout_errs()
1022 sizeof (sbd_error32_t), hp->h_mode)) { in dr_copyout_errs()
1032 sizeof (sbd_error_t), hp->h_mode)) { in dr_copyout_errs()
2164 mode = hp->h_mode; in dr_dev_status()