Home
last modified time | relevance | path

Searched refs:BPF_ALU64_IMM (Results 1 – 8 of 8) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_align.c74 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1),
75 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1),
76 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1),
77 BPF_ALU64_IMM(BPF_LSH, BPF_REG_3, 1),
78 BPF_ALU64_IMM(BPF_RSH, BPF_REG_3, 4),
80 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
81 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
82 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
83 BPF_ALU64_IMM(BPF_RSH, BPF_REG_4, 1),
108 BPF_ALU64_IMM(BPF_ADD, BPF_REG_3, 4),
[all …]
Dtest_verifier.c179 insn[i++] = BPF_ALU64_IMM(BPF_RSH, BPF_REG_1, 32); in bpf_fill_rand_ld_dw()
198 BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, -48), \
209 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, 2),
212 BPF_ALU64_IMM(BPF_ADD, BPF_REG_1, -1),
213 BPF_ALU64_IMM(BPF_MUL, BPF_REG_1, 3),
447 BPF_ALU64_IMM(BPF_DIV, BPF_REG_0, -1),
498 BPF_ALU64_IMM(BPF_MOD, BPF_REG_2, -1),
512 BPF_ALU64_IMM(BPF_LSH, BPF_REG_2, 32),
513 BPF_ALU64_IMM(BPF_OR, BPF_REG_2, 0xffff),
742 BPF_ALU64_IMM(BPF_ARSH, BPF_REG_0, 5),
[all …]
Dtest_cgroup_storage.c24 BPF_ALU64_IMM(BPF_ADD, BPF_REG_3, 0x1), in main()
34 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0x1), in main()
Dtest_tag.c33 prog[i] = BPF_ALU64_IMM(BPF_MOV, i % BPF_REG_10, rand()); in bpf_gen_imm_prog()
49 prog[insns - 2] = BPF_ALU64_IMM(BPF_MOV, i % BPF_REG_10, 42); in bpf_gen_map_prog()
Dtest_progs.c696 BPF_ALU64_IMM(BPF_MOV, BPF_REG_0, 0), in test_obj_name()
/external/iproute2/include/
Dbpf_util.h88 #define BPF_ALU64_IMM(OP, DST, IMM) \ macro
/external/bcc/src/cc/
Dlibbpf.h145 #define BPF_ALU64_IMM(OP, DST, IMM) \ macro
/external/bcc/src/cc/includes/
Dlibbpf.h145 #define BPF_ALU64_IMM(OP, DST, IMM) \ macro