taglinefilesource code
max_sector2333drivers/block/floppy.cstatic int transfer_size(int ssize, int max_sector, int max_size)
max_sector2335drivers/block/floppy.cif ( max_sector > sector_t + max_size)
max_sector2336drivers/block/floppy.cmax_sector = sector_t + max_size;
max_sector2339drivers/block/floppy.cmax_sector -= (max_sector % floppy->sect ) % ssize;
max_sector2342drivers/block/floppy.ccurrent_count_sectors = max_sector - sector_t ;
max_sector2344drivers/block/floppy.creturn max_sector;
max_sector2350drivers/block/floppy.cstatic void copy_buffer(int ssize, int max_sector, int max_sector_2)
max_sector2357drivers/block/floppy.cif ( max_sector > max_sector_2 )
max_sector2358drivers/block/floppy.cmax_sector = max_sector_2;
max_sector2360drivers/block/floppy.cmax_sector = transfer_size(ssize, max_sector, CURRENT->nr_sectors);
max_sector2378drivers/block/floppy.cprintk("max_sector=%d\n", max_sector);
max_sector2383drivers/block/floppy.cif ( max_sector > buffer_max )
max_sector2384drivers/block/floppy.cbuffer_max = max_sector;
max_sector2436drivers/block/floppy.cmax_sector -= remaining >> 9;
max_sector2455drivers/block/floppy.cint max_sector, max_size, tracksize, ssize;
max_sector2474drivers/block/floppy.cmax_sector = floppy->sect * floppy->head;
max_sector2476drivers/block/floppy.cTRACK = CURRENT->sector / max_sector;
max_sector2477drivers/block/floppy.csector_t = CURRENT->sector % max_sector;
max_sector2484drivers/block/floppy.cmax_sector = floppy->sect;
max_sector2488drivers/block/floppy.cmax_sector = 2 * floppy->sect / 3;
max_sector2489drivers/block/floppy.cif (sector_t >= max_sector){
max_sector2527drivers/block/floppy.cmax_sector = HEAD * floppy->sect + tracksize;
max_sector2529drivers/block/floppy.cmax_sector = floppy->sect;
max_sector2537drivers/block/floppy.ccopy_buffer(1, max_sector, buffer_max);
max_sector2554drivers/block/floppy.cindirect= transfer_size(ssize,max_sector,max_buffer_sectors*2) -
max_sector2563drivers/block/floppy.cdirect = transfer_size(ssize,max_sector,max_size) - sector_t;
max_sector2591drivers/block/floppy.cmax_size = max_sector; /* unbounded */
max_sector2600drivers/block/floppy.cmax_sector > 2 * max_buffer_sectors + buffer_min &&
max_sector2621drivers/block/floppy.ccopy_buffer(ssize, max_sector, 2*max_buffer_sectors+buffer_min);
max_sector2623drivers/block/floppy.ctransfer_size(ssize, max_sector,
max_sector2646drivers/block/floppy.csector_t, aligned_sector_t, max_sector, max_size);