Searched refs:ins_chk (Results 1 – 1 of 1) sorted by relevance
1129 static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = { variable1738 if (ins_chk[op].mask.dreg == 0) in check_syntax()1741 if ((ins_chk[op].mask.dreg & 1 << ins->dst_reg) == 0) in check_syntax()1744 if ((ins_chk[op].mask.sreg & 1 << ins->src_reg) == 0) in check_syntax()1748 if (ins_chk[op].off.min > off || ins_chk[op].off.max < off) in check_syntax()1752 if (ins_chk[op].imm.min > imm || ins_chk[op].imm.max < imm) in check_syntax()1755 if (ins_chk[op].check != NULL) in check_syntax()1756 return ins_chk[op].check(ins); in check_syntax()2258 if (ins_chk[op].eval != NULL && rc == 0) { in evaluate()2259 err = ins_chk[op].eval(bvf, ins + idx); in evaluate()