Lines Matching defs:pos
410 * @pos: The position of the file
418 void *trace_pid_next(struct trace_pid_list *pid_list, void *v, loff_t *pos)
422 (*pos)++;
437 * @pos: The position of the file
445 void *trace_pid_start(struct trace_pid_list *pid_list, loff_t *pos)
455 for (pid++; pid && l < *pos;
490 loff_t pos;
529 pos = 0;
531 ret = trace_get_user(&parser, ubuf, cnt, &pos);
2754 static void *s_next(struct seq_file *m, void *v, loff_t *pos)
2757 int i = (int)*pos;
2762 (*pos)++;
2776 iter->pos = *pos;
2815 static void *s_start(struct seq_file *m, loff_t *pos)
2843 if (*pos != iter->pos) {
2855 for (p = iter; p && l < *pos; p = s_next(m, p, &l))
2866 l = *pos - 1;
3463 iter->pos = -1;
3667 t_next(struct seq_file *m, void *v, loff_t *pos)
3672 (*pos)++;
3680 static void *t_start(struct seq_file *m, loff_t *pos)
3689 for (; t && l < *pos; t = t_next(m, t, &l))
4306 static void *saved_cmdlines_next(struct seq_file *m, void *v, loff_t *pos)
4310 if (*pos || m->count)
4313 (*pos)++;
4326 static void *saved_cmdlines_start(struct seq_file *m, loff_t *pos)
4335 while (l <= *pos) {
4470 static void *enum_map_next(struct seq_file *m, void *v, loff_t *pos)
4484 (*pos)++;
4491 static void *enum_map_start(struct seq_file *m, loff_t *pos)
4502 while (v && l < *pos) {
5214 * iter->pos will be 0 if we haven't read anything.
5216 if (!tracer_tracing_is_on(iter->tr) && iter->pos)
5281 iter->pos = -1;
7692 iter.pos = -1;