Lines Matching refs:pos
1303 static void *frag_start(struct seq_file *m, loff_t *pos) in frag_start() argument
1306 loff_t node = *pos; in frag_start()
1316 static void *frag_next(struct seq_file *m, void *arg, loff_t *pos) in frag_next() argument
1320 (*pos)++; in frag_next()
1670 static void *vmstat_start(struct seq_file *m, loff_t *pos) in vmstat_start() argument
1675 if (*pos >= ARRAY_SIZE(vmstat_text)) in vmstat_start()
1715 return (unsigned long *)m->private + *pos; in vmstat_start()
1718 static void *vmstat_next(struct seq_file *m, void *arg, loff_t *pos) in vmstat_next() argument
1720 (*pos)++; in vmstat_next()
1721 if (*pos >= ARRAY_SIZE(vmstat_text)) in vmstat_next()
1723 return (unsigned long *)m->private + *pos; in vmstat_next()