Home
last modified time | relevance | path

Searched refs:prog_len (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_verifier.c138 int prog_len; member
232 self->prog_len = len; in bpf_fill_ld_abs_vlan_push_pop()
254 self->prog_len = i + 1; in bpf_fill_jump_around_ld_abs()
277 self->prog_len = i + 1; in bpf_fill_rand_ld_dw()
306 self->prog_len = i + 1; in bpf_fill_scale1()
335 self->prog_len = i + 1; in bpf_fill_scale2()
347 self->prog_len = 0; in bpf_fill_scale()
397 self->prog_len = bpf_fill_torturous_jumps_insn_1(insn); in bpf_fill_torturous_jumps()
400 self->prog_len = bpf_fill_torturous_jumps_insn_2(insn); in bpf_fill_torturous_jumps()
416 self->prog_len = i; in bpf_fill_torturous_jumps()
[all …]
/linux-6.6.21/drivers/usb/musb/
Dmusb_trace.h323 __field(u32, prog_len)
333 __entry->prog_len = ch->prog_len;
339 __entry->prog_len, __entry->xferred, __entry->len
Dmusb_cppi41.c124 if (!cppi41_channel->prog_len || in cppi41_trans_done()
158 cppi41_channel->prog_len = remain_bytes; in cppi41_trans_done()
245 transferred = cppi41_channel->prog_len - txstate.residue; in cppi41_dma_callback()
253 cppi41_channel->prog_len = 0; in cppi41_dma_callback()
463 cppi41_channel->prog_len = len; in cppi41_configure_channel()
Dcppi_dma.h137 u32 prog_len; member
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
Doffload.c241 prog->aux->offload->jited_len = nfp_prog->prog_len * sizeof(u64); in nfp_bpf_translate()
517 if (nfp_prog->prog_len > max_prog_len) { in nfp_net_bpf_load()
527 nfp_prog->prog_len * sizeof(u64), in nfp_net_bpf_load()
534 nn_writew(nn, NFP_NET_CFG_BPF_SIZE, nfp_prog->prog_len); in nfp_net_bpf_load()
543 dma_unmap_single(nn->dp.dev, dma_addr, nfp_prog->prog_len * sizeof(u64), in nfp_net_bpf_load()
Djit.c49 if (nfp_prog->__prog_alloc_len / sizeof(u64) == nfp_prog->prog_len) { in nfp_prog_push()
51 nfp_prog->prog_len); in nfp_prog_push()
56 nfp_prog->prog[nfp_prog->prog_len] = insn; in nfp_prog_push()
57 nfp_prog->prog_len++; in nfp_prog_push()
62 return nfp_prog->prog_len; in nfp_prog_current_offset()
175 nfp_prog->prog[nfp_prog->prog_len - 1] |= in emit_br_relo()
229 nfp_prog->prog[nfp_prog->prog_len - 1] |= in emit_br_bit_relo()
643 nfp_prog->prog[nfp_prog->prog_len - 1] |= in wrp_immed_relo()
4457 prog = kvmalloc_array(nfp_prog->prog_len, sizeof(u64), GFP_KERNEL); in nfp_bpf_prog_trim()
4461 nfp_prog->__prog_alloc_len = nfp_prog->prog_len * sizeof(u64); in nfp_bpf_prog_trim()
[all …]
Dmain.h517 unsigned int prog_len; member
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dctx_rewrite.c735 u32 prog_len; member
764 pinfo->prog, pinfo->prog_len, &opts); in match_program()
844 pinfo.prog_len = ARRAY_SIZE(ldx_prog); in run_one_testcase()
877 pinfo.prog_len = ARRAY_SIZE(stx_prog); in run_one_testcase()
886 pinfo.prog_len = ARRAY_SIZE(st_prog); in run_one_testcase()
Dalign.c615 int prog_len, i; in do_test_single() local
619 prog_len = probe_filter_length(prog); in do_test_single()
621 prog, prog_len, &opts); in do_test_single()
/linux-6.6.21/tools/bpf/bpftool/
Dbtf.c838 __u32 prog_len = sizeof(prog_info); in build_btf_tables() local
844 &prog_len); in build_btf_tables()
/linux-6.6.21/kernel/bpf/
Dverifier.c17788 u32 prog_len; in adjust_insn_aux_data() local
17799 prog_len = new_prog->len; in adjust_insn_aux_data()
17803 sizeof(struct bpf_insn_aux_data) * (prog_len - off - cnt + 1)); in adjust_insn_aux_data()