Lines Matching refs:config

53 			const struct pt_config *config)  in pt_pkt_read_unknown()  argument
59 if (!packet || !pos || !config) in pt_pkt_read_unknown()
62 decode = config->decode.callback; in pt_pkt_read_unknown()
73 size = (*decode)(&packet->payload.unknown, config, pos, in pt_pkt_read_unknown()
74 config->decode.context); in pt_pkt_read_unknown()
84 if (config->end < pos + size) in pt_pkt_read_unknown()
90 int pt_pkt_read_psb(const uint8_t *pos, const struct pt_config *config) in pt_pkt_read_psb() argument
94 if (!pos || !config) in pt_pkt_read_psb()
97 if (config->end < pos + ptps_psb) in pt_pkt_read_psb()
136 const struct pt_config *config) in pt_pkt_read_ip() argument
142 if (!packet || !pos || !config) in pt_pkt_read_ip()
152 if (config->end < pos + ipsize) in pt_pkt_read_ip()
201 const struct pt_config *config) in pt_pkt_read_tnt_8() argument
205 (void) config; in pt_pkt_read_tnt_8()
218 const struct pt_config *config) in pt_pkt_read_tnt_64() argument
223 if (!pos || !config) in pt_pkt_read_tnt_64()
226 if (config->end < pos + ptps_tnt_64) in pt_pkt_read_tnt_64()
239 const struct pt_config *config) in pt_pkt_read_pip() argument
243 if (!packet || !pos || !config) in pt_pkt_read_pip()
246 if (config->end < pos + ptps_pip) in pt_pkt_read_pip()
288 const struct pt_config *config) in pt_pkt_read_mode() argument
292 if (!packet || !pos || !config) in pt_pkt_read_mode()
295 if (config->end < pos + ptps_mode) in pt_pkt_read_mode()
316 const struct pt_config *config) in pt_pkt_read_tsc() argument
318 if (!packet || !pos || !config) in pt_pkt_read_tsc()
321 if (config->end < pos + ptps_tsc) in pt_pkt_read_tsc()
330 const struct pt_config *config) in pt_pkt_read_cbr() argument
332 if (!packet || !pos || !config) in pt_pkt_read_cbr()
335 if (config->end < pos + ptps_cbr) in pt_pkt_read_cbr()
344 const struct pt_config *config) in pt_pkt_read_tma() argument
348 if (!packet || !pos || !config) in pt_pkt_read_tma()
351 if (config->end < pos + ptps_tma) in pt_pkt_read_tma()
370 const struct pt_config *config) in pt_pkt_read_mtc() argument
372 if (!packet || !pos || !config) in pt_pkt_read_mtc()
375 if (config->end < pos + ptps_mtc) in pt_pkt_read_mtc()
384 const struct pt_config *config) in pt_pkt_read_cyc() argument
390 if (!packet || !pos || !config) in pt_pkt_read_cyc()
394 end = config->end; in pt_pkt_read_cyc()
432 const struct pt_config *config) in pt_pkt_read_vmcs() argument
436 if (!packet || !pos || !config) in pt_pkt_read_vmcs()
439 if (config->end < pos + ptps_vmcs) in pt_pkt_read_vmcs()
450 const struct pt_config *config) in pt_pkt_read_mnt() argument
452 if (!packet || !pos || !config) in pt_pkt_read_mnt()
455 if (config->end < pos + ptps_mnt) in pt_pkt_read_mnt()
464 const struct pt_config *config) in pt_pkt_read_exstop() argument
466 if (!packet || !pos || !config) in pt_pkt_read_exstop()
469 if (config->end < pos + ptps_exstop) in pt_pkt_read_exstop()
478 const struct pt_config *config) in pt_pkt_read_mwait() argument
480 if (!packet || !pos || !config) in pt_pkt_read_mwait()
483 if (config->end < pos + ptps_mwait) in pt_pkt_read_mwait()
495 const struct pt_config *config) in pt_pkt_read_pwre() argument
499 if (!packet || !pos || !config) in pt_pkt_read_pwre()
502 if (config->end < pos + ptps_pwre) in pt_pkt_read_pwre()
519 const struct pt_config *config) in pt_pkt_read_pwrx() argument
523 if (!packet || !pos || !config) in pt_pkt_read_pwrx()
526 if (config->end < pos + ptps_pwrx) in pt_pkt_read_pwrx()
547 const struct pt_config *config) in pt_pkt_read_ptw() argument
552 if (!packet || !pos || !config) in pt_pkt_read_ptw()
565 if (config->end < pos + size) in pt_pkt_read_ptw()