Searched refs:magic_offset (Results 1 – 2 of 2) sorted by relevance
/external/toybox/toys/other/ |
D | blkid.c | 33 int magic_len, magic_offset, uuid_off, label_len, label_off; member 79 if (fstypes[i].magic_offset > off+sizeof(toybuf)) { in do_blkid() 83 if (fstypes[i].magic_offset < off) continue; in do_blkid() 88 test += ((uint64_t)toybuf[j+fstypes[i].magic_offset-off])<<(8*j); in do_blkid()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 1871 tdb_off_t *magic_offset) in transaction_setup_recovery() argument 1960 *magic_offset = recovery_offset + offsetof(struct list_struct, magic); in transaction_setup_recovery() 1962 if (methods->tdb_write(tdb, *magic_offset, &magic, sizeof(magic)) == -1) { in transaction_setup_recovery() 1969 if (transaction_sync(tdb, *magic_offset, sizeof(magic)) == -1) { in transaction_setup_recovery() 1982 tdb_off_t magic_offset = 0; in tdb_transaction_commit() local 2038 if (transaction_setup_recovery(tdb, &magic_offset) == -1) { in tdb_transaction_commit() 2092 if (methods->tdb_write(tdb, magic_offset, &zero, 4) == -1) { in tdb_transaction_commit() 2098 if (transaction_sync(tdb, magic_offset, 4) == -1) { in tdb_transaction_commit()
|