tag | line | file | source code |
ssize | 1964 | drivers/block/floppy.c | #define CODE2SIZE (ssize = ((1 << SIZECODE) + 3) >> 2) |
ssize | 2133 | drivers/block/floppy.c | int nr_sectors, ssize; |
ssize | 2142 | drivers/block/floppy.c | (sector_t % floppy->sect) % ssize; |
ssize | 2145 | drivers/block/floppy.c | if (nr_sectors > current_count_sectors + ssize - |
ssize | 2146 | drivers/block/floppy.c | (current_count_sectors + sector_t) % ssize + |
ssize | 2147 | drivers/block/floppy.c | sector_t % ssize){ |
ssize | 2154 | drivers/block/floppy.c | sector_t, ssize); |
ssize | 2224 | drivers/block/floppy.c | static int transfer_size(int ssize, int max_sector, int max_size) |
ssize | 2229 | drivers/block/floppy.c | max_sector -= (max_sector % floppy->sect) % ssize; |
ssize | 2240 | drivers/block/floppy.c | static void copy_buffer(int ssize, int max_sector, int max_sector_2) |
ssize | 2247 | drivers/block/floppy.c | max_sector = transfer_size(ssize, |
ssize | 2267 | drivers/block/floppy.c | printk("ssize=%d\n", ssize); |
ssize | 2344 | drivers/block/floppy.c | int max_sector, max_size, tracksize, ssize; |
ssize | 2402 | drivers/block/floppy.c | tracksize = floppy->sect - floppy->sect % ssize; |
ssize | 2408 | drivers/block/floppy.c | while(tracksize + ssize > floppy->sect){ |
ssize | 2410 | drivers/block/floppy.c | ssize >>= 1; |
ssize | 2413 | drivers/block/floppy.c | tracksize += ssize; |
ssize | 2419 | drivers/block/floppy.c | aligned_sector_t = sector_t - (sector_t % floppy->sect) % ssize; |
ssize | 2429 | drivers/block/floppy.c | } else if (aligned_sector_t != sector_t || CURRENT->nr_sectors < ssize){ |
ssize | 2431 | drivers/block/floppy.c | if (sector_t + CURRENT->nr_sectors > ssize && |
ssize | 2432 | drivers/block/floppy.c | sector_t + CURRENT->nr_sectors < ssize + ssize) |
ssize | 2433 | drivers/block/floppy.c | max_size = ssize + ssize; |
ssize | 2435 | drivers/block/floppy.c | max_size = ssize; |
ssize | 2444 | drivers/block/floppy.c | indirect= transfer_size(ssize,max_sector,max_buffer_sectors*2) - |
ssize | 2459 | drivers/block/floppy.c | direct = transfer_size(ssize,max_sector,max_size) - sector_t; |
ssize | 2495 | drivers/block/floppy.c | (aligned_sector_t == sector_t && CURRENT->nr_sectors >= ssize))&& |
ssize | 2517 | drivers/block/floppy.c | copy_buffer(ssize, max_sector, 2*max_buffer_sectors+buffer_min); |
ssize | 2519 | drivers/block/floppy.c | transfer_size(ssize, max_sector, |
ssize | 2524 | drivers/block/floppy.c | raw_cmd->length = ((raw_cmd->length -1)|(ssize-1))+1; |
ssize | 2543 | drivers/block/floppy.c | printk("ssize=%x SIZECODE=%d\n", ssize, SIZECODE); |