Lines Matching refs:trx
566 struct trx_header *trx;
574 trx = (struct trx_header *) buf;
588 if (le32_to_cpu(trx->magic) == TRX_MAGIC) {
590 *trx_size = le32_to_cpu(trx->len);
591 if (trx->offsets[1] == 0)
596 off += le32_to_cpu(trx->offsets[1]);
636 struct trx_header *trx;
653 trx = (struct trx_header *) buf;
952 struct trx_header *trx;
967 trx = (struct trx_header *) buf;
985 if (le32_to_cpu(trx->magic) == TRX_MAGIC) {
987 off = offset + (le32_to_cpu(trx->offsets[1]) & ~mask) - blocksize;
988 shift = (le32_to_cpu(trx->offsets[1]) & mask);