Searched refs:fatNr (Results 1 – 2 of 2) sorted by relevance
61 public static Fat read(BootSector bs, int fatNr) in read() argument64 if (fatNr > bs.getNrFats()) { in read()67 " FATs when reading FAT #" + fatNr); in read()70 final long fatOffset = FatUtils.getFatOffset(bs, fatNr); in read()86 public static Fat create(BootSector bs, int fatNr) in create() argument89 if (fatNr > bs.getNrFats()) { in create()92 " FATs when creating FAT #" + fatNr); in create()95 final long fatOffset = FatUtils.getFatOffset(bs, fatNr); in create()
41 public static long getFatOffset(BootSector bs, int fatNr) { in getFatOffset() argument49 offset += fatNr * fatSize; in getFatOffset()