Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 25) sorted by relevance

/kernel/trace/
Dtrace_events_filter.c677 int match; \
679 match = (val == *addr) ^ pred->not; \
681 return match; \
748 int cmp, match; in filter_pred_string() local
750 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string()
752 match = cmp ^ pred->not; in filter_pred_string()
754 return match; in filter_pred_string()
759 int cmp, match; in filter_pchar() local
763 cmp = pred->regex.match(str, &pred->regex, len); in filter_pchar()
765 match = cmp ^ pred->not; in filter_pchar()
[all …]
Dtrace_events_user.c1177 bool colon = false, match = false; in user_field_match() local
1202 match = strcmp(dyn_field_name, field_name) == 0; in user_field_match()
1207 return match; in user_field_match()
1231 bool match; in user_event_match() local
1233 match = strcmp(EVENT_NAME(user), event) == 0 && in user_event_match()
1236 if (match && argc > 0) in user_event_match()
1237 match = user_fields_match(user, argc, argv); in user_event_match()
1239 return match; in user_event_match()
1247 .match = user_event_match,
Dtrace_dynevent.c62 !ops->free || !ops->match) in dyn_event_register()
113 if (!pos->ops->match(system, event, in dyn_event_release()
Dtrace_dynevent.h46 bool (*match)(const char *system, const char *event, member
Dtrace_events.c1017 __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, in __ftrace_set_clr_event_nolock() argument
1037 if (match && in __ftrace_set_clr_event_nolock()
1038 strcmp(match, name) != 0 && in __ftrace_set_clr_event_nolock()
1039 strcmp(match, call->class->system) != 0) in __ftrace_set_clr_event_nolock()
1064 static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, in __ftrace_set_clr_event() argument
1070 ret = __ftrace_set_clr_event_nolock(tr, match, sub, event, set); in __ftrace_set_clr_event()
1078 char *event = NULL, *sub = NULL, *match; in ftrace_set_clr_event() local
1095 match = strsep(&buf, ":"); in ftrace_set_clr_event()
1097 sub = match; in ftrace_set_clr_event()
1099 match = NULL; in ftrace_set_clr_event()
[all …]
Dtracing_map.c507 bool match = true; in keys_match() local
510 match = false; in keys_match()
512 return match; in keys_match()
Dtrace_eprobe.c187 .match = eprobe_dyn_event_match,
Dftrace.c1713 int match = 0; in __ftrace_hash_rec_update() local
1724 match = 1; in __ftrace_hash_rec_update()
1740 match = 1; in __ftrace_hash_rec_update()
1743 match = 1; in __ftrace_hash_rec_update()
1745 if (!match) in __ftrace_hash_rec_update()
Dtrace.h1462 regex_match_func match; member
Dtrace_uprobe.c51 .match = trace_uprobe_match,
Dtrace_kprobe.c52 .match = trace_kprobe_match,
Dtrace_events_synth.c99 .match = synth_event_match,
Dtrace_events_hist.c6311 bool match = false; in have_hist_trigger_match() local
6321 match = true; in have_hist_trigger_match()
6327 return match; in have_hist_trigger_match()
/kernel/
Dseccomp.c402 struct seccomp_filter **match) in seccomp_run_filters() argument
425 *match = f; in seccomp_run_filters()
1090 static bool should_sleep_killable(struct seccomp_filter *match, in should_sleep_killable() argument
1093 return match->wait_killable_recv && n->state == SECCOMP_NOTIFY_SENT; in should_sleep_killable()
1097 struct seccomp_filter *match, in seccomp_do_user_notification() argument
1106 mutex_lock(&match->notify_lock); in seccomp_do_user_notification()
1108 if (!match->notif) in seccomp_do_user_notification()
1114 n.id = seccomp_next_notify_id(match); in seccomp_do_user_notification()
1116 list_add_tail(&n.list, &match->notif->notifications); in seccomp_do_user_notification()
1119 up(&match->notif->request); in seccomp_do_user_notification()
[all …]
Dtask_work.c87 bool (*match)(struct callback_head *, void *data), in task_work_cancel_match()
105 if (!match(work, data)) { in task_work_cancel_match()
Dresource.c1551 struct region_devres *this = res, *match = match_data; in devm_region_match() local
1553 return this->parent == match->parent && in devm_region_match()
1554 this->start == match->start && this->n == match->n; in devm_region_match()
/kernel/irq/
Ddevres.c27 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()
Dirqdomain.c446 else if (h->ops->match) in irq_find_matching_fwspec()
447 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec()
/kernel/dma/
Dmapping.c42 struct dma_devres *this = res, *match = match_data; in dmam_match() local
44 if (this->vaddr == match->vaddr) { in dmam_match()
45 WARN_ON(this->size != match->size || in dmam_match()
46 this->dma_handle != match->dma_handle); in dmam_match()
Ddebug.c294 match_fn match) in __hash_bucket_find() argument
300 if (!match(ref, entry)) in __hash_bucket_find()
/kernel/debug/kdb/
Dkdb_main.c249 char *kdbgetenv(const char *match) in kdbgetenv() argument
252 int matchlen = strlen(match); in kdbgetenv()
261 if ((strncmp(match, e, matchlen) == 0) in kdbgetenv()
311 static int kdbgetulenv(const char *match, unsigned long *value) in kdbgetulenv() argument
315 ep = kdbgetenv(match); in kdbgetulenv()
336 int kdbgetintenv(const char *match, int *value) in kdbgetintenv() argument
341 diag = kdbgetulenv(match, &val); in kdbgetintenv()
/kernel/kcsan/
Dkcsan_test.c1268 bool match = false; in test_1bit_value_change() local
1272 match = IS_ENABLED(CONFIG_KCSAN_PERMISSIVE) in test_1bit_value_change()
1275 } while (!end_test_checks(match)); in test_1bit_value_change()
1277 KUNIT_EXPECT_FALSE(test, match); in test_1bit_value_change()
1279 KUNIT_EXPECT_TRUE(test, match); in test_1bit_value_change()
/kernel/locking/
Dlockdep.c1717 bool (*match)(struct lock_list *entry, void *data), in __bfs()
1785 if (match(lock, data)) { in __bfs()
1826 bool (*match)(struct lock_list *entry, void *data), in __bfs_forwards()
1830 return __bfs(src_entry, data, match, skip, target_entry, in __bfs_forwards()
1838 bool (*match)(struct lock_list *entry, void *data), in __bfs_backwards()
1842 return __bfs(src_entry, data, match, skip, target_entry, in __bfs_backwards()
2125 bool (*match)(struct lock_list *entry, void *data), in check_path()
2131 ret = __bfs_forwards(src_entry, target, match, skip, target_entry); in check_path()
/kernel/sched/
Dcore.c2268 int match; in task_state_match() local
2275 match = __task_state_match(p, state); in task_state_match()
2278 return match; in task_state_match()
2299 int running, queued, match; in wait_task_inactive() local
2340 if ((match = __task_state_match(p, match_state))) { in wait_task_inactive()
2345 if (match < 0) in wait_task_inactive()
4066 int match; in ttwu_state_match() local
4073 *success = !!(match = __task_state_match(p, state)); in ttwu_state_match()
4089 if (match < 0) in ttwu_state_match()
4092 return match > 0; in ttwu_state_match()
[all …]
/kernel/printk/
Dprintk.c3049 if (!newcon->match || in try_enable_preferred_console()
3050 newcon->match(newcon, c->name, c->index, c->options) != 0) { in try_enable_preferred_console()