Home
last modified time | relevance | path

Searched refs:max_sector (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/block/
Dfloppy.c2482 static int transfer_size(int ssize, int max_sector, int max_size) in transfer_size() argument
2484 SUPBOUND(max_sector, sector_t + max_size); in transfer_size()
2487 max_sector -= (max_sector % _floppy->sect) % ssize; in transfer_size()
2490 current_count_sectors = max_sector - sector_t ; in transfer_size()
2492 return max_sector; in transfer_size()
2498 static void copy_buffer(int ssize, int max_sector, int max_sector_2) in copy_buffer() argument
2505 max_sector = transfer_size(ssize, in copy_buffer()
2506 minimum(max_sector, max_sector_2), in copy_buffer()
2524 printk("max_sector=%d\n", max_sector); in copy_buffer()
2529 buffer_max = maximum(max_sector, buffer_max); in copy_buffer()
[all …]
/linux-2.4.37.9/drivers/usb/storage/
Ddatafab.c698 unsigned int max_sector; in datafab_transport() local
711 max_sector = info->sectors - 1; in datafab_transport()
712 ptr[0] = (max_sector >> 24) & 0xFF; in datafab_transport()
713 ptr[1] = (max_sector >> 16) & 0xFF; in datafab_transport()
714 ptr[2] = (max_sector >> 8) & 0xFF; in datafab_transport()
715 ptr[3] = (max_sector) & 0xFF; in datafab_transport()