/kernel/linux/linux-5.10/lib/ |
H A D | test_bpf.c | 1744 BPF_LD_IMM64(R0, 0xffffffffffffffffLL), 1784 BPF_LD_IMM64(R0, 0xffffffffffffffffLL), 1824 BPF_LD_IMM64(R0, 0xffffffffffffffffLL), 1834 BPF_LD_IMM64(R0, 0x0LL), 1835 BPF_LD_IMM64(R1, 0x0LL), 1836 BPF_LD_IMM64(R2, 0x0LL), 1837 BPF_LD_IMM64(R3, 0x0LL), 1838 BPF_LD_IMM64(R4, 0x0LL), 1839 BPF_LD_IMM64(R5, 0x0LL), 1840 BPF_LD_IMM64(R [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_bpf.c | 469 struct bpf_insn tmp[] = {BPF_LD_IMM64(reg, imm64)}; in __bpf_ld_imm64() 4343 BPF_LD_IMM64(R0, 0xffffffffffffffffLL), 4383 BPF_LD_IMM64(R0, 0xffffffffffffffffLL), 4423 BPF_LD_IMM64(R0, 0xffffffffffffffffLL), 4433 BPF_LD_IMM64(R0, 0x0LL), 4434 BPF_LD_IMM64(R1, 0x0LL), 4435 BPF_LD_IMM64(R2, 0x0LL), 4436 BPF_LD_IMM64(R3, 0x0LL), 4437 BPF_LD_IMM64(R4, 0x0LL), 4438 BPF_LD_IMM64(R [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 249 BPF_LD_IMM64(BPF_REG_8, 291 BPF_LD_IMM64(BPF_REG_8, 335 BPF_LD_IMM64(BPF_REG_8, 341 BPF_LD_IMM64(BPF_REG_8, 347 BPF_LD_IMM64(BPF_REG_8, 0x0ULL), 389 BPF_LD_IMM64(BPF_REG_8, 395 BPF_LD_IMM64(BPF_REG_8, 437 BPF_LD_IMM64(BPF_REG_8, 473 BPF_LD_IMM64(BPF_REG_8, 512 BPF_LD_IMM64(BPF_REG_ [all...] |
H A D | test_sock_addr.c | 667 * [2] BPF_LD_IMM64 & BPF_JMP_REG are used below whenever there is a need to 670 * argument. Also note that BPF_LD_IMM64 contains 2 instructions what matters 743 BPF_LD_IMM64(BPF_REG_8, ip4.u4_addr32), /* See [2]. */ in bind4_prog_load() 759 BPF_LD_IMM64(BPF_REG_8, port.u4_addr32), /* See [2]. */ in bind4_prog_load() 817 BPF_LD_IMM64(BPF_REG_8, ip6.s6_addr32[3]), /* See [2]. */ in bind6_prog_load()
|
H A D | test_lru_map.c | 50 BPF_LD_IMM64(BPF_REG_3, key), in bpf_map_lookup_elem_with_ref_bit()
|
H A D | test_verifier.c | 214 struct bpf_insn tmp[2] = { BPF_LD_IMM64(BPF_REG_1, val) }; in bpf_fill_rand_ld_dw()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 249 BPF_LD_IMM64(BPF_REG_8, 291 BPF_LD_IMM64(BPF_REG_8, 335 BPF_LD_IMM64(BPF_REG_8, 341 BPF_LD_IMM64(BPF_REG_8, 347 BPF_LD_IMM64(BPF_REG_8, 0x0ULL), 389 BPF_LD_IMM64(BPF_REG_8, 395 BPF_LD_IMM64(BPF_REG_8, 437 BPF_LD_IMM64(BPF_REG_8, 473 BPF_LD_IMM64(BPF_REG_8, 512 BPF_LD_IMM64(BPF_REG_ [all...] |
H A D | test_lru_map.c | 48 BPF_LD_IMM64(BPF_REG_3, key), in bpf_map_lookup_elem_with_ref_bit()
|
H A D | test_verifier.c | 266 struct bpf_insn tmp[2] = { BPF_LD_IMM64(BPF_REG_1, val) }; in bpf_fill_rand_ld_dw()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/verifier/ |
H A D | atomic_fetch.c | 4 BPF_LD_IMM64(BPF_REG_1, -1), 28 BPF_LD_IMM64(BPF_REG_1, -1), 52 BPF_LD_IMM64(BPF_REG_1, -1), 75 BPF_LD_IMM64(BPF_REG_1, -1),
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | bpf_insn.h | 80 /* BPF_LD_IMM64 macro encodes single 'load 64-bit immediate' insn */ 81 #define BPF_LD_IMM64(DST, IMM) \ macro 102 /* pseudo BPF_LD_IMM64 insn used to refer to process-local map_fd */
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | bpf_insn.h | 80 /* BPF_LD_IMM64 macro encodes single 'load 64-bit immediate' insn */ 81 #define BPF_LD_IMM64(DST, IMM) \ macro 102 /* pseudo BPF_LD_IMM64 insn used to refer to process-local map_fd */
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | filter.h | 262 /* BPF_LD_IMM64 macro encodes single 'load 64-bit immediate' insn */ 264 #define BPF_LD_IMM64(DST, IMM) \ macro 295 /* pseudo BPF_LD_IMM64 insn used to refer to process-local map_fd */
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | filter.h | 278 /* BPF_LD_IMM64 macro encodes single 'load 64-bit immediate' insn */ 280 #define BPF_LD_IMM64(DST, IMM) \ macro 311 /* pseudo BPF_LD_IMM64 insn used to refer to process-local map_fd */
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | filter.h | 187 /* BPF_LD_IMM64 macro encodes single 'load 64-bit immediate' insn */ 188 #define BPF_LD_IMM64(DST, IMM) \ macro 205 /* pseudo BPF_LD_IMM64 insn used to refer to process-local map_fd */
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | filter.h | 196 /* BPF_LD_IMM64 macro encodes single 'load 64-bit immediate' insn */ 197 #define BPF_LD_IMM64(DST, IMM) \ macro 214 /* pseudo BPF_LD_IMM64 insn used to refer to process-local map_fd */
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | verifier.c | 14704 /* verify BPF_LD_IMM64 instruction */ 14718 verbose(env, "BPF_LD_IMM64 uses reserved fields\n"); in check_ld_imm() 17743 /* now all pseudo BPF_LD_IMM64 instructions load valid in resolve_pseudo_ldimm64() 17764 /* convert pseudo BPF_LD_IMM64 into generic BPF_LD_IMM64 */ 18760 struct bpf_insn addr[2] = { BPF_LD_IMM64(struct_meta_reg, (long)kptr_struct_meta) }; in __fixup_collection_insert_kfunc() 18798 struct bpf_insn addr[2] = { BPF_LD_IMM64(BPF_REG_2, (long)kptr_struct_meta) }; in fixup_kfunc_call() 18809 struct bpf_insn addr[2] = { BPF_LD_IMM64(BPF_REG_2, (long)kptr_struct_meta) }; in fixup_kfunc_call() 19101 BPF_LD_IMM64(BPF_REG_3, (long)prog->aux), in do_misc_fixups() 19241 BPF_LD_IMM64(BPF_REG_ in do_misc_fixups() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 5170 BPF_LD_IMM64(BPF_REG_0, 1),
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 5812 BPF_LD_IMM64(BPF_REG_0, 1),
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | verifier.c | 8406 /* verify BPF_LD_IMM64 instruction */ 8420 verbose(env, "BPF_LD_IMM64 uses reserved fields\n"); in check_ld_imm() 10733 /* now all pseudo BPF_LD_IMM64 instructions load valid in resolve_pseudo_ldimm64() 10747 /* convert pseudo BPF_LD_IMM64 into generic BPF_LD_IMM64 */ 11936 BPF_LD_IMM64(BPF_REG_0, in fixup_bpf_calls()
|