Lines Matching defs:mode
74 int mode;
362 static int sbd_copyin_ioarg(sbd_handle_t *hp, int mode, int cmd,
364 static int sbd_copyout_errs(int mode, sbd_ioctl_arg_t *iap,
366 static int sbd_copyout_ioarg(int mode, int cmd, sbd_cmd_t *scp,
488 sbd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, char *event)
528 init_arg.mode = mode;
1465 hp->h_mode = iap->mode;
1590 sbd_copyin_ioarg(sbd_handle_t *hp, int mode, int cmd, sbd_cmd_t *cmdp,
1601 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
1607 sizeof (sbd_cmd32_t), mode)) {
1642 sizeof (sbd_cmd_t), mode) != 0) {
1669 sbd_copyout_ioarg(int mode, int cmd, sbd_cmd_t *scp, sbd_ioctl_arg_t *iap)
1677 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
1696 sizeof (sbd_cmd32_t), mode)) {
1705 sizeof (sbd_cmd_t), mode) != 0) {
1715 sbd_copyout_errs(int mode, sbd_ioctl_arg_t *iap, void *arg)
1723 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
1733 sizeof (sbd_error32_t), mode)) {
1742 sizeof (sbd_error_t), mode) != 0) {
4294 int nstat, mode, ncm, sz, cksz;
4310 mode = hp->h_mode;
4370 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
4484 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32) {
4619 cmdp->cmd_stat.s_statp, sz32, mode) != 0) {
4628 sz, mode) != 0) {