Lines Matching refs:secs
345 static int sector2CHS(mbr_chs_t *chs, int spos, int cyls, int heads, int secs) in sector2CHS() argument
348 sector = spos % secs; spos /= secs; in sector2CHS()
365 static void init_mbr(BDRVVVFATState *s, int cyls, int heads, int secs) in init_mbr() argument
381 cyls, heads, secs); in init_mbr()
383 cyls, heads, secs); in init_mbr()
896 const char *dirname, int heads, int secs, in init_directories() argument
1029 bootsector->sectors_per_track = cpu_to_le16(secs); in init_directories()
1140 int cyls, heads, secs; in vvfat_open() local
1186 secs = 36; in vvfat_open()
1189 secs = s->fat_type == 12 ? 18 : 36; in vvfat_open()
1202 secs = 63; in vvfat_open()
1232 dirname, cyls, heads, secs)); in vvfat_open()
1234 s->sector_count = cyls * heads * secs - s->offset_to_bootsector; in vvfat_open()
1235 bs->total_sectors = cyls * heads * secs; in vvfat_open()
1256 if (init_directories(s, dirname, heads, secs, errp)) { in vvfat_open()
1277 init_mbr(s, cyls, heads, secs); in vvfat_open()