Lines Matching refs:bps
92 ushort_t bps; member
107 #define PC_BPSEC(h) ltohs((h)->bs.bps[0])
237 h->bps = PC_BPSEC(h); in read_bootsec()
282 return (fatmatch && h->bps > 0 && h->bps % 512 == 0 && in well_formed()
299 if ((h->bps == 0) || (h->bs.spcl == 0)) { in calculate_parameters()
303 ((PC_NROOTENT(h) * 32) + (h->bps - 1)) / h->bps; in calculate_parameters()
359 if ((secsize = h->bps) > sizeof (buf)) { in get_label_16()
402 clustersize = h->bs.spcl * h->bps; in get_label_32()
411 offset = h->offset + FirstSectorofCluster * h->bps; in get_label_32()
443 ThisFATSecNum = PC_RESSEC(h) + (n * 4) / h->bps; in next_cluster_32()
444 ThisFATEntOffset = (n * 4) % h->bps; in next_cluster_32()
445 offset = h->offset + ThisFATSecNum * h->bps; in next_cluster_32()
509 h->bps, h->bs.spcl); in dumpfs()
581 ADD_UINT32(h, "bytes_per_sector", h->bps); in get_attr()