Lines Matching refs:offset
48 size_t len = sample->raw_size, offset = 0; in s390_cpumcfdg_testctr() local
55 while (offset < len) { in s390_cpumcfdg_testctr()
56 cep = (struct cf_ctrset_entry *)(buf + offset); in s390_cpumcfdg_testctr()
62 if (!ctrset_valid(&ce) || offset + ctrset_size(&ce) > len) { in s390_cpumcfdg_testctr()
72 if (len - offset - sizeof(*te) == 4) in s390_cpumcfdg_testctr()
74 pr_err("Invalid counter set entry at %zd\n", offset); in s390_cpumcfdg_testctr()
77 offset += ctrset_size(&ce); in s390_cpumcfdg_testctr()
83 static void s390_cpumcfdg_dumptrail(const char *color, size_t offset, in s390_cpumcfdg_dumptrail() argument
103 offset, te.clock_base ? 'T' : ' ', in s390_cpumcfdg_dumptrail()
158 size_t i, len = sample->raw_size, offset = 0; in s390_cpumcfdg_dump() local
168 while (offset < len) { in s390_cpumcfdg_dump()
169 cep = (struct cf_ctrset_entry *)(buf + offset); in s390_cpumcfdg_dump()
177 s390_cpumcfdg_dumptrail(color, offset, in s390_cpumcfdg_dump()
183 " Counters:%d\n", offset, ce.set, ce.ctr); in s390_cpumcfdg_dump()
191 offset += ctrset_size(&ce); in s390_cpumcfdg_dump()