Searched refs:pkt_len (Results 1 – 10 of 10) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | test_xdp_bpf2bpf.c | 34 int pkt_len; member 52 meta.pkt_len = data_end - data; in BPF_PROG() 54 ((__u64) meta.pkt_len << 32) | in BPF_PROG()
|
D | test_spin_lock.c | 51 volatile int credit = 0, max_credit = 100, pkt_len = 64; in bpf_sping_lock_test() local 88 q->credit -= pkt_len; in bpf_sping_lock_test()
|
/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-log.c | 97 void __intel_pt_log_packet(const struct intel_pt_pkt *packet, int pkt_len, in __intel_pt_log_packet() argument 105 intel_pt_print_data(buf, pkt_len, pos, 0); in __intel_pt_log_packet()
|
D | intel-pt-log.h | 21 void __intel_pt_log_packet(const struct intel_pt_pkt *packet, int pkt_len,
|
D | intel-pt-decoder.c | 184 int pkt_len; member 554 intel_pt_log_packet(&decoder->packet, decoder->pkt_len, decoder->pos, in intel_pt_decoder_log_packet() 601 decoder->pkt_len = 1; in intel_pt_bad_packet() 714 int pkt_len; member 733 pkt_info.pkt_len = decoder->pkt_step; in intel_pt_pkt_lookahead() 739 pkt_info.pos += pkt_info.pkt_len; in intel_pt_pkt_lookahead() 740 buf += pkt_info.pkt_len; in intel_pt_pkt_lookahead() 741 len -= pkt_info.pkt_len; in intel_pt_pkt_lookahead() 753 pkt_info.pkt_len = ret; in intel_pt_pkt_lookahead() 1032 decoder->pkt_len = ret; in intel_pt_get_next_packet()
|
/tools/bpf/ |
D | bpf_dbg.c | 470 static void bpf_dump_pkt(uint8_t *pkt, uint32_t pkt_caplen, uint32_t pkt_len) in bpf_dump_pkt() argument 472 if (pkt_caplen != pkt_len) in bpf_dump_pkt() 473 rl_printf("cap: %u, len: %u\n", pkt_caplen, pkt_len); in bpf_dump_pkt() 475 rl_printf("len: %u\n", pkt_len); in bpf_dump_pkt() 634 uint32_t pkt_len) in bpf_single_step() argument 713 r->A = pkt_len; in bpf_single_step() 716 r->A = pkt_len; in bpf_single_step() 856 uint32_t pkt_len) in bpf_handle_breakpoint() argument 861 bpf_dump_pkt(pkt, pkt_caplen, pkt_len); in bpf_handle_breakpoint() 867 uint32_t pkt_caplen, uint32_t pkt_len) in bpf_run_all() argument [all …]
|
/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_bpf2bpf.c | 10 int pkt_len; member 28 if (CHECK(meta->pkt_len != sizeof(pkt_v4), "check_meta_pkt_len", in on_sample()
|
/tools/perf/util/ |
D | arm-spe.c | 99 int ret, pkt_len, i; in arm_spe_dump() local 110 pkt_len = ret; in arm_spe_dump() 112 pkt_len = 1; in arm_spe_dump() 115 for (i = 0; i < pkt_len; i++) in arm_spe_dump() 127 pos += pkt_len; in arm_spe_dump() 128 buf += pkt_len; in arm_spe_dump() 129 len -= pkt_len; in arm_spe_dump()
|
D | intel-pt.c | 199 int ret, pkt_len, i; in intel_pt_dump() local 211 pkt_len = ret; in intel_pt_dump() 213 pkt_len = 1; in intel_pt_dump() 216 for (i = 0; i < pkt_len; i++) in intel_pt_dump() 228 pos += pkt_len; in intel_pt_dump() 229 buf += pkt_len; in intel_pt_dump() 230 len -= pkt_len; in intel_pt_dump()
|
/tools/testing/selftests/bpf/ |
D | xdpxceiver.c | 423 static struct pkt_stream *pkt_stream_generate(u32 nb_pkts, u32 pkt_len) in pkt_stream_generate() argument 439 pkt_stream->pkts[i].len = pkt_len; in pkt_stream_generate()
|