Searched refs:sector (Results 1 – 4 of 4) sorted by relevance
720 int sector; in xbsd_write_bootstrap() local758 sector = 0; in xbsd_write_bootstrap()760 sector = 0; in xbsd_write_bootstrap()763 sector = get_start_sect(xbsd_part); in xbsd_write_bootstrap()766 seek_sector(sector); in xbsd_write_bootstrap()922 int t, sector; in xbsd_readlabel() local931 sector = (p ? get_start_sect(p) : 0); in xbsd_readlabel()933 sector = 0; in xbsd_readlabel()936 seek_sector(sector); in xbsd_readlabel()962 unsigned int sector; in xbsd_writelabel() local[all …]
206 unsigned char sector; /* starting sector */ member544 #define sector(s) ((s) & 0x3f) macro1121 #define set_hsc(h, s, c, sector) do \ argument1123 s = sector % g_sectors + 1; \1124 sector /= g_sectors; \1125 h = sector % g_heads; \1126 sector /= g_heads; \1127 c = sector & 0xff; \1128 s |= (sector >> 2) & 0xc0; \1135 set_hsc(p->head, p->sector, p->cyl, start); in set_hsc_start_end()[all …]
32 uint8_t sector; member
146 #define sector (G.sector)