Searched refs:fdc_busy (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/block/ |
D | amiflop.c | 155 static volatile int fdc_busy = -1; variable 242 return ((fdc_busy < 0) || (fdc_busy == drive)); in try_fdc() 251 printk("get_fdc: drive %d fdc_busy %d fdc_nested %d\n",drive,fdc_busy,fdc_nested); in get_fdc() 255 fdc_busy = drive; in get_fdc() 265 printk("rel_fdc: fdc_busy %d fdc_nested %d\n",fdc_busy,fdc_nested); in rel_fdc() 269 fdc_busy = -1; in rel_fdc()
|
D | ataflop.c | 304 static volatile int fdc_busy = 0; variable 655 wait_event(fdc_wait, cmpxchg(&fdc_busy, 0, 1) == 0); in do_format() 1306 fdc_busy = 0; in finish_fdc_done() 1501 wait_event(fdc_wait, cmpxchg(&fdc_busy, 0, 1) == 0); in do_fd_request()
|
D | floppy.c | 514 static unsigned long fdc_busy; variable 642 if (test_bit(0, &fdc_busy) && command_status < 2 && in is_alive() 875 if (wait_event_interruptible(fdc_wait, !test_and_set_bit(0, &fdc_busy))) in lock_fdc() 888 if (!test_bit(0, &fdc_busy)) in unlock_fdc() 896 clear_bit(0, &fdc_busy); in unlock_fdc() 1807 pr_info("fdc_busy=%lu\n", fdc_busy); in show_floppy() 2908 if (test_and_set_bit(0, &fdc_busy)) { in do_fd_request()
|