Lines Matching refs:prog_len
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()
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()
4540 prog = kmemdup(nfp_prog->prog, nfp_prog->prog_len * sizeof(u64), in nfp_bpf_relo_for_vnic()
4545 for (i = 0; i < nfp_prog->prog_len; i++) { in nfp_bpf_relo_for_vnic()
4618 err = nfp_bpf_ustore_calc(prog, nfp_prog->prog_len); in nfp_bpf_relo_for_vnic()