Lines Matching refs:BPF_K
796 if (b->s.code == (BPF_JMP|BPF_JEQ|BPF_K) && in opt_peep()
838 else if (last->s.code == (BPF_ALU|BPF_SUB|BPF_K)) { in opt_peep()
850 else if (last->s.code == (BPF_ALU|BPF_AND|BPF_K) && in opt_peep()
853 b->s.code = BPF_JMP|BPF_K|BPF_JSET; in opt_peep()
863 if (b->s.code == (BPF_JMP|BPF_K|BPF_JSET)) { in opt_peep()
885 if (vmap[val].is_const && BPF_SRC(b->s.code) == BPF_K) { in opt_peep()
983 case BPF_ALU|BPF_ADD|BPF_K: in opt_stmt()
984 case BPF_ALU|BPF_SUB|BPF_K: in opt_stmt()
985 case BPF_ALU|BPF_MUL|BPF_K: in opt_stmt()
986 case BPF_ALU|BPF_DIV|BPF_K: in opt_stmt()
987 case BPF_ALU|BPF_MOD|BPF_K: in opt_stmt()
988 case BPF_ALU|BPF_AND|BPF_K: in opt_stmt()
989 case BPF_ALU|BPF_OR|BPF_K: in opt_stmt()
990 case BPF_ALU|BPF_XOR|BPF_K: in opt_stmt()
991 case BPF_ALU|BPF_LSH|BPF_K: in opt_stmt()
992 case BPF_ALU|BPF_RSH|BPF_K: in opt_stmt()
1037 s->code = BPF_ALU|BPF_K|op; in opt_stmt()
1247 if (BPF_SRC(b->s.code) == BPF_K) in opt_blk()
1308 if (sense && code == (BPF_JMP|BPF_JEQ|BPF_K)) in fold_edge()