pred 23 arch/ia64/include/asm/native/inst.h #define MOV_FROM_IPSR(pred, reg) \ pred 24 arch/ia64/include/asm/native/inst.h (pred) mov reg = cr.ipsr pred 35 arch/ia64/include/asm/native/inst.h #define MOV_FROM_PSR(pred, reg, clob) \ pred 36 arch/ia64/include/asm/native/inst.h (pred) mov reg = psr pred 38 arch/ia64/include/asm/native/inst.h #define MOV_FROM_ITC(pred, pred_clob, reg, clob) \ pred 39 arch/ia64/include/asm/native/inst.h (pred) mov reg = ar.itc pred 44 arch/ia64/include/asm/native/inst.h #define MOV_TO_ITIR(pred, reg, clob) \ pred 45 arch/ia64/include/asm/native/inst.h (pred) mov cr.itir = reg pred 47 arch/ia64/include/asm/native/inst.h #define MOV_TO_IHA(pred, reg, clob) \ pred 48 arch/ia64/include/asm/native/inst.h (pred) mov cr.iha = reg pred 50 arch/ia64/include/asm/native/inst.h #define MOV_TO_IPSR(pred, reg, clob) \ pred 51 arch/ia64/include/asm/native/inst.h (pred) mov cr.ipsr = reg pred 53 arch/ia64/include/asm/native/inst.h #define MOV_TO_IFS(pred, reg, clob) \ pred 54 arch/ia64/include/asm/native/inst.h (pred) mov cr.ifs = reg pred 62 arch/ia64/include/asm/native/inst.h #define ITC_I(pred, reg, clob) \ pred 63 arch/ia64/include/asm/native/inst.h (pred) itc.i reg pred 65 arch/ia64/include/asm/native/inst.h #define ITC_D(pred, reg, clob) \ pred 66 arch/ia64/include/asm/native/inst.h (pred) itc.d reg pred 72 arch/ia64/include/asm/native/inst.h #define THASH(pred, reg0, reg1, clob) \ pred 73 arch/ia64/include/asm/native/inst.h (pred) thash reg0 = reg1 pred 89 arch/ia64/include/asm/native/inst.h #define SSM_PSR_I(pred, pred_clob, clob) \ pred 90 arch/ia64/include/asm/native/inst.h (pred) ssm psr.i pred 92 arch/ia64/include/asm/native/inst.h #define RSM_PSR_I(pred, clob0, clob1) \ pred 93 arch/ia64/include/asm/native/inst.h (pred) rsm psr.i pred 247 arch/ia64/kernel/minstate.h .pred.rel "mutex", pKStk, pUStk pred 451 arch/powerpc/perf/core-book3s.c int r_index, u_index, pred; pred 463 arch/powerpc/perf/core-book3s.c pred = val & BHRB_PREDICTION; pred 502 arch/powerpc/perf/core-book3s.c cpuhw->bhrb_entries[u_index].mispred = pred; pred 503 arch/powerpc/perf/core-book3s.c cpuhw->bhrb_entries[u_index].predicted = ~pred; pred 521 arch/powerpc/perf/core-book3s.c cpuhw->bhrb_entries[u_index].mispred = pred; pred 522 arch/powerpc/perf/core-book3s.c cpuhw->bhrb_entries[u_index].predicted = ~pred; pred 590 arch/x86/events/intel/lbr.c u64 from, to, mis = 0, pred = 0, in_tx = 0, abort = 0; pred 610 arch/x86/events/intel/lbr.c pred = !mis; pred 618 arch/x86/events/intel/lbr.c pred = !mis; pred 627 arch/x86/events/intel/lbr.c pred = !mis; pred 651 arch/x86/events/intel/lbr.c cpuc->lbr_entries[out].predicted = pred; pred 860 drivers/acpi/utils.c if ((plat->pred == all_versions) || pred 861 drivers/acpi/utils.c (plat->pred == less_than_or_equal && hdr.oem_revision <= plat->oem_revision) || pred 862 drivers/acpi/utils.c (plat->pred == greater_than_or_equal && hdr.oem_revision >= plat->oem_revision) || pred 863 drivers/acpi/utils.c (plat->pred == equal && hdr.oem_revision == plat->oem_revision)) pred 2476 drivers/md/bcache/btree.c keybuf_pred_fn *pred; pred 2494 drivers/md/bcache/btree.c if (refill->pred(buf, k)) { pred 2524 drivers/md/bcache/btree.c struct bkey *end, keybuf_pred_fn *pred) pred 2535 drivers/md/bcache/btree.c refill.pred = pred; pred 2626 drivers/md/bcache/btree.c keybuf_pred_fn *pred) pred 2640 drivers/md/bcache/btree.c bch_refill_keybuf(c, buf, end, pred); pred 324 drivers/md/bcache/btree.h struct bkey *end, keybuf_pred_fn *pred); pred 332 drivers/md/bcache/btree.h keybuf_pred_fn *pred); pred 595 drivers/media/platform/davinci/isif.c (module_params->compress.pred << pred 31 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c #define MUX(pred, true, false) ((pred) ? (true) : (false)) pred 597 include/linux/acpi.h enum acpi_predicate pred; pred 400 include/media/davinci/isif.h __u8 pred; pred 5875 kernel/bpf/verifier.c int pred = -1; pred 5917 kernel/bpf/verifier.c pred = is_branch_taken(dst_reg, insn->imm, pred 5921 kernel/bpf/verifier.c pred = is_branch_taken(dst_reg, src_reg->var_off.value, pred 5923 kernel/bpf/verifier.c if (pred >= 0) { pred 5930 kernel/bpf/verifier.c if (pred == 1) { pred 5934 kernel/bpf/verifier.c } else if (pred == 0) { pred 1517 kernel/trace/trace.h typedef int (*filter_pred_fn_t) (struct filter_pred *pred, void *event); pred 102 kernel/trace/trace_events_filter.c struct filter_pred *pred; pred 141 kernel/trace/trace_events_filter.c struct filter_pred **pred); pred 476 kernel/trace/trace_events_filter.c len = parse_pred(next, data, ptr - str, pe, &prog[N].pred); pred 553 kernel/trace/trace_events_filter.c prog[N].pred = NULL; /* #13 */ pred 555 kernel/trace/trace_events_filter.c prog[N+1].pred = NULL; pred 585 kernel/trace/trace_events_filter.c for (i = 0; prog_stack[i].pred; i++) pred 586 kernel/trace/trace_events_filter.c kfree(prog_stack[i].pred); pred 593 kernel/trace/trace_events_filter.c static int filter_pred_LT_##type(struct filter_pred *pred, void *event) \ pred 595 kernel/trace/trace_events_filter.c type *addr = (type *)(event + pred->offset); \ pred 596 kernel/trace/trace_events_filter.c type val = (type)pred->val; \ pred 599 kernel/trace/trace_events_filter.c static int filter_pred_LE_##type(struct filter_pred *pred, void *event) \ pred 601 kernel/trace/trace_events_filter.c type *addr = (type *)(event + pred->offset); \ pred 602 kernel/trace/trace_events_filter.c type val = (type)pred->val; \ pred 605 kernel/trace/trace_events_filter.c static int filter_pred_GT_##type(struct filter_pred *pred, void *event) \ pred 607 kernel/trace/trace_events_filter.c type *addr = (type *)(event + pred->offset); \ pred 608 kernel/trace/trace_events_filter.c type val = (type)pred->val; \ pred 611 kernel/trace/trace_events_filter.c static int filter_pred_GE_##type(struct filter_pred *pred, void *event) \ pred 613 kernel/trace/trace_events_filter.c type *addr = (type *)(event + pred->offset); \ pred 614 kernel/trace/trace_events_filter.c type val = (type)pred->val; \ pred 617 kernel/trace/trace_events_filter.c static int filter_pred_BAND_##type(struct filter_pred *pred, void *event) \ pred 619 kernel/trace/trace_events_filter.c type *addr = (type *)(event + pred->offset); \ pred 620 kernel/trace/trace_events_filter.c type val = (type)pred->val; \ pred 632 kernel/trace/trace_events_filter.c static int filter_pred_##size(struct filter_pred *pred, void *event) \ pred 634 kernel/trace/trace_events_filter.c u##size *addr = (u##size *)(event + pred->offset); \ pred 635 kernel/trace/trace_events_filter.c u##size val = (u##size)pred->val; \ pred 638 kernel/trace/trace_events_filter.c match = (val == *addr) ^ pred->not; \ pred 658 kernel/trace/trace_events_filter.c static int filter_pred_string(struct filter_pred *pred, void *event) pred 660 kernel/trace/trace_events_filter.c char *addr = (char *)(event + pred->offset); pred 663 kernel/trace/trace_events_filter.c cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); pred 665 kernel/trace/trace_events_filter.c match = cmp ^ pred->not; pred 671 kernel/trace/trace_events_filter.c static int filter_pred_pchar(struct filter_pred *pred, void *event) pred 673 kernel/trace/trace_events_filter.c char **addr = (char **)(event + pred->offset); pred 677 kernel/trace/trace_events_filter.c cmp = pred->regex.match(*addr, &pred->regex, len); pred 679 kernel/trace/trace_events_filter.c match = cmp ^ pred->not; pred 694 kernel/trace/trace_events_filter.c static int filter_pred_strloc(struct filter_pred *pred, void *event) pred 696 kernel/trace/trace_events_filter.c u32 str_item = *(u32 *)(event + pred->offset); pred 702 kernel/trace/trace_events_filter.c cmp = pred->regex.match(addr, &pred->regex, str_len); pred 704 kernel/trace/trace_events_filter.c match = cmp ^ pred->not; pred 710 kernel/trace/trace_events_filter.c static int filter_pred_cpu(struct filter_pred *pred, void *event) pred 715 kernel/trace/trace_events_filter.c cmp = pred->val; pred 717 kernel/trace/trace_events_filter.c switch (pred->op) { pred 736 kernel/trace/trace_events_filter.c static int filter_pred_comm(struct filter_pred *pred, void *event) pred 740 kernel/trace/trace_events_filter.c cmp = pred->regex.match(current->comm, &pred->regex, pred 742 kernel/trace/trace_events_filter.c return cmp ^ pred->not; pred 745 kernel/trace/trace_events_filter.c static int filter_pred_none(struct filter_pred *pred, void *event) pred 862 kernel/trace/trace_events_filter.c static void filter_build_regex(struct filter_pred *pred) pred 864 kernel/trace/trace_events_filter.c struct regex *r = &pred->regex; pred 868 kernel/trace/trace_events_filter.c if (pred->op == OP_GLOB) { pred 869 kernel/trace/trace_events_filter.c type = filter_parse_regex(r->pattern, r->len, &search, &pred->not); pred 910 kernel/trace/trace_events_filter.c for (i = 0; prog[i].pred; i++) { pred 911 kernel/trace/trace_events_filter.c struct filter_pred *pred = prog[i].pred; pred 912 kernel/trace/trace_events_filter.c int match = pred->fn(pred, rec); pred 1015 kernel/trace/trace_events_filter.c for (i = 0; prog[i].pred; i++) pred 1016 kernel/trace/trace_events_filter.c kfree(prog[i].pred); pred 1158 kernel/trace/trace_events_filter.c struct filter_pred *pred = NULL; pred 1217 kernel/trace/trace_events_filter.c pred = kzalloc(sizeof(*pred), GFP_KERNEL); pred 1218 kernel/trace/trace_events_filter.c if (!pred) pred 1221 kernel/trace/trace_events_filter.c pred->field = field; pred 1222 kernel/trace/trace_events_filter.c pred->offset = field->offset; pred 1223 kernel/trace/trace_events_filter.c pred->op = op; pred 1237 kernel/trace/trace_events_filter.c pred->fn = filter_pred_none; pred 1264 kernel/trace/trace_events_filter.c pred->regex.len = len; pred 1265 kernel/trace/trace_events_filter.c strncpy(pred->regex.pattern, str + s, len); pred 1266 kernel/trace/trace_events_filter.c pred->regex.pattern[len] = 0; pred 1275 kernel/trace/trace_events_filter.c pred->not = 1; pred 1308 kernel/trace/trace_events_filter.c pred->regex.len = len; pred 1309 kernel/trace/trace_events_filter.c strncpy(pred->regex.pattern, str + s, len); pred 1310 kernel/trace/trace_events_filter.c pred->regex.pattern[len] = 0; pred 1312 kernel/trace/trace_events_filter.c filter_build_regex(pred); pred 1315 kernel/trace/trace_events_filter.c pred->fn = filter_pred_comm; pred 1318 kernel/trace/trace_events_filter.c pred->fn = filter_pred_string; pred 1319 kernel/trace/trace_events_filter.c pred->regex.field_len = field->size; pred 1322 kernel/trace/trace_events_filter.c pred->fn = filter_pred_strloc; pred 1324 kernel/trace/trace_events_filter.c pred->fn = filter_pred_pchar; pred 1368 kernel/trace/trace_events_filter.c pred->val = val; pred 1371 kernel/trace/trace_events_filter.c pred->fn = filter_pred_cpu; pred 1373 kernel/trace/trace_events_filter.c pred->fn = select_comparison_fn(pred->op, field->size, pred 1375 kernel/trace/trace_events_filter.c if (pred->op == OP_NE) pred 1376 kernel/trace/trace_events_filter.c pred->not = 1; pred 1384 kernel/trace/trace_events_filter.c *pred_ptr = pred; pred 1388 kernel/trace/trace_events_filter.c kfree(pred); pred 1973 kernel/trace/trace_events_filter.c static int ftrace_function_check_pred(struct filter_pred *pred) pred 1975 kernel/trace/trace_events_filter.c struct ftrace_event_field *field = pred->field; pred 1982 kernel/trace/trace_events_filter.c if ((pred->op != OP_EQ) && (pred->op != OP_NE)) pred 1991 kernel/trace/trace_events_filter.c static int ftrace_function_set_filter_pred(struct filter_pred *pred, pred 1997 kernel/trace/trace_events_filter.c ret = ftrace_function_check_pred(pred); pred 2001 kernel/trace/trace_events_filter.c return __ftrace_function_set_filter(pred->op == OP_EQ, pred 2002 kernel/trace/trace_events_filter.c pred->regex.pattern, pred 2003 kernel/trace/trace_events_filter.c pred->regex.len, pred 2018 kernel/trace/trace_events_filter.c if (prog[target].pred) pred 2037 kernel/trace/trace_events_filter.c for (i = 0; prog[i].pred; i++) { pred 2038 kernel/trace/trace_events_filter.c struct filter_pred *pred = prog[i].pred; pred 2043 kernel/trace/trace_events_filter.c if (ftrace_function_set_filter_pred(pred, &data) < 0) pred 2180 kernel/trace/trace_events_filter.c static int test_pred_visited_fn(struct filter_pred *pred, void *event) pred 2182 kernel/trace/trace_events_filter.c struct ftrace_event_field *field = pred->field; pred 2195 kernel/trace/trace_events_filter.c for (i = 0; prog[i].pred; i++) { pred 2196 kernel/trace/trace_events_filter.c struct filter_pred *pred = prog[i].pred; pred 2197 kernel/trace/trace_events_filter.c struct ftrace_event_field *field = pred->field; pred 2199 kernel/trace/trace_events_filter.c WARN_ON_ONCE(!pred->fn); pred 2209 kernel/trace/trace_events_filter.c pred->fn = test_pred_visited_fn; pred 126 tools/perf/builtin-annotate.c entry->pred++; pred 1348 tools/perf/util/annotate.c printf(" -%.2f%% (p:%.2f%%)", p, 100*(double)br->pred / br->taken); pred 217 tools/perf/util/block-range.c .pred = entry->pred, pred 223 tools/perf/util/block-range.c entry->pred = 0; pred 35 tools/perf/util/block-range.h u64 pred;