/kernel/trace/ |
D | trace_events_filter.c | 636 int match; \ 638 match = (val == *addr) ^ pred->not; \ 640 return match; \ 661 int cmp, match; in filter_pred_string() local 663 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string() 665 match = cmp ^ pred->not; in filter_pred_string() 667 return match; in filter_pred_string() 674 int cmp, match; in filter_pred_pchar() local 677 cmp = pred->regex.match(*addr, &pred->regex, len); in filter_pred_pchar() 679 match = cmp ^ pred->not; in filter_pred_pchar() [all …]
|
D | trace_dynevent.c | 24 !ops->free || !ops->match) in dyn_event_register() 65 if (!pos->ops->match(system, event, in dyn_event_release()
|
D | trace_events.c | 732 __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, in __ftrace_set_clr_event_nolock() argument 752 if (match && in __ftrace_set_clr_event_nolock() 753 strcmp(match, name) != 0 && in __ftrace_set_clr_event_nolock() 754 strcmp(match, call->class->system) != 0) in __ftrace_set_clr_event_nolock() 779 static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, in __ftrace_set_clr_event() argument 785 ret = __ftrace_set_clr_event_nolock(tr, match, sub, event, set); in __ftrace_set_clr_event() 793 char *event = NULL, *sub = NULL, *match; in ftrace_set_clr_event() local 808 match = strsep(&buf, ":"); in ftrace_set_clr_event() 810 sub = match; in ftrace_set_clr_event() 812 match = NULL; in ftrace_set_clr_event() [all …]
|
D | trace_dynevent.h | 46 bool (*match)(const char *system, const char *event, member
|
D | tracing_map.c | 504 bool match = true; in keys_match() local 507 match = false; in keys_match() 509 return match; in keys_match()
|
D | ftrace.c | 1678 int match = 0; in __ftrace_hash_rec_update() local 1689 match = 1; in __ftrace_hash_rec_update() 1705 match = 1; in __ftrace_hash_rec_update() 1708 match = 1; in __ftrace_hash_rec_update() 1710 if (!match) in __ftrace_hash_rec_update()
|
D | trace_events_hist.c | 390 .match = synth_event_match, 6038 bool match = false; in have_hist_trigger_match() local 6048 match = true; in have_hist_trigger_match() 6054 return match; in have_hist_trigger_match()
|
D | trace.h | 1515 regex_match_func match; member
|
D | trace_uprobe.c | 55 .match = trace_uprobe_match,
|
D | trace_kprobe.c | 50 .match = trace_kprobe_match,
|
/kernel/ |
D | seccomp.c | 255 struct seccomp_filter **match) in seccomp_run_filters() argument 276 *match = f; in seccomp_run_filters() 736 struct seccomp_filter *match, in seccomp_do_user_notification() argument 743 mutex_lock(&match->notify_lock); in seccomp_do_user_notification() 745 if (!match->notif) in seccomp_do_user_notification() 751 n.id = seccomp_next_notify_id(match); in seccomp_do_user_notification() 753 list_add(&n.list, &match->notif->notifications); in seccomp_do_user_notification() 755 up(&match->notif->request); in seccomp_do_user_notification() 756 wake_up_poll(&match->notif->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_do_user_notification() 757 mutex_unlock(&match->notify_lock); in seccomp_do_user_notification() [all …]
|
D | resource.c | 1439 struct region_devres *this = res, *match = match_data; in devm_region_match() local 1441 return this->parent == match->parent && in devm_region_match() 1442 this->start == match->start && this->n == match->n; in devm_region_match()
|
/kernel/irq/ |
D | devres.c | 27 struct irq_devres *this = res, *match = data; in devm_irq_match() local 29 return this->irq == match->irq && this->dev_id == match->dev_id; in devm_irq_match()
|
D | irqdomain.c | 404 else if (h->ops->match) in irq_find_matching_fwspec() 405 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec()
|
/kernel/dma/ |
D | mapping.c | 38 struct dma_devres *this = res, *match = match_data; in dmam_match() local 40 if (this->vaddr == match->vaddr) { in dmam_match() 41 WARN_ON(this->size != match->size || in dmam_match() 42 this->dma_handle != match->dma_handle); in dmam_match()
|
D | debug.c | 290 match_fn match) in __hash_bucket_find() argument 296 if (!match(ref, entry)) in __hash_bucket_find()
|
/kernel/events/ |
D | uprobes.c | 644 int match; in __find_uprobe() local 648 match = match_uprobe(&u, uprobe); in __find_uprobe() 649 if (!match) in __find_uprobe() 652 if (match < 0) in __find_uprobe() 680 int match; in __insert_uprobe() local 685 match = match_uprobe(uprobe, u); in __insert_uprobe() 686 if (!match) in __insert_uprobe() 689 if (match < 0) in __insert_uprobe()
|
D | core.c | 1617 struct perf_event *node_event = NULL, *match = NULL; in perf_event_groups_first() local 1628 match = node_event; in perf_event_groups_first() 1633 return match; in perf_event_groups_first()
|
/kernel/debug/kdb/ |
D | kdb_main.c | 229 char *kdbgetenv(const char *match) in kdbgetenv() argument 232 int matchlen = strlen(match); in kdbgetenv() 241 if ((strncmp(match, e, matchlen) == 0) in kdbgetenv() 291 static int kdbgetulenv(const char *match, unsigned long *value) in kdbgetulenv() argument 295 ep = kdbgetenv(match); in kdbgetulenv() 316 int kdbgetintenv(const char *match, int *value) in kdbgetintenv() argument 321 diag = kdbgetulenv(match, &val); in kdbgetintenv()
|
/kernel/locking/ |
D | lockdep.c | 1462 int (*match)(struct lock_list *entry, void *data), in __bfs() 1472 if (match(source_entry, data)) { in __bfs() 1500 if (match(entry, data)) { in __bfs() 1522 int (*match)(struct lock_list *entry, void *data), in __bfs_forwards() 1525 return __bfs(src_entry, data, match, target_entry, in __bfs_forwards() 1532 int (*match)(struct lock_list *entry, void *data), in __bfs_backwards() 1535 return __bfs(src_entry, data, match, target_entry, in __bfs_backwards()
|
/kernel/printk/ |
D | printk.c | 2709 if (!newcon->match || in register_console() 2710 newcon->match(newcon, c->name, c->index, c->options) != 0) { in register_console()
|
/kernel/sched/ |
D | core.c | 4741 bool match; in check_same_owner() local 4745 match = (uid_eq(cred->euid, pcred->euid) || in check_same_owner() 4748 return match; in check_same_owner()
|