Lines Matching refs:f
31 probe_likely_condition(struct ftrace_likely_data *f, int val, int expect) in probe_likely_condition() argument
72 p = f->data.file + strlen(f->data.file); in probe_likely_condition()
73 while (p >= f->data.file && *p != '/') in probe_likely_condition()
77 strncpy(entry->func, f->data.func, TRACE_FUNC_SIZE); in probe_likely_condition()
81 entry->constant = f->constant; in probe_likely_condition()
82 entry->line = f->data.line; 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
205 void ftrace_likely_update(struct ftrace_likely_data *f, int val, in ftrace_likely_update() argument
212 f->constant++; in ftrace_likely_update()
221 trace_likely_condition(f, val, expect); in ftrace_likely_update()
225 f->data.correct++; in ftrace_likely_update()
227 f->data.incorrect++; in ftrace_likely_update()
262 const char *f; in branch_stat_process_file() local
265 f = p->file + strlen(p->file); in branch_stat_process_file()
266 while (f >= p->file && *f != '/') in branch_stat_process_file()
267 f--; in branch_stat_process_file()
268 return ++f; in branch_stat_process_file()
272 struct ftrace_branch_data *p, const char *f) in branch_stat_show() argument
286 seq_printf(m, "%-30.30s %-20.20s %d\n", p->func, f, p->line); in branch_stat_show()
290 struct ftrace_branch_data *p, const char *f) in branch_stat_show_normal() argument
293 branch_stat_show(m, p, f); in branch_stat_show_normal()
300 const char *f; in annotate_branch_stat_show() local
303 f = branch_stat_process_file(&p->data); in annotate_branch_stat_show()
306 return branch_stat_show_normal(m, &p->data, f); in annotate_branch_stat_show()
313 branch_stat_show(m, &p->data, f); in annotate_branch_stat_show()
428 const char *f; in all_branch_stat_show() local
430 f = branch_stat_process_file(p); in all_branch_stat_show()
431 return branch_stat_show_normal(m, p, f); in all_branch_stat_show()