Lines Matching defs:mode
46 * the device through the block device in O_WRITE mode. This is because
333 * nsc_reserve/nsc_release are used in NSC_MULTI mode to allow multiple
1446 * guard access mode
1531 int *mode, *nblocks;
1563 mode = &svn32->svn_mode;
1570 mode = &svn->svn_mode;
1579 *mode = svp->sv_flag;
1729 svioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *crp, int *rvalp)
1768 ilp32 = (ddi_model_convert_from((mode & FMODELS)) == DDI_MODEL_ILP32);
1778 sizeof (svc32), mode) < 0) {
1790 sizeof (svc), mode) < 0) {
1837 sizeof (svc32), mode) < 0) {
1849 sizeof (svc), mode) < 0) {
1913 sizeof (svl32), mode) < 0) {
1923 sizeof (svl), mode) < 0) {
1971 sizeof (svl32), mode) < 0) {
1983 sizeof (svl), mode) < 0) {
1993 if (ddi_copyout(svn, usvn, bytes, mode) < 0) {
2012 sizeof (svv32), mode) < 0) {
2023 sizeof (svv32), mode) < 0) {
2031 sizeof (svv), mode) < 0) {
2042 sizeof (svv), mode) < 0) {
2058 if (ddi_copyout(&rc, (void *)arg, sizeof (rc), mode) < 0) {
2130 * guard access mode
2423 sv_fix_dkiocgvtoc(const intptr_t arg, const int mode, sv_dev_t *svp)
2430 ilp32 = (ddi_model_convert_from((mode & FMODELS)) == DDI_MODEL_ILP32);
2469 sizeof (p_size), mode) != 0) {
2491 sizeof (p_size), mode) != 0) {
2520 sv_fix_dkiocgetefi(const intptr_t arg, const int mode, sv_dev_t *svp)
2544 if (ddi_copyin((void *)arg, &efi, sizeof (efi), mode)) {
2554 if (ddi_copyin((void *)efi.dki_data, &gpt, sizeof (gpt), mode)) {
2571 if (ddi_copyin((void *)(efi.dki_data + 1), gpe, sgpe, mode)) {
2597 if ((rc == 0) && ddi_copyout(&gpt, efi.dki_data, sizeof (gpt), mode)) {
2602 if ((rc == 0) && ddi_copyout(gpe, efi.dki_data + 1, sgpe, mode)) {
2632 sv_fix_dkiocpartition(const intptr_t arg, const int mode, sv_dev_t *svp)
2646 if (ddi_copyin((void *)arg, &p64, sizeof (p64), mode)) {
2679 sizeof (p_size), mode) != 0) {
2690 const int mode, cred_t *crp, int *rvalp)
2772 rc = (*fn)(dev, cmd, arg, mode, crp, rvalp);
2775 rc = (*fn)(dev, cmd, arg, mode, crp, rvalp);
2796 rc = sv_fix_dkiocgvtoc(arg, mode, svp);
2801 rc = sv_fix_dkiocgetefi(arg, mode, svp);
2805 rc = sv_fix_dkiocpartition(arg, mode, svp);