Searched refs:prog_len (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_verifier.c | 94 int prog_len; member 180 self->prog_len = len; in bpf_fill_ld_abs_vlan_push_pop() 202 self->prog_len = i + 1; in bpf_fill_jump_around_ld_abs() 225 self->prog_len = i + 1; in bpf_fill_rand_ld_dw() 254 self->prog_len = i + 1; in bpf_fill_scale1() 283 self->prog_len = i + 1; in bpf_fill_scale2() 295 self->prog_len = 0; in bpf_fill_scale() 943 int prog_len, prog_type = test->prog_type; in do_test_single() local 962 prog_len = test->prog_len; in do_test_single() 964 prog_len = probe_filter_length(prog); in do_test_single() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | musb_trace.h | 306 __field(u32, prog_len) 316 __entry->prog_len = ch->prog_len; 322 __entry->prog_len, __entry->xferred, __entry->len
|
D | musb_cppi41.c | 124 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()
|
D | cppi_dma.h | 140 u32 prog_len; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | offload.c | 241 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()
|
D | jit.c | 49 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() 4451 prog = kvmalloc_array(nfp_prog->prog_len, sizeof(u64), GFP_KERNEL); in nfp_bpf_prog_trim() 4455 nfp_prog->__prog_alloc_len = nfp_prog->prog_len * sizeof(u64); in nfp_bpf_prog_trim() [all …]
|
D | main.h | 517 unsigned int prog_len; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | align.c | 609 int prog_len, i; in do_test_single() local 613 prog_len = probe_filter_length(prog); in do_test_single() 615 prog, prog_len, BPF_F_STRICT_ALIGNMENT, in do_test_single()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | xsk.c | 508 __u32 i, *map_ids, num_maps, prog_len = sizeof(struct bpf_prog_info); in xsk_lookup_bpf_maps() local 515 err = bpf_obj_get_info_by_fd(ctx->prog_fd, &prog_info, &prog_len); in xsk_lookup_bpf_maps() 525 memset(&prog_info, 0, prog_len); in xsk_lookup_bpf_maps() 529 err = bpf_obj_get_info_by_fd(ctx->prog_fd, &prog_info, &prog_len); in xsk_lookup_bpf_maps()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | btf.c | 720 __u32 prog_len = sizeof(prog_info); in build_btf_tables() local 726 &prog_len); in build_btf_tables()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | verifier.c | 10766 u32 prog_len; in adjust_insn_aux_data() local 10777 prog_len = new_prog->len; in adjust_insn_aux_data() 10781 sizeof(struct bpf_insn_aux_data) * (prog_len - off - cnt + 1)); in adjust_insn_aux_data()
|