Lines Matching refs:bsdes
333 local.bsdes = be16toh((flags >> 16 & 0xffff)); in s390_cpumsf_trailer_show()
341 if (te->bsdes != sizeof(struct hws_basic_entry)) { in s390_cpumsf_trailer_show()
352 te->bsdes, te->dsdes, te->overflow, in s390_cpumsf_trailer_show()
372 unsigned short *bsdes, in s390_cpumsf_validate() argument
378 *dsdes = *bsdes = 0; in s390_cpumsf_validate()
386 *bsdes = be16toh(te->bsdes); in s390_cpumsf_validate()
388 if (!te->bsdes && !te->dsdes) { in s390_cpumsf_validate()
394 *bsdes = 32; in s390_cpumsf_validate()
399 *bsdes = 32; in s390_cpumsf_validate()
404 *bsdes = 32; in s390_cpumsf_validate()
409 *bsdes = 32; in s390_cpumsf_validate()
438 unsigned short bsdes, dsdes; in s390_cpumsf_dump() local
445 if (!s390_cpumsf_validate(sf->machine_type, buf, len, &bsdes, in s390_cpumsf_dump()
449 len, sf->machine_type, bsdes, dsdes); in s390_cpumsf_dump()
460 pos += bsdes; in s390_cpumsf_dump()
472 if (!s390_cpumsf_reached_trailer(bsdes + dsdes, pos)) { in s390_cpumsf_dump()
483 te.bsdes = bsdes; in s390_cpumsf_dump()
605 unsigned short bsdes, dsdes; in s390_cpumsf_samples() local
610 if (!s390_cpumsf_validate(sf->machine_type, buf, len, &bsdes, in s390_cpumsf_samples()
637 pos += bsdes; in s390_cpumsf_samples()
646 if (!s390_cpumsf_reached_trailer(bsdes + dsdes, pos)) { in s390_cpumsf_samples()