/kernel/trace/ |
D | trace_events_filter.c | 637 int match; \ 639 match = (val == *addr) ^ pred->not; \ 641 return match; \ 708 int cmp, match; in filter_pred_string() local 710 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string() 712 match = cmp ^ pred->not; in filter_pred_string() 714 return match; in filter_pred_string() 719 int cmp, match; in filter_pchar() local 723 cmp = pred->regex.match(str, &pred->regex, len); in filter_pchar() 725 match = cmp ^ pred->not; in filter_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 | 775 __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, in __ftrace_set_clr_event_nolock() argument 795 if (match && in __ftrace_set_clr_event_nolock() 796 strcmp(match, name) != 0 && in __ftrace_set_clr_event_nolock() 797 strcmp(match, call->class->system) != 0) in __ftrace_set_clr_event_nolock() 822 static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, in __ftrace_set_clr_event() argument 828 ret = __ftrace_set_clr_event_nolock(tr, match, sub, event, set); in __ftrace_set_clr_event() 836 char *event = NULL, *sub = NULL, *match; in ftrace_set_clr_event() local 853 match = strsep(&buf, ":"); in ftrace_set_clr_event() 855 sub = match; in ftrace_set_clr_event() 857 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 | 507 bool match = true; in keys_match() local 510 match = false; in keys_match() 512 return match; in keys_match()
|
D | ftrace.c | 1685 int match = 0; in __ftrace_hash_rec_update() local 1696 match = 1; in __ftrace_hash_rec_update() 1712 match = 1; in __ftrace_hash_rec_update() 1715 match = 1; in __ftrace_hash_rec_update() 1717 if (!match) in __ftrace_hash_rec_update()
|
D | trace.h | 1628 regex_match_func match; member
|
D | trace_uprobe.c | 49 .match = trace_uprobe_match,
|
D | trace_events_synth.c | 77 .match = synth_event_match,
|
D | trace_kprobe.c | 50 .match = trace_kprobe_match,
|
D | trace_events_hist.c | 5561 bool match = false; in have_hist_trigger_match() local 5571 match = true; in have_hist_trigger_match() 5577 return match; in have_hist_trigger_match()
|
/kernel/ |
D | seccomp.c | 395 struct seccomp_filter **match) in seccomp_run_filters() argument 418 *match = f; in seccomp_run_filters() 1078 struct seccomp_filter *match, in seccomp_do_user_notification() argument 1087 mutex_lock(&match->notify_lock); in seccomp_do_user_notification() 1089 if (!match->notif) in seccomp_do_user_notification() 1095 n.id = seccomp_next_notify_id(match); in seccomp_do_user_notification() 1097 list_add(&n.list, &match->notif->notifications); in seccomp_do_user_notification() 1100 up(&match->notif->request); in seccomp_do_user_notification() 1101 wake_up_poll(&match->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_do_user_notification() 1107 mutex_unlock(&match->notify_lock); in seccomp_do_user_notification() [all …]
|
D | task_work.c | 75 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match() 92 if (!match(work, data)) in task_work_cancel_match()
|
D | resource.c | 1499 struct region_devres *this = res, *match = match_data; in devm_region_match() local 1501 return this->parent == match->parent && in devm_region_match() 1502 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 | 416 else if (h->ops->match) in irq_find_matching_fwspec() 417 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec()
|
/kernel/dma/ |
D | mapping.c | 39 struct dma_devres *this = res, *match = match_data; in dmam_match() local 41 if (this->vaddr == match->vaddr) { in dmam_match() 42 WARN_ON(this->size != match->size || in dmam_match() 43 this->dma_handle != match->dma_handle); in dmam_match()
|
D | debug.c | 294 match_fn match) in __hash_bucket_find() argument 300 if (!match(ref, entry)) in __hash_bucket_find()
|
/kernel/events/ |
D | uprobes.c | 638 int match; in __find_uprobe() local 642 match = match_uprobe(&u, uprobe); in __find_uprobe() 643 if (!match) in __find_uprobe() 646 if (match < 0) in __find_uprobe() 674 int match; in __insert_uprobe() local 679 match = match_uprobe(uprobe, u); in __insert_uprobe() 680 if (!match) in __insert_uprobe() 683 if (match < 0) in __insert_uprobe()
|
D | core.c | 1725 struct perf_event *node_event = NULL, *match = NULL; in perf_event_groups_first() local 1759 match = node_event; in perf_event_groups_first() 1763 return match; in perf_event_groups_first()
|
/kernel/debug/kdb/ |
D | kdb_main.c | 281 char *kdbgetenv(const char *match) in kdbgetenv() argument 284 int matchlen = strlen(match); in kdbgetenv() 293 if ((strncmp(match, e, matchlen) == 0) in kdbgetenv() 343 static int kdbgetulenv(const char *match, unsigned long *value) in kdbgetulenv() argument 347 ep = kdbgetenv(match); in kdbgetulenv() 368 int kdbgetintenv(const char *match, int *value) in kdbgetintenv() argument 373 diag = kdbgetulenv(match, &val); in kdbgetintenv()
|
/kernel/locking/ |
D | lockdep.c | 1679 bool (*match)(struct lock_list *entry, void *data), in __bfs() 1741 if (match(lock, data)) { in __bfs() 1782 bool (*match)(struct lock_list *entry, void *data), in __bfs_forwards() 1785 return __bfs(src_entry, data, match, target_entry, in __bfs_forwards() 1793 bool (*match)(struct lock_list *entry, void *data), in __bfs_backwards() 1796 return __bfs(src_entry, data, match, target_entry, in __bfs_backwards() 2079 bool (*match)(struct lock_list *entry, void *data), in check_path() 2084 ret = __bfs_forwards(src_entry, target, match, target_entry); in check_path()
|
/kernel/printk/ |
D | printk.c | 2721 if (!newcon->match || in try_enable_new_console() 2722 newcon->match(newcon, c->name, c->index, c->options) != 0) { in try_enable_new_console()
|
/kernel/sched/ |
D | core.c | 5456 bool match; in check_same_owner() local 5460 match = (uid_eq(cred->euid, pcred->euid) || in check_same_owner() 5463 return match; in check_same_owner()
|