Searched refs:num_sectors (Results 1 – 5 of 5) sorted by relevance
792 unsigned num_sectors; in setup_tables() local887 num_sectors = (long long)blocks*BLOCK_SIZE/sector_size; in setup_tables()894 fatdata = num_sectors - cdiv (root_dir_entries * 32, sector_size) - in setup_tables()1055 size_fat = (num_sectors == 1440 || num_sectors == 2400 || in setup_tables()1056 num_sectors == 2880 || num_sectors == 5760) ? 12 : 16; in setup_tables()1066 while( num_sectors > GEMDOS_MAX_SECTORS ) { in setup_tables()1067 num_sectors >>= 1; in setup_tables()1077 fatdata = num_sectors - cdiv (root_dir_entries * 32, sector_size) - in setup_tables()1108 num_sectors >>= 1; in setup_tables()1154 if (num_sectors >= GEMDOS_MAX_SECTORS) in setup_tables()[all …]
176 int num_sectors) in goldfish_mmc_bdrv_read() argument180 while (num_sectors > 0) { in goldfish_mmc_bdrv_read()187 num_sectors -= 1; in goldfish_mmc_bdrv_read()196 int num_sectors) in goldfish_mmc_bdrv_write() argument200 while (num_sectors > 0) { in goldfish_mmc_bdrv_write()208 num_sectors -= 1; in goldfish_mmc_bdrv_write()
35 int num_sectors; member92 FAT_SUPER->num_sectors = FAT_CVT_U16 (bpb.short_sectors) in fat_mount()110 2 + ((FAT_SUPER->num_sectors - FAT_SUPER->data_offset) in fat_mount()
142 int num_sectors = 0; in blocklist_func() local152 if (num_sectors > 0) in blocklist_func()154 if (start_sector + num_sectors == sector in blocklist_func()157 num_sectors++; in blocklist_func()165 start_sector - part_start, num_sectors); in blocklist_func()166 else if (num_sectors > 1) in blocklist_func()168 start_sector - part_start, num_sectors-1, in blocklist_func()169 start_sector + num_sectors-1 - part_start, in blocklist_func()175 num_sectors = 0; in blocklist_func()188 num_sectors = 1; in blocklist_func()[all …]
1218 int num_sectors; in reiserfs_embed() local1232 num_sectors = (REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS) - 1; in reiserfs_embed()1234 num_sectors = (REISERFS_OLD_DISK_OFFSET_IN_BYTES >> SECTOR_BITS) - 1; in reiserfs_embed()1236 return (needed_sectors <= num_sectors); in reiserfs_embed()