Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c45 down_read(&dev->attach_lock); in comedi_open()
50 up_read(&dev->attach_lock); in comedi_open()
216 down_read(&dev->attach_lock); in comedi_find_subdevice_by_type()
225 up_read(&dev->attach_lock); in comedi_find_subdevice_by_type()
234 down_read(&dev->attach_lock); in comedi_get_n_channels()
239 up_read(&dev->attach_lock); in comedi_get_n_channels()
/Linux-v4.19/drivers/staging/comedi/
Dproc.c36 down_read(&dev->attach_lock); in comedi_read()
43 up_read(&dev->attach_lock); in comedi_read()
Ddrivers.c200 down_write(&dev->attach_lock); in comedi_device_detach()
206 up_write(&dev->attach_lock); in comedi_device_detach()
709 down_write(&dev->attach_lock); in comedi_device_postconfig()
711 up_write(&dev->attach_lock); in comedi_device_postconfig()
Dcomedi_fops.c106 init_rwsem(&dev->attach_lock); in comedi_device_init()
2198 if (!down_read_trylock(&dev->attach_lock)) in comedi_mmap()
2265 up_read(&dev->attach_lock); in comedi_mmap()
2277 down_read(&dev->attach_lock); in comedi_poll()
2307 up_read(&dev->attach_lock); in comedi_poll()
2327 down_read(&dev->attach_lock); in comedi_write()
2419 up_read(&dev->attach_lock); in comedi_write()
2442 up_read(&dev->attach_lock); in comedi_write()
2463 down_read(&dev->attach_lock); in comedi_read()
2555 up_read(&dev->attach_lock); in comedi_read()
[all …]
Dcomedidev.h549 struct rw_semaphore attach_lock; member