Home
last modified time | relevance | path

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

/kernel/kcsan/
Dkcsan-test.c152 typeof(*observed.lines) *expect; in report_matches() local
161 expect = kmalloc(sizeof(observed.lines), GFP_KERNEL); in report_matches()
162 if (WARN_ON(!expect)) in report_matches()
168 cur = expect[0]; in report_matches()
169 end = &expect[0][sizeof(expect[0]) - 1]; in report_matches()
186 cur = strchr(expect[0], '+'); in report_matches()
192 cur = expect[1]; in report_matches()
193 end = &expect[1][sizeof(expect[1]) - 1]; in report_matches()
217 cur = expect[2]; in report_matches()
218 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.c692 rb_time_read_cmpxchg(local_t *l, unsigned long expect, unsigned long set) in rb_time_read_cmpxchg() argument
696 ret = local_cmpxchg(l, expect, set); in rb_time_read_cmpxchg()
697 return ret == expect; in rb_time_read_cmpxchg()
700 static int rb_time_cmpxchg(rb_time_t *t, u64 expect, u64 set) in rb_time_cmpxchg() argument
713 if (val != expect) in rb_time_cmpxchg()
752 static bool rb_time_cmpxchg(rb_time_t *t, u64 expect, u64 set) in rb_time_cmpxchg() argument
755 val = local64_cmpxchg(&t->time, expect, set); in rb_time_cmpxchg()
756 return val == expect; in rb_time_cmpxchg()
/kernel/
Dstatic_call.c519 int expect; member
536 WARN_ON(static_call(sc_selftest)(scd->val) != scd->expect); in test_static_call_init()