Lines Matching refs:BPF_K
1037 if (b->s.code == (BPF_JMP|BPF_JEQ|BPF_K) && in opt_peep()
1087 else if (last->s.code == (BPF_ALU|BPF_SUB|BPF_K)) { in opt_peep()
1103 else if (last->s.code == (BPF_ALU|BPF_AND|BPF_K) && in opt_peep()
1106 b->s.code = BPF_JMP|BPF_K|BPF_JSET; in opt_peep()
1120 if (b->s.code == (BPF_JMP|BPF_K|BPF_JSET)) { in opt_peep()
1142 if (opt_state->vmap[val].is_const && BPF_SRC(b->s.code) == BPF_K) { in opt_peep()
1265 case BPF_ALU|BPF_ADD|BPF_K: in opt_stmt()
1266 case BPF_ALU|BPF_SUB|BPF_K: in opt_stmt()
1267 case BPF_ALU|BPF_MUL|BPF_K: in opt_stmt()
1268 case BPF_ALU|BPF_DIV|BPF_K: in opt_stmt()
1269 case BPF_ALU|BPF_MOD|BPF_K: in opt_stmt()
1270 case BPF_ALU|BPF_AND|BPF_K: in opt_stmt()
1271 case BPF_ALU|BPF_OR|BPF_K: in opt_stmt()
1272 case BPF_ALU|BPF_XOR|BPF_K: in opt_stmt()
1273 case BPF_ALU|BPF_LSH|BPF_K: in opt_stmt()
1274 case BPF_ALU|BPF_RSH|BPF_K: in opt_stmt()
1333 s->code = BPF_ALU|BPF_K|op; in opt_stmt()
1581 if (BPF_SRC(b->s.code) == BPF_K) in opt_blk()
1672 if (sense && code == (BPF_JMP|BPF_JEQ|BPF_K)) in fold_edge()