Home | History | Annotate | Download | only in sgivol

Lines Matching refs:be32toh

238 	if (be32toh(volhdr->magic) != SGI_BOOT_BLOCK_MAGIC)
240 "Use -i first.\n", be32toh(volhdr->magic));
305 checksum += be32toh(l[i]);
317 be32toh(volhdr->voldir[i].block),
318 be32toh(volhdr->voldir[i].bytes),
319 (be32toh(volhdr->voldir[i].bytes) + 511) / 512);
322 if (be32toh(volhdr->partitions[i].blocks)) {
324 i, i + 'a', be32toh(volhdr->partitions[i].blocks),
325 be32toh(volhdr->partitions[i].first),
326 be32toh(volhdr->partitions[i].type),
327 be32toh(volhdr->partitions[i].type) > 13 ? "???" :
328 sgi_types[be32toh(volhdr->partitions[i].type)]);
405 lseek(fd, be32toh(volhdr->voldir[i].block) * 512, SEEK_SET);
409 i = be32toh(volhdr->voldir[i].bytes);
449 if (be32toh(volhdr->voldir[slot].block) > 0) {
622 if (first < (be32toh(volhdr->voldir[n].block) +
623 (be32toh(volhdr->voldir[n].bytes) + 511) / 512) &&
624 (first + blocks) > be32toh(volhdr->voldir[n].block)) {
625 first = be32toh(volhdr->voldir[n].block) +
626 (be32toh(volhdr->voldir[n].bytes) + 511) / 512;
647 if (first + blocks >= be32toh(volhdr->partitions[8].blocks))
661 checksum += be32toh(l[i]);