Home
last modified time | relevance | path

Searched refs:s_old (Results 1 – 1 of 1) sorted by relevance

/drivers/staging/comedi/
Dcomedi_fops.c2042 struct comedi_subdevice *s_old, *s_new; in do_setrsubd_ioctl() local
2049 s_old = comedi_file_read_subdevice(file); in do_setrsubd_ioctl()
2050 if (s_old == s_new) in do_setrsubd_ioctl()
2060 if (s_old && s_old->busy == file && s_old->async && in do_setrsubd_ioctl()
2061 !(s_old->async->cmd.flags & CMDF_WRITE)) in do_setrsubd_ioctl()
2085 struct comedi_subdevice *s_old, *s_new; in do_setwsubd_ioctl() local
2092 s_old = comedi_file_write_subdevice(file); in do_setwsubd_ioctl()
2093 if (s_old == s_new) in do_setwsubd_ioctl()
2103 if (s_old && s_old->busy == file && s_old->async && in do_setwsubd_ioctl()
2104 (s_old->async->cmd.flags & CMDF_WRITE)) in do_setwsubd_ioctl()