Searched defs:fstypes (Results 1 - 1 of 1) sorted by relevance

/external/toybox/toys/other/
H A Dblkid.c36 static const struct fstype fstypes[] = { variable in typeref:struct:fstype
75 for (i=0; i < sizeof(fstypes)/sizeof(struct fstype); i++) {
79 if (fstypes[i].magic_offset > off+sizeof(toybuf)) {
83 if (fstypes[i].magic_offset < off) continue;
87 for (j = 0; j < fstypes[i].magic_len; j++)
88 test += ((uint64_t)toybuf[j+fstypes[i].magic_offset-off])<<(8*j);
89 if (test == fstypes[i].magic) break;
92 if (i == ARRAY_LEN(fstypes)) {
101 type = fstypes[i].name;
118 if (fstypes[
[all...]

Completed in 41 milliseconds