Lines Matching refs:pos
1504 static void *frag_start(struct seq_file *m, loff_t *pos) in frag_start() argument
1507 loff_t node = *pos; in frag_start()
1517 static void *frag_next(struct seq_file *m, void *arg, loff_t *pos) in frag_next() argument
1521 (*pos)++; in frag_next()
1882 static void *vmstat_start(struct seq_file *m, loff_t *pos) in vmstat_start() argument
1887 if (*pos >= NR_VMSTAT_ITEMS) in vmstat_start()
1924 return (unsigned long *)m->private + *pos; in vmstat_start()
1927 static void *vmstat_next(struct seq_file *m, void *arg, loff_t *pos) in vmstat_next() argument
1929 (*pos)++; in vmstat_next()
1930 if (*pos >= NR_VMSTAT_ITEMS) in vmstat_next()
1932 return (unsigned long *)m->private + *pos; in vmstat_next()