Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 4 of 4) sorted by relevance

/kernel/kcsan/
Dkcsan_test.c162 typeof(*observed.lines) *expect; in __report_matches() local
171 expect = kmalloc(sizeof(observed.lines), GFP_KERNEL); in __report_matches()
172 if (WARN_ON(!expect)) in __report_matches()
178 cur = expect[0]; in __report_matches()
179 end = &expect[0][sizeof(expect[0]) - 1]; in __report_matches()
196 cur = strchr(expect[0], '+'); in __report_matches()
202 cur = expect[1]; in __report_matches()
203 end = &expect[1][sizeof(expect[1]) - 1]; in __report_matches()
229 cur = expect[2]; in __report_matches()
230 end = &expect[2][sizeof(expect[2]) - 1]; in __report_matches()
[all …]
/kernel/trace/
Dtrace_branch.c31 probe_likely_condition(struct ftrace_likely_data *f, int val, int expect) in probe_likely_condition() argument
83 entry->correct = val == expect; in probe_likely_condition()
94 void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) in trace_likely_condition() argument
99 probe_likely_condition(f, val, expect); in trace_likely_condition()
200 void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) in trace_likely_condition() argument
206 int expect, int is_constant) in ftrace_likely_update() argument
213 val = expect; in ftrace_likely_update()
221 trace_likely_condition(f, val, expect); in ftrace_likely_update()
224 if (val == expect) in ftrace_likely_update()
Dring_buffer.c661 rb_time_read_cmpxchg(local_t *l, unsigned long expect, unsigned long set) in rb_time_read_cmpxchg() argument
665 ret = local_cmpxchg(l, expect, set); in rb_time_read_cmpxchg()
666 return ret == expect; in rb_time_read_cmpxchg()
/kernel/
Dstatic_call_inline.c519 int expect; member
536 WARN_ON(static_call(sc_selftest)(scd->val) != scd->expect); in test_static_call_init()