/tools/testing/selftests/bpf/verifier/ |
D | cgroup_skb.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 6 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 8 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, 10 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1, 12 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1, 14 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_6, 16 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_1, 18 BPF_LDX_MEM(BPF_W, BPF_REG_8, BPF_REG_1, 20 BPF_LDX_MEM(BPF_W, BPF_REG_9, BPF_REG_1, 37 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, [all …]
|
D | xdp_direct_packet_access.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 5 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 22 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 23 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 40 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 41 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 57 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 58 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 75 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 76 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, [all …]
|
D | xadd.c | 6 BPF_STX_XADD(BPF_W, BPF_REG_10, BPF_REG_0, -7), 25 BPF_STX_XADD(BPF_W, BPF_REG_0, BPF_REG_1, 3), 26 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, 3), 37 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 38 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 46 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0), 47 BPF_ST_MEM(BPF_W, BPF_REG_2, 3, 0), 48 BPF_STX_XADD(BPF_W, BPF_REG_2, BPF_REG_0, 1), 49 BPF_STX_XADD(BPF_W, BPF_REG_2, BPF_REG_0, 2), 50 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_2, 1), [all …]
|
D | ld_abs.c | 6 BPF_LD_ABS(BPF_W, -0x200000), 18 BPF_LD_ABS(BPF_W, -0x200000), 30 BPF_LD_ABS(BPF_W, -0x200000), 42 BPF_LD_ABS(BPF_W, -0x200000), 54 BPF_LD_ABS(BPF_W, -0x200000), 66 BPF_LD_ABS(BPF_W, -0x200000), 78 BPF_LD_ABS(BPF_W, 0), 88 BPF_LD_ABS(BPF_W, 0), 128 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -64), 129 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_10, -64), [all …]
|
D | direct_packet_access.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 6 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 18 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 20 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 36 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, 38 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 46 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 49 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 56 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 69 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, [all …]
|
D | meta_access.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 6 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, offsetof(struct xdp_md, data)), 20 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 22 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, offsetof(struct xdp_md, data)), 39 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 41 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 57 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 59 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 61 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, offsetof(struct xdp_md, data)), 76 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, [all …]
|
D | ctx_skb.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 7 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 10 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 13 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 16 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 19 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 22 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 25 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 35 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, -4), 53 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, [all …]
|
D | ctx_sk_msg.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 14 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 24 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 34 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 44 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 54 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 56 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 58 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 60 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 70 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, [all …]
|
D | helper_packet_access.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 5 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 25 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 39 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 40 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 64 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 65 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 85 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)), 86 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 105 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, [all …]
|
D | lwt.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 6 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 22 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 24 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 40 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 42 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 57 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 59 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 74 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 76 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, [all …]
|
D | var_off.c | 5 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0), 13 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0), 26 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0), 35 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_2, 0), 48 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0), 57 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_2, 0), 69 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0), 105 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0), 171 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0), 196 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0), [all …]
|
D | ld_ind.c | 6 BPF_LD_IND(BPF_W, BPF_REG_1, -0x200000), 18 BPF_LD_IND(BPF_W, BPF_REG_2, -0x200000), 30 BPF_LD_IND(BPF_W, BPF_REG_3, -0x200000), 42 BPF_LD_IND(BPF_W, BPF_REG_4, -0x200000), 54 BPF_LD_IND(BPF_W, BPF_REG_5, -0x200000), 66 BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000),
|
D | cgroup_storage.c | 7 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), 22 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), 51 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 256), 67 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, -2), 84 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), 100 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), 117 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), 132 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), 161 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 256), 177 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, -2), [all …]
|
D | cgroup_inv_retcode.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0), 14 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0), 24 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0), 64 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0), 65 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 4),
|
D | spin_lock.c | 4 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0), 18 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_6, 0), 32 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0), 46 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0), 61 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0), 75 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_6, 1), 91 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0), 121 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0), 150 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0), 164 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_6, 0), [all …]
|
D | calls.c | 33 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 44 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 58 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 66 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 82 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 90 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 100 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_6, 174 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 190 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 207 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, [all …]
|
D | ctx_sk_lookup.c | 19 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 37 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 55 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 109 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 111 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 113 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 115 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 133 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 151 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 205 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, [all …]
|
D | sock.c | 5 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0), 20 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, offsetof(struct bpf_sock, family)), 34 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, offsetof(struct bpf_sock, type)), 62 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, type)), 81 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, type)), 98 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, family)), 134 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, dst_port)), 300 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetofend(struct bpf_sock, rx_queue_mapping)), 328 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)), 346 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)), [all …]
|
D | ref_tracking.c | 187 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 189 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 196 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_2, 215 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 217 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, 224 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_2, 391 BPF_LD_ABS(BPF_W, 0), 404 BPF_LD_ABS(BPF_W, 0), 423 BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000), 438 BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000), [all …]
|
D | and.c | 31 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), 42 BPF_STX_MEM(BPF_W, BPF_REG_0, BPF_REG_3, 0), 60 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 512),
|
D | d_path.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 0), 22 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 0),
|
D | raw_stack.c | 109 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, 111 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_2, 130 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, 154 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, 156 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_2, 159 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_3, 184 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, 186 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_2,
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt.c | 110 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_0, 0), 124 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1, 131 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 154 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 167 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1, 174 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 196 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1, 215 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 228 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1, 235 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, [all …]
|
D | align.c | 132 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, \ 134 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, \ 230 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0), 263 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0), 276 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0), 291 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0), 379 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0), 390 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0), 455 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_6, 0), 507 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0), [all …]
|
/tools/testing/selftests/bpf/ |
D | test_sock.c | 52 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 69 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 86 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 103 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 234 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 238 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 264 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 268 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
|