Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/block/
Dswim.c211 int floppy_count; member
750 struct floppy_state *fs = &swd->unit[swd->floppy_count]; in swim_add_floppy()
765 swd->floppy_count++; in swim_add_floppy()
802 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
820 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
912 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_remove()
923 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()
Dswim3.c219 static int floppy_count = 0; variable
1196 if (floppy_count >= MAX_FLOPPIES) in swim3_attach()
1199 if (floppy_count == 0) { in swim3_attach()
1205 fs = &floppy_states[floppy_count]; in swim3_attach()
1219 rc = swim3_add_device(mdev, floppy_count); in swim3_attach()
1224 disk->first_minor = floppy_count; in swim3_attach()
1230 sprintf(disk->disk_name, "fd%d", floppy_count); in swim3_attach()
1234 disks[floppy_count++] = disk; in swim3_attach()
1242 if (floppy_count == 0) in swim3_attach()