Home | History | Annotate | Download | only in blktrace

Lines Matching refs:magic

64 #define CHECK_MAGIC(t)		(((t)->magic & 0xffffff00) == BLK_IO_TRACE_MAGIC)
92 fprintf(stderr, "bad trace magic %x\n", t->magic);
95 if ((t->magic & 0xff) != SUPPORTED_VERSION) {
97 t->magic & 0xff);
109 t->magic = be32_to_cpu(t->magic);
125 static inline int check_data_endianness(u32 magic)
127 if ((magic & 0xffffff00) == BLK_IO_TRACE_MAGIC) {
132 magic = __bswap_32(magic);
133 if ((magic & 0xffffff00) == BLK_IO_TRACE_MAGIC) {