/linux/tools/testing/selftests/bpf/verifier/ |
H A D | direct_value_access.c | 6 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 4242), 18 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 4242), 30 BPF_ST_MEM(BPF_DW, BPF_REG_1, 8, 4242), 42 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 4242), 54 BPF_ST_MEM(BPF_DW, BPF_REG_1, 8, 4242), 66 BPF_ST_MEM(BPF_DW, BPF_REG_1, 4, 4242), 79 BPF_ST_MEM(BPF_DW, BPF_REG_1, 4, 4242), 91 BPF_ST_MEM(BPF_DW, BPF_REG_1, -1, 4242), 103 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 4242), 115 BPF_ST_MEM(BPF_B, BPF_REG_1, 0, 4), [all …]
|
H A D | map_kptr.c | 10 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0), 14 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 1), 30 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0), 34 BPF_ST_MEM(BPF_W, BPF_REG_0, 0, 0), 50 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0), 81 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0), 113 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0), 118 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 0), 135 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0), 165 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0), [all …]
|
H A D | calls.c | 104 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0), 123 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0), 166 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0), 195 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0), 230 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0), 257 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0), 384 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 674 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 986 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 1009 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), [all …]
|
H A D | jump.c | 7 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 0), 9 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 1), 11 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 2), 13 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 3), 15 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 4), 17 BPF_ST_MEM(BPF_DW, BPF_REG_2, -32, 5), 30 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 0), 33 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 0), 36 BPF_ST_MEM(BPF_DW, BPF_REG_2, -32, 0), 39 BPF_ST_MEM(BPF_DW, BPF_REG_2, -40, 0), [all …]
|
H A D | bpf_st_mem.c | 4 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 42), 20 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 42 BPF_ST_MEM(BPF_DW, BPF_REG_10, -16, 0), 43 BPF_ST_MEM(BPF_DW, BPF_REG_10, -24, 0), 54 BPF_ST_MEM(BPF_B, BPF_REG_0, 0, 0), 83 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, -44),
|
H A D | atomic_fetch_add.c | 6 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3), 28 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3), 49 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3), 61 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
|
H A D | atomic_and.c | 5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110), 27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110), 57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110), 82 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
|
H A D | atomic_xor.c | 5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110), 27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110), 57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110),
|
H A D | atomic_fetch.c | 12 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 36 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 60 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 83 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0), 100 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, operand1), \
|
H A D | atomic_or.c | 5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110), 27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110), 57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110),
|
H A D | atomic_cmpxchg.c | 5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3), 42 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3), 78 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3), 115 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
|
H A D | atomic_xchg.c | 5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3), 28 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3),
|
H A D | bpf_loop_inline.c | 186 BPF_ST_MEM(BPF_W, BPF_REG_10, -12, 0x77), 206 BPF_ST_MEM(BPF_DW, BPF_REG_10, -32, 0x55), 220 BPF_ST_MEM(BPF_W, BPF_REG_10, -12, 0x77), 231 BPF_ST_MEM(BPF_DW, BPF_REG_10, -32, 0x55),
|
H A D | precise.c | 9 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -8, 0), 68 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -8, 0), 148 BPF_ST_MEM(BPF_DW, BPF_REG_3, -8, 0),
|
H A D | jmp32.c | 795 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 810 BPF_ST_MEM(BPF_B, BPF_REG_8, 0, 0), 822 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 838 BPF_ST_MEM(BPF_B, BPF_REG_8, 0, 0), 850 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 866 BPF_ST_MEM(BPF_B, BPF_REG_8, 0, 0),
|
H A D | basic_stx_ldx.c | 22 BPF_ST_MEM(BPF_B, 14, -1, -1),
|
H A D | ctx_skb.c | 45 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 69 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 92 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_spill_fill.c | 497 __imm_insn(fp1_u8_st_zero, BPF_ST_MEM(BPF_B, BPF_REG_FP, -1, 0)), in spill_subregs_preserve_stack_zero() 498 __imm_insn(fp10_u16_st_zero, BPF_ST_MEM(BPF_H, BPF_REG_FP, -10, 0)), in spill_subregs_preserve_stack_zero() 499 __imm_insn(fp18_u16_st_zero, BPF_ST_MEM(BPF_H, BPF_REG_FP, -18, 0)) in spill_subregs_preserve_stack_zero() 592 __imm_insn(fp8_st_zero, BPF_ST_MEM(BPF_DW, BPF_REG_FP, -8, 0)) in partial_stack_load_preserves_zeros() 633 __imm_insn(fp4_st_zero, BPF_ST_MEM(BPF_W, BPF_REG_FP, -4, 0)) in partial_stack_load_preserves_partial_zeros() 712 __imm_insn(fp8_st_one, BPF_ST_MEM(BPF_DW, BPF_REG_FP, -8, 1)) in __flag() 787 __imm_insn(fp8_st_one, BPF_ST_MEM(BPF_W, BPF_REG_FP, -8, 1)) /* 32-bit spill */ in __flag()
|
H A D | syscall.c | 103 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), in load_prog()
|
H A D | verifier_unpriv.c | 395 BPF_ST_MEM(BPF_W, BPF_REG_1, offsetof(struct __sk_buff, mark), 42)) in fill_of_different_pointers_st()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 306 BPF_ST_MEM(BPF_B, BPF_REG_2, 0, 0xFF), 398 BPF_ST_MEM(BPF_B, BPF_REG_2, 0, 0xF0), 714 BPF_ST_MEM(BPF_B, BPF_REG_2, 0, 0xF0), 751 BPF_ST_MEM(BPF_B, BPF_REG_2, 0, 1 << 3),
|
H A D | fd_array.c | 103 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), in __load_test_prog()
|
/linux/Documentation/bpf/ |
H A D | verifier.rst | 654 BPF_ST_MEM(BPF_DW, BPF_REG_10, 8, 0), 680 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 699 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 704 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 0), 720 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 726 BPF_ST_MEM(BPF_DW, BPF_REG_0, 4, 0), 745 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 751 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 0), 753 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 1),
|
/linux/samples/bpf/ |
H A D | bpf_insn.h | 165 #define BPF_ST_MEM(SIZE, DST, OFF, IMM) \ macro
|
H A D | cookie_uid_helper_example.c | 120 BPF_ST_MEM(BPF_DW, BPF_REG_10, in prog_load()
|