Searched refs:ongoing_read (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/
H A Dusb-skeleton.c62 bool ongoing_read; /* a read is going on */ member in struct:usb_skel
183 dev->ongoing_read = 0; skel_read_bulk_callback()
204 dev->ongoing_read = 1; skel_do_read_io()
219 dev->ongoing_read = 0; skel_do_read_io()
252 ongoing_io = dev->ongoing_read; skel_read()
265 rv = wait_event_interruptible(dev->bulk_in_wait, (!dev->ongoing_read)); skel_read()

Completed in 74 milliseconds