Lines Matching refs:pos
40 struct trace_bprintk_fmt *pos; in lookup_format() local
45 list_for_each_entry(pos, &trace_bprintk_fmt_list, list) { in lookup_format()
46 if (!strcmp(pos->fmt, fmt)) in lookup_format()
47 return pos; in lookup_format()
123 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
136 if (!v || start_index == *pos) { in find_next_mod_format()
141 if (start_index == *pos) in find_next_mod_format()
180 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
265 static const char **find_next(void *v, loff_t *pos) in find_next() argument
273 if (*pos < start_index) in find_next()
274 return __start___trace_bprintk_fmt + *pos; in find_next()
291 if (*pos < last_index + start_index) in find_next()
292 return __start___tracepoint_str + (*pos - last_index); in find_next()
295 return find_next_mod_format(start_index, v, fmt, pos); in find_next()
299 t_start(struct seq_file *m, loff_t *pos) in t_start() argument
302 return find_next(NULL, pos); in t_start()
305 static void *t_next(struct seq_file *m, void * v, loff_t *pos) in t_next() argument
307 (*pos)++; in t_next()
308 return find_next(v, pos); in t_next()