Lines Matching refs:pos
38 static void *l_next(struct seq_file *m, void *v, loff_t *pos) in l_next() argument
43 *pos = class - lock_classes; in l_next()
44 return (*pos > max_lock_class_idx) ? NULL : class; in l_next()
47 static void *l_start(struct seq_file *m, loff_t *pos) in l_start() argument
49 unsigned long idx = *pos; in l_start()
128 static void *lc_start(struct seq_file *m, loff_t *pos) in lc_start() argument
130 if (*pos < 0) in lc_start()
133 if (*pos == 0) in lc_start()
136 return lock_chains + (*pos - 1); in lc_start()
139 static void *lc_next(struct seq_file *m, void *v, loff_t *pos) in lc_next() argument
141 *pos = lockdep_next_lockchain(*pos - 1) + 1; in lc_next()
142 return lc_start(m, pos); in lc_next()
597 static void *ls_start(struct seq_file *m, loff_t *pos) in ls_start() argument
602 if (*pos == 0) in ls_start()
605 iter = data->stats + (*pos - 1); in ls_start()
612 static void *ls_next(struct seq_file *m, void *v, loff_t *pos) in ls_next() argument
614 (*pos)++; in ls_next()
615 return ls_start(m, pos); in ls_next()