| /linux/samples/seccomp/ |
| H A D | bpf-helper.h | 55 #define SYSCALL(nr, jt) \ argument 57 jt 76 #define JEQ(x, jt) JEQ32(x, EXPAND(jt)) argument 77 #define JNE(x, jt) JNE32(x, EXPAND(jt)) argument 78 #define JGT(x, jt) JGT32(x, EXPAND(jt)) argument 79 #define JLT(x, jt) JLT32(x, EXPAND(jt)) argument 80 #define JGE(x, jt) JGE32(x, EXPAND(jt)) argument 81 #define JLE(x, jt) JLE32(x, EXPAND(jt)) argument 82 #define JA(x, jt) JA32(x, EXPAND(jt)) argument 103 #define JEQ(x, jt) \ argument [all …]
|
| H A D | bpf-helper.c | 35 switch ((instr->jt<<8)|instr->jf) { in bpf_resolve_jumps() 44 instr->jt = 0; in bpf_resolve_jumps() 55 instr->jt = 0; in bpf_resolve_jumps() 95 filter->code, filter->jt, filter->jf, filter->k); in seccomp_bpf_print()
|
| /linux/tools/include/uapi/linux/ |
| H A D | filter.h | 26 __u8 jt; /* Jump true */ member 52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
|
| /linux/include/uapi/linux/ |
| H A D | filter.h | 26 __u8 jt; /* Jump true */ member 52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
|
| /linux/tools/bpf/ |
| H A D | bpf_dbg.c | 433 i + 1 + f.jt, i + 1 + f.jf); in bpf_disasm() 444 f->code, f->jt, f->jf, f->k); in bpf_dump_curr() 448 if (f->jt || f->jf) { in bpf_dump_curr() 450 bpf_disasm(*(f + f->jt + 1), r->Pc + f->jt + 1); in bpf_dump_curr() 495 f[i].code, f[i].jt, f[i].jf, f[i].k); in bpf_dump_all() 734 r->Pc += r->A > r->X ? f->jt : f->jf; in bpf_single_step() 737 r->Pc += r->A > K ? f->jt : f->jf; in bpf_single_step() 740 r->Pc += r->A >= r->X ? f->jt : f->jf; in bpf_single_step() 743 r->Pc += r->A >= K ? f->jt : f->jf; in bpf_single_step() 746 r->Pc += r->A == r->X ? f->jt : f->jf; in bpf_single_step() [all …]
|
| H A D | bpf_exp.y | 43 static void bpf_set_curr_instr(uint16_t op, uint8_t jt, uint8_t jf, uint32_t k); 479 static void bpf_set_curr_instr(uint16_t code, uint8_t jt, uint8_t jf, in bpf_set_curr_instr() argument 484 out[curr_instr].jt = jt; in bpf_set_curr_instr() 567 out[i].jt = bpf_encode_jt_jf_offset(off, i); in bpf_reduce_jt_jumps() 597 out[i].jt, out[i].jf, out[i].k); in bpf_pretty_print_c() 607 out[i].jt, out[i].jf, out[i].k); in bpf_pretty_print()
|
| /linux/kernel/bpf/ |
| H A D | liveness.c | 485 struct bpf_iarray *succ, *jt; in bpf_insn_successors() local 488 jt = env->insn_aux_data[idx].jt; in bpf_insn_successors() 489 if (unlikely(jt)) in bpf_insn_successors() 490 return jt; in bpf_insn_successors()
|
| H A D | verifier.c | 18012 struct bpf_iarray *jt; in jt_from_map() local 18016 jt = iarray_realloc(NULL, map->max_entries); in jt_from_map() 18017 if (!jt) in jt_from_map() 18020 n = copy_insn_array_uniq(map, 0, map->max_entries - 1, jt->items); in jt_from_map() 18029 jt->cnt = n; in jt_from_map() 18030 return jt; in jt_from_map() 18033 kvfree(jt); in jt_from_map() 18044 struct bpf_iarray *jt = NULL; in jt_from_subprog() local 18058 kvfree(jt); in jt_from_subprog() 18067 u32 old_cnt = jt ? jt->cnt : 0; in jt_from_subprog() [all …]
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | simult_flows.sh | 162 ./mptcp_connect -jt ${timeout_poll} -l -p $port -T $max_time \ 169 ./mptcp_connect -jt ${timeout_poll} -p $port -T $max_time \
|
| /linux/Documentation/networking/ |
| H A D | filter.rst | 78 __u8 jt; /* Jump true */ 84 a code, jt, jf and k value. jt and jf are jump offsets and k a generic 207 op:16, jt:8, jf:8, k:32 210 encoded. jt and jf are two 8 bit wide jump targets, one for condition 446 /* { op, jt, jf, k }, */ 475 code: [40] jt[0] jf[0] k[12] <-- plain BPF code of current instruction
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ |
| H A D | gsp.c | 754 r535_gsp_acpi_jt(acpi_handle handle, JT_METHOD_DATA *jt) in r535_gsp_acpi_jt() argument 766 jt->status = 0xffff; in r535_gsp_acpi_jt() 780 jt->status = 0; in r535_gsp_acpi_jt() 781 jt->jtCaps = *(u32 *)obj->buffer.pointer; in r535_gsp_acpi_jt() 782 jt->jtRevId = (jt->jtCaps & 0xfff00000) >> 20; in r535_gsp_acpi_jt() 783 jt->bSBIOSCaps = 0; in r535_gsp_acpi_jt()
|
| /linux/arch/sparc/net/ |
| H A D | bpf_jit_comp_32.c | 653 t_offset = addrs[i + filter[i].jt]; in bpf_jit_compile() 656 if (filter[i].jt == filter[i].jf) { in bpf_jit_compile() 692 if (filter[i].jt != 0) { in bpf_jit_compile()
|
| /linux/Documentation/bpf/ |
| H A D | classic_vs_extended.rst | 55 - Conditional jt/jf targets replaced with jt/fall-through: 212 op:16, jt:8, jf:8, k:32 ==> op:8, dst_reg:4, src_reg:4, off:16, imm:32
|
| /linux/kernel/ |
| H A D | seccomp.c | 831 pc += op_res ? insn->jt : insn->jf; in seccomp_is_const_allow()
|
| /linux/net/core/ |
| H A D | filter.c | 765 target = i + fp->jt + 1; in bpf_convert_filter() 771 if (fp->jt == 0) { in bpf_convert_filter() 792 target = i + fp->jt + 1; in bpf_convert_filter() 979 masks[pc + 1 + filter[pc].jt] &= memvalid; in check_load_and_stores() 1133 if (pc + ftest->jt + 1 >= flen || in bpf_check_classic()
|
| /linux/ |
| H A D | .mailmap | 356 Jean Tourrilhes <jt@hpl.hp.com>
|