tag | line | file | source code |
max_sector | 2032 | drivers/block/floppy.c | static int transfer_size(int ssize, int max_sector, int max_size) |
max_sector | 2034 | drivers/block/floppy.c | if ( max_sector > sector_t + max_size) |
max_sector | 2035 | drivers/block/floppy.c | max_sector = sector_t + max_size; |
max_sector | 2038 | drivers/block/floppy.c | max_sector -= (max_sector % floppy->sect ) % ssize; |
max_sector | 2041 | drivers/block/floppy.c | current_count_sectors = max_sector - sector_t ; |
max_sector | 2043 | drivers/block/floppy.c | return max_sector; |
max_sector | 2049 | drivers/block/floppy.c | static void copy_buffer(int ssize, int max_sector, int max_sector_2) |
max_sector | 2056 | drivers/block/floppy.c | if ( max_sector > max_sector_2 ) |
max_sector | 2057 | drivers/block/floppy.c | max_sector = max_sector_2; |
max_sector | 2059 | drivers/block/floppy.c | max_sector = transfer_size(ssize, max_sector, CURRENT->nr_sectors); |
max_sector | 2077 | drivers/block/floppy.c | printk("max_sector=%d\n", max_sector); |
max_sector | 2082 | drivers/block/floppy.c | if ( max_sector > buffer_max ) |
max_sector | 2083 | drivers/block/floppy.c | buffer_max = max_sector; |
max_sector | 2135 | drivers/block/floppy.c | max_sector -= remaining >> 9; |
max_sector | 2154 | drivers/block/floppy.c | int max_sector, max_size, tracksize, ssize; |
max_sector | 2172 | drivers/block/floppy.c | max_sector = floppy->sect * floppy->head; |
max_sector | 2173 | drivers/block/floppy.c | TRACK = CURRENT->sector / max_sector; |
max_sector | 2174 | drivers/block/floppy.c | sector_t = CURRENT->sector % max_sector; |
max_sector | 2180 | drivers/block/floppy.c | max_sector = floppy->sect; |
max_sector | 2184 | drivers/block/floppy.c | max_sector = 2 * floppy->sect / 3; |
max_sector | 2185 | drivers/block/floppy.c | if (sector_t >= max_sector){ |
max_sector | 2223 | drivers/block/floppy.c | max_sector = HEAD * floppy->sect + tracksize; |
max_sector | 2225 | drivers/block/floppy.c | max_sector = floppy->sect; |
max_sector | 2233 | drivers/block/floppy.c | copy_buffer(1, max_sector, buffer_max); |
max_sector | 2250 | drivers/block/floppy.c | indirect= transfer_size(ssize,max_sector,max_buffer_sectors*2) - |
max_sector | 2260 | drivers/block/floppy.c | direct = transfer_size(ssize,max_sector,max_size) - sector_t; |
max_sector | 2282 | drivers/block/floppy.c | max_size = max_sector; /* unbounded */ |
max_sector | 2290 | drivers/block/floppy.c | max_sector > 2 * max_buffer_sectors + buffer_min && |
max_sector | 2310 | drivers/block/floppy.c | copy_buffer(ssize, max_sector, 2*max_buffer_sectors+buffer_min); |
max_sector | 2312 | drivers/block/floppy.c | transfer_size(ssize, max_sector, |
max_sector | 2334 | drivers/block/floppy.c | sector_t, aligned_sector_t, max_sector, max_size); |