MCPcopy Create free account
hub / github.com/F-Stack/f-stack / eval_fill_imm

Function eval_fill_imm

dpdk/lib/bpf/bpf_validate.c:182–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182static void
183eval_fill_imm(struct bpf_reg_val *rv, uint64_t mask, int32_t imm)
184{
185 uint64_t v;
186
187 v = (uint64_t)imm & mask;
188
189 rv->v.type = RTE_BPF_ARG_RAW;
190 eval_fill_imm64(rv, mask, v);
191}
192
193static const char *
194eval_ld_imm64(struct bpf_verifier *bvf, const struct ebpf_insn *ins)

Callers 6

eval_ld_mbufFunction · 0.85
eval_aluFunction · 0.85
eval_ptrFunction · 0.85
eval_loadFunction · 0.85
eval_storeFunction · 0.85
eval_jccFunction · 0.85

Calls 1

eval_fill_imm64Function · 0.85

Tested by

no test coverage detected