Searched refs:fdc_busy (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/block/ |
D | amiflop.c | 156 static volatile int fdc_busy = -1; variable 243 return ((fdc_busy < 0) || (fdc_busy == drive)); in try_fdc() 252 printk("get_fdc: drive %d fdc_busy %d fdc_nested %d\n",drive,fdc_busy,fdc_nested); in get_fdc() 256 fdc_busy = drive; in get_fdc() 266 printk("rel_fdc: fdc_busy %d fdc_nested %d\n",fdc_busy,fdc_nested); in rel_fdc() 270 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() 1503 wait_event(fdc_wait, cmpxchg(&fdc_busy, 0, 1) == 0); in do_fd_request()
|
D | floppy.c | 519 static unsigned long fdc_busy; variable 647 if (test_bit(0, &fdc_busy) && command_status < 2 && in is_alive() 880 if (wait_event_interruptible(fdc_wait, !test_and_set_bit(0, &fdc_busy))) in lock_fdc() 893 if (!test_bit(0, &fdc_busy)) in unlock_fdc() 901 clear_bit(0, &fdc_busy); in unlock_fdc() 1813 pr_info("fdc_busy=%lu\n", fdc_busy); in show_floppy() 2916 if (test_and_set_bit(0, &fdc_busy)) { in do_fd_request()
|