Home
last modified time | relevance | path

Searched refs:magic_offset (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/other/
Dblkid.c42 int magic_len, magic_offset, uuid_off, label_len, label_off; member
105 if (fstypes[i].magic_offset > off+sizeof(toybuf)) { in do_blkid()
109 if (fstypes[i].magic_offset < off) continue; in do_blkid()
114 test += ((uint64_t)toybuf[j+fstypes[i].magic_offset-off])<<(8*j); in do_blkid()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c1876 tdb_off_t *magic_offset) in transaction_setup_recovery() argument
1965 *magic_offset = recovery_offset + offsetof(struct list_struct, magic); in transaction_setup_recovery()
1967 if (methods->tdb_write(tdb, *magic_offset, &magic, sizeof(magic)) == -1) { in transaction_setup_recovery()
1974 if (transaction_sync(tdb, *magic_offset, sizeof(magic)) == -1) { in transaction_setup_recovery()
1987 tdb_off_t magic_offset = 0; in tdb_transaction_commit() local
2043 if (transaction_setup_recovery(tdb, &magic_offset) == -1) { in tdb_transaction_commit()
2097 if (methods->tdb_write(tdb, magic_offset, &zero, 4) == -1) { in tdb_transaction_commit()
2103 if (transaction_sync(tdb, magic_offset, 4) == -1) { in tdb_transaction_commit()