tag | line | file | source code |
ssize | 1997 | drivers/block/floppy.c | #define CODE2SIZE (ssize = ( ( 1 << SIZECODE ) + 3 ) >> 2) |
ssize | 2165 | drivers/block/floppy.c | int nr_sectors, ssize; |
ssize | 2174 | drivers/block/floppy.c | (sector_t % floppy->sect) % ssize; |
ssize | 2177 | drivers/block/floppy.c | if ( nr_sectors > current_count_sectors + ssize - |
ssize | 2178 | drivers/block/floppy.c | (current_count_sectors + sector_t) % ssize + |
ssize | 2179 | drivers/block/floppy.c | sector_t % ssize){ |
ssize | 2186 | drivers/block/floppy.c | sector_t, ssize); |
ssize | 2260 | drivers/block/floppy.c | static int transfer_size(int ssize, int max_sector, int max_size) |
ssize | 2266 | drivers/block/floppy.c | max_sector -= (max_sector % floppy->sect ) % ssize; |
ssize | 2277 | drivers/block/floppy.c | static void copy_buffer(int ssize, int max_sector, int max_sector_2) |
ssize | 2287 | drivers/block/floppy.c | max_sector = transfer_size(ssize, max_sector, CURRENT->nr_sectors); |
ssize | 2306 | drivers/block/floppy.c | printk("ssize=%d\n", ssize); |
ssize | 2382 | drivers/block/floppy.c | int max_sector, max_size, tracksize, ssize; |
ssize | 2440 | drivers/block/floppy.c | tracksize = floppy->sect - floppy->sect % ssize; |
ssize | 2446 | drivers/block/floppy.c | while( tracksize + ssize > floppy->sect ){ |
ssize | 2448 | drivers/block/floppy.c | ssize >>= 1; |
ssize | 2451 | drivers/block/floppy.c | tracksize += ssize; |
ssize | 2457 | drivers/block/floppy.c | aligned_sector_t = sector_t - ( sector_t % floppy->sect ) % ssize; |
ssize | 2466 | drivers/block/floppy.c | } else if (aligned_sector_t != sector_t || CURRENT->nr_sectors < ssize){ |
ssize | 2468 | drivers/block/floppy.c | if(sector_t + CURRENT->nr_sectors > ssize && |
ssize | 2469 | drivers/block/floppy.c | sector_t + CURRENT->nr_sectors < ssize + ssize) |
ssize | 2470 | drivers/block/floppy.c | max_size = ssize + ssize; |
ssize | 2472 | drivers/block/floppy.c | max_size = ssize; |
ssize | 2480 | drivers/block/floppy.c | indirect= transfer_size(ssize,max_sector,max_buffer_sectors*2) - |
ssize | 2489 | drivers/block/floppy.c | direct = transfer_size(ssize,max_sector,max_size) - sector_t; |
ssize | 2525 | drivers/block/floppy.c | (aligned_sector_t == sector_t && CURRENT->nr_sectors >= ssize ))&& |
ssize | 2546 | drivers/block/floppy.c | copy_buffer(ssize, max_sector, 2*max_buffer_sectors+buffer_min); |
ssize | 2548 | drivers/block/floppy.c | transfer_size(ssize, max_sector, |
ssize | 2553 | drivers/block/floppy.c | raw_cmd.length = ((raw_cmd.length -1)|(ssize-1))+1; |
ssize | 2571 | drivers/block/floppy.c | printk("ssize=%x SIZECODE=%d\n", ssize, SIZECODE); |