Home
last modified time | relevance | path

Searched refs:ctc (Results 1 – 12 of 12) sorted by relevance

/freebsd-12-stable/contrib/processor-trace/libipt/src/
Dpt_time.c84 static int pt_time_ctc_delta(uint32_t *ctc_delta, uint32_t ctc, in pt_time_ctc_delta() argument
93 if (ctc < last_ctc) { in pt_time_ctc_delta()
94 ctc += 1u << (config->mtc_freq + pt_pl_mtc_bit_size); in pt_time_ctc_delta()
99 if (ctc < last_ctc) in pt_time_ctc_delta()
103 *ctc_delta = ctc - last_ctc; in pt_time_ctc_delta()
111 static int pt_time_ctc_fc(uint64_t *fc, uint64_t ctc, in pt_time_ctc_fc() argument
126 *fc = (ctc * ebx) / eax; in pt_time_ctc_fc()
143 time->ctc = 0; in pt_time_update_tsc()
172 uint32_t ctc, mtc_freq, mtc_hi, ctc_mask; in pt_time_update_tma() local
190 ctc = packet->ctc; in pt_time_update_tma()
[all …]
Dpt_encoder.c454 uint16_t ctc, fc; in pt_enc_next() local
460 ctc = packet->payload.tma.ctc; in pt_enc_next()
468 pos = pt_encode_int(pos, ctc, pt_pl_tma_ctc_size); in pt_enc_next()
482 *pos++ = packet->payload.mtc.ctc; in pt_enc_next()
489 uint64_t ctc; in pt_enc_next() local
491 ctc = (uint8_t) packet->payload.cyc.value; in pt_enc_next()
492 ctc <<= pt_opm_cyc_shr; in pt_enc_next()
495 byte[0] |= (uint8_t) ctc; in pt_enc_next()
497 ctc = packet->payload.cyc.value; in pt_enc_next()
498 ctc >>= (8 - pt_opm_cyc_shr); in pt_enc_next()
[all …]
Dpt_packet.c346 uint16_t ctc, fc; in pt_pkt_read_tma() local
354 ctc = pos[pt_pl_tma_ctc_0]; in pt_pkt_read_tma()
355 ctc |= pos[pt_pl_tma_ctc_1] << 8; in pt_pkt_read_tma()
363 packet->ctc = ctc; in pt_pkt_read_tma()
378 packet->ctc = pos[pt_opcs_mtc]; in pt_pkt_read_mtc()
/freebsd-12-stable/cddl/contrib/opensolaris/common/ctf/
Dctf_create.c785 const ctf_funcinfo_t *ctc, const ctf_id_t *argv) in ctf_add_function() argument
794 if (ctc == NULL || (ctc->ctc_flags & ~CTF_FUNC_VARARG) != 0 || in ctf_add_function()
795 (ctc->ctc_argc != 0 && argv == NULL)) in ctf_add_function()
798 vlen = ctc->ctc_argc; in ctf_add_function()
799 if (ctc->ctc_flags & CTF_FUNC_VARARG) in ctf_add_function()
806 if (ctf_lookup_by_id(&fpd, ctc->ctc_return) == NULL && in ctf_add_function()
807 ctf_dtd_lookup(fp, ctc->ctc_return) == NULL) in ctf_add_function()
810 for (i = 0; i < ctc->ctc_argc; i++) { in ctf_add_function()
826 dtd->dtd_data.ctt_type = (ushort_t)ctc->ctc_return; in ctf_add_function()
828 ctf_ref_inc(fp, ctc->ctc_return); in ctf_add_function()
[all …]
/freebsd-12-stable/contrib/processor-trace/libipt/internal/include/
Dpt_encoder.h107 extern int pt_encode_tma(struct pt_encoder *, uint16_t ctc,
111 extern int pt_encode_mtc(struct pt_encoder *, uint8_t ctc);
Dpt_time.h54 uint32_t ctc; member
162 uint32_t ctc; member
/freebsd-12-stable/contrib/processor-trace/libipt/test/src/
Dptunit-time.c287 packet.ctc = 0xdc; in tma()
302 packet.ctc = 0xdc; in mtc()
Dptunit-packet.c336 pfix->packet[0].payload.tma.ctc = 0x42; in tma()
349 pfix->packet[0].payload.tma.ctc = 0x42; in tma_bad()
361 pfix->packet[0].payload.mtc.ctc = 0x23; in mtc()
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
Ddt_open.c1041 ctf_funcinfo_t ctc; in dt_vopen() local
1484 ctc.ctc_return = ctf_lookup_by_name(dmp->dm_ctfp, "int"); in dt_vopen()
1485 ctc.ctc_argc = 0; in dt_vopen()
1486 ctc.ctc_flags = 0; in dt_vopen()
1489 CTF_ADD_ROOT, &ctc, NULL); in dt_vopen()
/freebsd-12-stable/contrib/ipfilter/
DNAT.FreeBSD20 The FAQ was written by Chris Coleman <chris@@bbcc.ctc.edu>
/freebsd-12-stable/contrib/processor-trace/libipt/include/
Dintel-pt.h687 uint16_t ctc; member
696 uint8_t ctc; member
Dintel-pt.h.in687 uint16_t ctc; member
696 uint8_t ctc; member