Lines Matching defs:cond
254 static void emit_bcc(u8 cond, u8 rd, u8 rs, int rvoff,
257 switch (cond) {
290 static void emit_branch(u8 cond, u8 rd, u8 rs, int rvoff,
296 emit_bcc(cond, rd, rs, rvoff, ctx);
311 cond = invert_bpf_cond(cond);
313 emit_bcc(cond, rd, rs, 8, ctx);
324 emit_bcc(cond, rd, rs, 12, ctx);
460 static bool is_signed_bpf_cond(u8 cond)
462 return cond == BPF_JSGT || cond == BPF_JSLT ||
463 cond == BPF_JSGE || cond == BPF_JSLE;