Searched refs:fdc_busy (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/block/ |
D | amiflop.c | 275 static volatile int fdc_busy = -1; variable 361 return ((fdc_busy < 0) || (fdc_busy == drive)); in try_fdc() 370 printk("get_fdc: drive %d fdc_busy %d fdc_nested %d\n",drive,fdc_busy,fdc_nested); in get_fdc() 374 fdc_busy = drive; in get_fdc() 384 printk("rel_fdc: fdc_busy %d fdc_nested %d\n",fdc_busy,fdc_nested); in rel_fdc() 388 fdc_busy = -1; in rel_fdc()
|
D | floppy.c | 508 static unsigned long fdc_busy; variable 646 if (test_bit(0, &fdc_busy) && command_status < 2 && in is_alive() 895 if (wait_event_interruptible(fdc_wait, !test_and_set_bit(0, &fdc_busy))) in lock_fdc() 908 if (!test_bit(0, &fdc_busy)) in unlock_fdc() 916 clear_bit(0, &fdc_busy); in unlock_fdc() 1850 pr_info("fdc_busy=%lu\n", fdc_busy); in show_floppy() 2865 if (test_and_set_bit(0, &fdc_busy)) { in floppy_queue_rq()
|