Lines Matching refs:pos
38 struct trace_bprintk_fmt *pos; in lookup_format() local
39 list_for_each_entry(pos, &trace_bprintk_fmt_list, list) { in lookup_format()
40 if (!strcmp(pos->fmt, fmt)) in lookup_format()
41 return pos; in lookup_format()
116 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
129 if (!v || start_index == *pos) { in find_next_mod_format()
134 if (start_index == *pos) in find_next_mod_format()
173 find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos) in find_next_mod_format() argument
241 static const char **find_next(void *v, loff_t *pos) in find_next() argument
249 if (*pos < start_index) in find_next()
250 return __start___trace_bprintk_fmt + *pos; in find_next()
267 if (*pos < last_index + start_index) in find_next()
268 return __start___tracepoint_str + (*pos - last_index); in find_next()
270 return find_next_mod_format(start_index, v, fmt, pos); in find_next()
274 t_start(struct seq_file *m, loff_t *pos) in t_start() argument
277 return find_next(NULL, pos); in t_start()
280 static void *t_next(struct seq_file *m, void * v, loff_t *pos) in t_next() argument
282 (*pos)++; in t_next()
283 return find_next(v, pos); in t_next()