Home
last modified time | relevance | path

Searched refs:dfun (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_decoder_function.c220 int pt_df_fetch(const struct pt_decoder_function **dfun, const uint8_t *pos, in pt_df_fetch() argument
226 if (!dfun || !config) in pt_df_fetch()
230 *dfun = NULL; in pt_df_fetch()
246 *dfun = &pt_decode_tnt_8; in pt_df_fetch()
251 *dfun = &pt_decode_cyc; in pt_df_fetch()
256 *dfun = &pt_decode_tip; in pt_df_fetch()
261 *dfun = &pt_decode_fup; in pt_df_fetch()
266 *dfun = &pt_decode_tip_pge; in pt_df_fetch()
271 *dfun = &pt_decode_tip_pgd; in pt_df_fetch()
275 *dfun = &pt_decode_unknown; in pt_df_fetch()
[all …]
H A Dpt_query_decoder.c162 const struct pt_decoder_function *dfun; in pt_qry_will_event() local
167 dfun = decoder->next; in pt_qry_will_event()
168 if (!dfun) in pt_qry_will_event()
171 if (dfun->flags & pdff_event) in pt_qry_will_event()
174 if (dfun->flags & pdff_psbend) in pt_qry_will_event()
177 if (dfun->flags & pdff_tip) in pt_qry_will_event()
180 if (dfun->flags & pdff_fup) in pt_qry_will_event()
188 const struct pt_decoder_function *dfun; in pt_qry_will_eos() local
194 dfun = decoder->next; in pt_qry_will_eos()
195 if (dfun) in pt_qry_will_eos()
[all …]
H A Dpt_packet_decoder.c239 const struct pt_decoder_function *dfun; in pt_pkt_next() local
248 errcode = pt_df_fetch(&dfun, decoder->pos, &decoder->config); in pt_pkt_next()
252 if (!dfun) in pt_pkt_next()
255 if (!dfun->packet) in pt_pkt_next()
258 size = dfun->packet(decoder, ppkt); in pt_pkt_next()
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-fetch.c80 const struct pt_decoder_function *dfun; in fetch_null() local
86 errcode = pt_df_fetch(&dfun, NULL, &ffix->config); in fetch_null()
89 errcode = pt_df_fetch(&dfun, ffix->config.begin, NULL); in fetch_null()
97 const struct pt_decoder_function *dfun; in fetch_empty() local
100 errcode = pt_df_fetch(&dfun, ffix->config.end, &ffix->config); in fetch_empty()
108 const struct pt_decoder_function *dfun; in fetch_unknown() local
113 errcode = pt_df_fetch(&dfun, ffix->config.begin, &ffix->config); in fetch_unknown()
115 ptu_ptr_eq(dfun, &pt_decode_unknown); in fetch_unknown()
122 const struct pt_decoder_function *dfun; in fetch_unknown_ext() local
128 errcode = pt_df_fetch(&dfun, ffix->config.begin, &ffix->config); in fetch_unknown_ext()
[all …]
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_decoder_function.h94 extern int pt_df_fetch(const struct pt_decoder_function **dfun,