Lines Matching refs:sblk
1971 static char sblk[SBLOCKSIZE] __aligned(8); /* is this enough? */ in get_last_mounted() local
1972 struct fs *SB = (struct fs *)sblk; in get_last_mounted()
1988 if (pread(fd, sblk, sizeof sblk, in get_last_mounted()
1989 (off_t)partstart * (off_t)512 + *sbp) != sizeof sblk) in get_last_mounted()
1997 sblk[0x42] == 0x29 && memcmp(sblk + 0x52, "FAT", 3) == 0) { in get_last_mounted()
2001 if (sblk[i] != ' ') in get_last_mounted()
2003 sblk[i] = 0; in get_last_mounted()
2005 sblk[0x52] = 0; in get_last_mounted()
2009 *fs_sub_type = sblk[0x53]; in get_last_mounted()
2010 return sblk + 0x47; in get_last_mounted()
2012 memcmp(sblk+3, "NTFS ", 8) == 0) { in get_last_mounted()