Lines Matching defs:te
310 static unsigned long long trailer_timestamp(struct hws_trailer_entry *te,
313 /* te->t set: TOD in STCKE format, bytes 8-15
318 memcpy(&ts, &te->timestamp[idx], sizeof(ts));
324 struct hws_trailer_entry *te)
328 const unsigned long long flags = be64toh(te->flags);
336 memcpy(&local.timestamp, te->timestamp, sizeof(te->timestamp));
337 local.overflow = be64toh(te->overflow);
338 local.clock_base = be64toh(te->progusage[0]) >> 63 & 1;
339 local.progusage2 = be64toh(te->progusage2);
340 te = &local;
342 if (te->bsdes != sizeof(struct hws_basic_entry)) {
350 te->f ? 'F' : ' ',
351 te->a ? 'A' : ' ',
352 te->t ? 'T' : ' ',
353 te->bsdes, te->dsdes, te->overflow,
354 trailer_timestamp(te, te->clock_base),
355 te->clock_base, te->progusage2);
377 struct hws_trailer_entry *te;
385 te = (struct hws_trailer_entry *)(buf + S390_CPUMSF_PAGESZ
386 - sizeof(*te));
387 *bsdes = be16toh(te->bsdes);
388 *dsdes = be16toh(te->dsdes);
389 if (!te->bsdes && !te->dsdes) {
475 struct hws_trailer_entry te;
479 pos -= sizeof(te);
480 memcpy(&te, buf + pos, sizeof(te));
484 te.bsdes = bsdes;
485 te.dsdes = dsdes;
486 if (s390_cpumsf_trailer_show(color, pos, &te))
487 pos += sizeof(te);
549 struct hws_trailer_entry *te;
553 te = (struct hws_trailer_entry *)(buf + S390_CPUMSF_PAGESZ
554 - sizeof(*te));
557 clock_base = be64toh(te->progusage[0]) >> 63 & 0x1;
558 progusage2 = be64toh(te->progusage[1]);
560 clock_base = te->clock_base;
561 progusage2 = te->progusage2;
570 aux_time = trailer_timestamp(te, clock_base) - progusage2;