• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/trace/

Lines Matching +defs:op +defs:not

15  * along with this program; if not, write to the Free Software
86 "Field not found",
96 int op;
101 int op;
134 switch (pred->op) { \
162 match = (val == *addr) ^ pred->not; \
204 match = cmp ^ pred->not;
219 match = cmp ^ pred->not;
245 match = cmp ^ pred->not;
264 * - @str might not be NULL-terminated if it's of type DYN_STRING
304 * @not: tell whether the match will have to be inverted
313 * not returns 1 if buff started with a '!'
316 enum regex_type filter_parse_regex(char *buff, int len, char **search, int *not)
322 *not = 1;
326 *not = 0;
354 int not = 0;
356 if (pred->op == OP_GLOB) {
357 type = filter_parse_regex(r->pattern, r->len, &search, &not);
377 pred->not ^= not;
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)
828 pred->not = 1;
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);