Searched refs:cmd_nr (Results 1 – 2 of 2) sorted by relevance
3082 int i, cmd_nr, cmd_type, bt; in st_ioctl() local3118 cmd_nr = _IOC_NR(cmd_in); in st_ioctl()3120 if (cmd_type == _IOC_TYPE(MTIOCTOP) && cmd_nr == _IOC_NR(MTIOCTOP)) { in st_ioctl()3308 if (cmd_type == _IOC_TYPE(MTIOCGET) && cmd_nr == _IOC_NR(MTIOCGET)) { in st_ioctl()3377 if (cmd_type == _IOC_TYPE(MTIOCPOS) && cmd_nr == _IOC_NR(MTIOCPOS)) { in st_ioctl()
4782 int i, cmd_nr, cmd_type, retval = 0; in osst_ioctl() local4817 cmd_nr = _IOC_NR(cmd_in); in osst_ioctl()4820 cmd_type, cmd_nr, STp->raw?"raw":"normal"); in osst_ioctl()4822 if (cmd_type == _IOC_TYPE(MTIOCTOP) && cmd_nr == _IOC_NR(MTIOCTOP)) { in osst_ioctl()5015 if (cmd_type == _IOC_TYPE(MTIOCGET) && cmd_nr == _IOC_NR(MTIOCGET)) { in osst_ioctl()5080 if (cmd_type == _IOC_TYPE(MTIOCPOS) && cmd_nr == _IOC_NR(MTIOCPOS)) { in osst_ioctl()