Home
last modified time | relevance | path

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

/dpdk/lib/bpf/
H A Dbpf_validate.c1133 static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = { variable
1742 if (ins_chk[op].mask.dreg == 0) in check_syntax()
1745 if ((ins_chk[op].mask.dreg & 1 << ins->dst_reg) == 0) in check_syntax()
1748 if ((ins_chk[op].mask.sreg & 1 << ins->src_reg) == 0) in check_syntax()
1752 if (ins_chk[op].off.min > off || ins_chk[op].off.max < off) in check_syntax()
1756 if (ins_chk[op].imm.min > imm || ins_chk[op].imm.max < imm) in check_syntax()
1759 if (ins_chk[op].check != NULL) in check_syntax()
1760 return ins_chk[op].check(ins); in check_syntax()
2262 if (ins_chk[op].eval != NULL && rc == 0) { in evaluate()
2263 err = ins_chk[op].eval(bvf, ins + idx); in evaluate()