Lines Matching refs:op
96 int op;
101 int op;
134 switch (pred->op) { \
356 if (pred->op == OP_GLOB) {
708 static int is_legal_op(struct ftrace_event_field *field, int op)
711 (op != OP_EQ && op != OP_NE && op != OP_GLOB))
713 if (!is_string_field(field) && op == OP_GLOB)
719 static filter_pred_fn_t select_comparison_fn(int op, int field_size,
726 if (op == OP_EQ || op == OP_NE)
734 if (op == OP_EQ || op == OP_NE)
742 if (op == OP_EQ || op == OP_NE)
750 if (op == OP_EQ || op == OP_NE)
775 if (pred->op == OP_AND) {
779 } else if (pred->op == OP_OR) {
793 if (!is_legal_op(field, pred->op)) {
819 fn = select_comparison_fn(pred->op, field->size,
827 if (pred->op == OP_NE)
932 static int filter_opstack_push(struct filter_parse_state *ps, int op)
940 opstack_op->op = op;
960 return opstack_op->op;
966 int op;
972 op = opstack_op->op;
977 return op;
999 elt->op = OP_NONE;
1011 static int postfix_append_op(struct filter_parse_state *ps, int op)
1019 elt->op = op;
1042 int op, top_op;
1058 op = infix_get_op(ps, ch);
1059 if (op == OP_NONE) {
1071 if (!is_precedence_lower(ps, top_op, op)) {
1079 filter_opstack_push(ps, op);
1131 static struct filter_pred *create_pred(int op, char *operand1, char *operand2)
1148 pred->op = op;
1153 static struct filter_pred *create_logical_pred(int op)
1161 pred->op = op;
1172 if (elt->op == OP_NONE)
1175 if (elt->op == OP_AND || elt->op == OP_OR) {
1207 if (elt->op == OP_NONE) {
1224 if (elt->op == OP_AND || elt->op == OP_OR) {
1225 pred = create_logical_pred(elt->op);
1234 pred = create_pred(elt->op, operand1, operand2);