Home
last modified time | relevance | path

Searched refs:prog (Results 1 – 25 of 25) sorted by relevance

/arch/sparc/net/
Dbpf_jit_comp_32.c108 *prog++ = SETHI(0, G0); \
113 *prog++ = SUB | RS1(G0) | RS2(r_A) | RD(r_A); \
118 *prog++ = OR | RS1(G0) | RS2(FROM) | RD(TO); \
123 *prog++ = OR | RS1(G0) | RS2(G0) | RD(REG); \
128 *prog++ = SETHI(K, REG); \
130 *prog++ = OR_LO(K, REG); \
140 *prog++ = OPCODE | RS1(r_A) | RS2(r_X) | RD(r_A); \
163 *prog++ = _insn | IMMED | S13(K); \
166 *prog++ = _insn | RS2(r_TMP); \
175 *prog++ = OR | IMMED | RS1(G0) | S13(K) | RD(DEST); \
[all …]
Dbpf_jit_comp_64.c194 struct bpf_prog *prog; member
831 struct bpf_prog *prog = ctx->prog; in build_prologue() local
834 stack_depth = prog->aux->stack_depth; in build_prologue()
926 const int i = insn - ctx->prog->insnsi; in build_insn()
1268 if (i == ctx->prog->len - 1) in build_insn()
1493 const struct bpf_prog *prog = ctx->prog; in build_body() local
1496 for (i = 0; i < prog->len; i++) { in build_body()
1497 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
1522 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument
1524 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile()
[all …]
/arch/x86/net/
Dbpf_jit_comp.c42 do { prog = emit_code(prog, bytes, len); cnt += len; } while (0)
212 u8 *prog = *pprog; in emit_prologue() local
257 *pprog = prog; in emit_prologue()
274 u8 *prog = *pprog; in emit_bpf_tail_call() local
331 *pprog = prog; in emit_bpf_tail_call()
337 u8 *prog = *pprog; in emit_load_skb_data_hlen() local
351 *pprog = prog; in emit_load_skb_data_hlen()
365 u8 *prog = temp; in do_jit() local
367 emit_prologue(&prog, bpf_prog->aux->stack_depth); in do_jit()
370 emit_load_skb_data_hlen(&prog); in do_jit()
[all …]
/arch/arm64/net/
Dbpf_jit_comp.c67 const struct bpf_prog *prog; member
154 const struct bpf_prog *prog = ctx->prog; in build_prologue() local
210 ctx->stack_size = prog->aux->stack_depth + 4; in build_prologue()
328 const int i = insn - ctx->prog->insnsi; in build_insn()
621 if (i == ctx->prog->len - 1) in build_insn()
806 const struct bpf_prog *prog = ctx->prog; in build_body() local
809 for (i = 0; i < prog->len; i++) { in build_body()
810 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
848 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument
850 struct bpf_prog *tmp, *orig_prog = prog; in bpf_int_jit_compile()
[all …]
/arch/x86/tools/
Dinsn_sanity.c47 static const char *prog; /* Program name */ variable
58 fprintf(stderr, "%s: Error: %s\n\n", prog, err); in usage()
59 fprintf(stderr, "Usage: %s [-y|-n|-v] [-s seed[,no]] [-m max] [-i input]\n", prog); in usage()
113 fprintf(fp, " | %s -i -\n", prog); in dump_stream()
118 fprintf(fp, " $ %s -s 0x%x,%lu\n", prog, seed, nr_iter); in dump_stream()
181 prog = argv[0]; in parse_args()
274 prog, in main()
Dtest_get_len.c39 const char *prog; variable
46 " %s [-y|-n] [-v]\n", prog); in usage()
55 fprintf(stderr, "%s: malformed line %d:\n%s", prog, line_nr, line); in malformed_line()
91 prog = argv[0]; in parse_args()
157 prog, sym); in main()
/arch/mips/net/
Debpf_jit.c346 const struct bpf_prog *prog = ctx->skf; in build_int_epilogue() local
354 td = get_reg_val_type(ctx, prog->len, BPF_REG_0); in build_int_epilogue()
1587 const struct bpf_prog *prog = ctx->skf; in build_int_body() local
1591 for (i = 0; i < prog->len; ) { in build_int_body()
1592 insn = prog->insnsi + i; in build_int_body()
1602 r = build_one_insn(insn, ctx, i, prog->len); in build_int_body()
1617 for (i = 0; i < prog->len; i++) { in build_int_body()
1618 insn = prog->insnsi + i; in build_int_body()
1629 const struct bpf_prog *prog = ctx->skf; in reg_val_propagate_range() local
1636 for (idx = start_idx; idx < prog->len; idx++) { in reg_val_propagate_range()
[all …]
Dbpf_jit.c667 const struct bpf_prog *prog = ctx->skf; in build_body() local
673 for (i = 0; i < prog->len; i++) { in build_body()
676 inst = &(prog->insns[i]); in build_body()
731 emit_b(b_imm(prog->len, ctx), ctx); in build_body()
779 b_imm(prog->len, ctx), ctx); in build_body()
859 b_imm(prog->len, ctx), ctx); in build_body()
868 b_imm(prog->len, ctx), ctx); in build_body()
1059 if (i != prog->len - 1) in build_body()
1064 emit_b(b_imm(prog->len, ctx), ctx); in build_body()
1073 if (i != prog->len - 1) { in build_body()
[all …]
/arch/arm/net/
Dbpf_jit_32.c150 const struct bpf_prog *prog; member
238 (ctx->prog->aux->stack_depth + \
273 offset = ctx->offsets[ctx->prog->len - 1] * 4; in imm_offset()
1202 const int i = insn - ctx->prog->insnsi; in build_insn()
1739 if (i == ctx->prog->len - 1) in build_insn()
1765 const struct bpf_prog *prog = ctx->prog; in build_body() local
1768 for (i = 0; i < prog->len; i++) { in build_body()
1769 const struct bpf_insn *insn = &(prog->insnsi[i]); in build_body()
1804 void bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile() argument
1809 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument
[all …]
/arch/arm/boot/dts/
Dat91-kizboxmini.dts131 prog {
Dat91-kizbox2.dts187 prog {
Dat91sam9261.dtsi651 prog: progck { label
Dat91rm9200.dtsi161 prog: progck { label
Dat91sam9rl.dtsi876 prog: progck { label
Dat91sam9260.dtsi186 prog: progck { label
Dat91sam9n12.dtsi197 prog: progck { label
Dat91sam9263.dtsi157 prog: progck { label
Dat91sam9x5.dtsi201 prog: progck { label
Dat91sam9g45.dtsi194 prog: progck { label
Dsama5d2.dtsi556 prog: progck { label
Dsama5d3.dtsi1064 prog: progck { label
Dsama5d4.dtsi476 prog: progck { label
/arch/powerpc/boot/dts/
Dac14xx.dts101 &gpio_pic 26 0 /* prog */
136 &gpio_pic 12 0 /* prog */
/arch/mips/include/asm/octeon/
Dcvmx-lmcx-defs.h254 uint64_t prog:8; member
258 uint64_t prog:8;
272 uint64_t prog:8; member
276 uint64_t prog:8;
Dcvmx-mio-defs.h2546 uint64_t prog:1; member
2548 uint64_t prog:1;
2556 uint64_t prog:1; member
2558 uint64_t prog:1;