Searched refs:dioctl (Results 1 – 1 of 1) sorted by relevance
184 divert_ioctl dioctl; in isdn_divert_ioctl_unlocked() local190 if (copy_from_user(&dioctl, (void __user *) arg, sizeof(dioctl))) in isdn_divert_ioctl_unlocked()195 dioctl.drv_version = DIVERT_IIOC_VERSION; /* set version */ in isdn_divert_ioctl_unlocked()199 if ((dioctl.getid.drvid = divert_if.name_to_drv(dioctl.getid.drvnam)) < 0) in isdn_divert_ioctl_unlocked()204 cp = divert_if.drv_to_name(dioctl.getid.drvid); in isdn_divert_ioctl_unlocked()209 strcpy(dioctl.getid.drvnam, cp); in isdn_divert_ioctl_unlocked()213 if (!(rulep = getruleptr(dioctl.getsetrule.ruleidx))) in isdn_divert_ioctl_unlocked()215 dioctl.getsetrule.rule = *rulep; /* copy data */ in isdn_divert_ioctl_unlocked()219 if (!(rulep = getruleptr(dioctl.getsetrule.ruleidx))) in isdn_divert_ioctl_unlocked()222 *rulep = dioctl.getsetrule.rule; /* copy data */ in isdn_divert_ioctl_unlocked()[all …]