Home
last modified time | relevance | path

Searched refs:fdc_busy (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/block/
H A Damiflop.c276 static volatile int fdc_busy = -1; variable
362 return ((fdc_busy < 0) || (fdc_busy == drive)); in try_fdc()
371 printk("get_fdc: drive %d fdc_busy %d fdc_nested %d\n",drive,fdc_busy,fdc_nested); in get_fdc()
375 fdc_busy = drive; in get_fdc()
385 printk("rel_fdc: fdc_busy %d fdc_nested %d\n",fdc_busy,fdc_nested); in rel_fdc()
389 fdc_busy = -1; in rel_fdc()
H A Dfloppy.c506 static unsigned long fdc_busy; variable
643 if (test_bit(0, &fdc_busy) && command_status < 2 && in is_alive()
892 if (wait_event_interruptible(fdc_wait, !test_and_set_bit(0, &fdc_busy))) in lock_fdc()
905 if (!test_bit(0, &fdc_busy)) in unlock_fdc()
913 clear_bit(0, &fdc_busy); in unlock_fdc()
1851 pr_info("fdc_busy=%lu\n", fdc_busy); in show_floppy()
2865 if (test_and_set_bit(0, &fdc_busy)) { in floppy_queue_rq()