Home
last modified time | relevance | path

Searched refs:alu32 (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A DMakefile257 # Similar to CLANG_BPF_BUILD_RULE, but with disabled alu32
399 TRUNNER_BPF_LDFLAGS := -mattr=+alu32
/kernel/linux/linux-6.6/lib/
H A Dtest_bpf.c595 u8 mode, bool alu32) in __bpf_fill_alu_shift()
603 int bits = alu32 ? 32 : 64; in __bpf_fill_alu_shift()
626 if (alu32) { in __bpf_fill_alu_shift()
734 bool alu32) in __bpf_fill_alu_shift_same_reg()
736 int bits = alu32 ? 32 : 64; in __bpf_fill_alu_shift_same_reg()
753 if (alu32) in __bpf_fill_alu_shift_same_reg()
760 if (alu32) in __bpf_fill_alu_shift_same_reg()
1218 static int __bpf_fill_alu_imm_regs(struct bpf_test *self, u8 op, bool alu32) in __bpf_fill_alu_imm_regs() argument
1232 if (alu32) in __bpf_fill_alu_imm_regs()
1243 if (alu32) in __bpf_fill_alu_imm_regs()
594 __bpf_fill_alu_shift(struct bpf_test *self, u8 op, u8 mode, bool alu32) __bpf_fill_alu_shift() argument
733 __bpf_fill_alu_shift_same_reg(struct bpf_test *self, u8 op, bool alu32) __bpf_fill_alu_shift_same_reg() argument
1401 __bpf_fill_alu_reg_pairs(struct bpf_test *self, u8 op, bool alu32) __bpf_fill_alu_reg_pairs() argument
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dverifier.c3687 /* BPF architecture zero extends alu32 ops into 64-bit registesr */
7004 /* Its not easy to operate on alu32 bounds here because it depends in scalar_min_max_rsh()
7054 /* Its not easy to operate on alu32 bounds here because it depends in scalar_min_max_arsh()
7079 bool alu32 = (BPF_CLASS(insn->code) != BPF_ALU64); in adjust_scalar_min_max_vals() local
7092 if (alu32) { in adjust_scalar_min_max_vals()
7128 /* Calculate sign/unsigned bounds and tnum for alu32 and alu64 bit ops. in adjust_scalar_min_max_vals()
7130 * alu32 and alu64 sign/unsigned bounds independently this provides the in adjust_scalar_min_max_vals()
7135 * See alu32 verifier tests for examples. The second class of in adjust_scalar_min_max_vals()
7181 if (alu32) in adjust_scalar_min_max_vals()
7194 if (alu32) in adjust_scalar_min_max_vals()
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dverifier.c6031 /* BPF architecture zero extends alu32 ops into 64-bit registesr */
13186 /* Its not easy to operate on alu32 bounds here because it depends in scalar_min_max_rsh()
13236 /* Its not easy to operate on alu32 bounds here because it depends in scalar_min_max_arsh()
13261 bool alu32 = (BPF_CLASS(insn->code) != BPF_ALU64); in adjust_scalar_min_max_vals() local
13274 if (alu32) { in adjust_scalar_min_max_vals()
13310 /* Calculate sign/unsigned bounds and tnum for alu32 and alu64 bit ops. in adjust_scalar_min_max_vals()
13312 * alu32 and alu64 sign/unsigned bounds independently this provides the in adjust_scalar_min_max_vals()
13317 * See alu32 verifier tests for examples. The second class of in adjust_scalar_min_max_vals()
13363 if (alu32) in adjust_scalar_min_max_vals()
13376 if (alu32) in adjust_scalar_min_max_vals()
[all...]

Completed in 35 milliseconds