Lines Matching refs:le64toh
21 r = le64toh(f->header->n_tags) + 1; in journal_file_tag_seqnum()
50 le64toh(o->tag.seqnum), in journal_file_append_tag()
251 … gcry_md_write(f->hmac, o->data.payload, le64toh(o->object.size) - offsetof(Object, data.payload)); in journal_file_hmac_put_object()
257 …gcry_md_write(f->hmac, o->field.payload, le64toh(o->object.size) - offsetof(Object, field.payload)… in journal_file_hmac_put_object()
262 …gcry_md_write(f->hmac, &o->entry.seqnum, le64toh(o->object.size) - offsetof(Object, entry.seqnum)); in journal_file_hmac_put_object()
366 if (le64toh(m->header_size) < sizeof(FSSHeader)) { in journal_file_fss_load()
371 if (le64toh(m->fsprg_state_size) != FSPRG_stateinbytes(le16toh(m->fsprg_secpar))) { in journal_file_fss_load()
376 f->fss_file_size = le64toh(m->header_size) + le64toh(m->fsprg_state_size); in journal_file_fss_load()
387 if (le64toh(m->start_usec) <= 0 || in journal_file_fss_load()
388 le64toh(m->interval_usec) <= 0) { in journal_file_fss_load()
400 f->fss_start_usec = le64toh(f->fss_file->start_usec); in journal_file_fss_load()
401 f->fss_interval_usec = le64toh(f->fss_file->interval_usec); in journal_file_fss_load()
403 f->fsprg_state = (uint8_t*) f->fss_file + le64toh(f->fss_file->header_size); in journal_file_fss_load()
404 f->fsprg_state_size = le64toh(f->fss_file->fsprg_state_size); in journal_file_fss_load()
446 p = le64toh(f->header->field_hash_table_offset); in journal_file_append_first_tag()
455 p = le64toh(f->header->data_hash_table_offset); in journal_file_append_first_tag()