Home
last modified time | relevance | path

Searched refs:floppy_count (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/
H A Dswim.c211 int floppy_count; member
753 if (drive >= swd->floppy_count) in floppy_find()
762 struct floppy_state *fs = &swd->unit[swd->floppy_count]; in swim_add_floppy()
777 swd->floppy_count++; in swim_add_floppy()
814 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
837 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
937 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_remove()
948 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()
H A Dswim3.c219 static int floppy_count = 0; variable
1179 if (floppy_count >= MAX_FLOPPIES) in swim3_attach()
1182 if (floppy_count == 0) { in swim3_attach()
1194 fs = &floppy_states[floppy_count]; in swim3_attach()
1207 rc = swim3_add_device(mdev, floppy_count); in swim3_attach()
1212 disk->first_minor = floppy_count; in swim3_attach()
1217 sprintf(disk->disk_name, "fd%d", floppy_count); in swim3_attach()
1221 disks[floppy_count++] = disk; in swim3_attach()
1231 if (floppy_count == 0) in swim3_attach()
/kernel/linux/linux-6.6/drivers/block/
H A Dswim.c213 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()
816 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
834 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
925 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()
932 for (drive = 0; drive < swd->floppy_count; drive++) in swim_remove()
H A Dswim3.c220 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()
1236 disks[floppy_count++] = disk; in swim3_attach()
1244 if (floppy_count == 0) in swim3_attach()

Completed in 11 milliseconds