Lines Matching refs:pos
1118 static void *disk_seqf_start(struct seq_file *seqf, loff_t *pos) in disk_seqf_start() argument
1120 loff_t skip = *pos; in disk_seqf_start()
1139 static void *disk_seqf_next(struct seq_file *seqf, void *v, loff_t *pos) in disk_seqf_next() argument
1143 (*pos)++; in disk_seqf_next()
1163 static void *show_partition_start(struct seq_file *seqf, loff_t *pos) in show_partition_start() argument
1167 p = disk_seqf_start(seqf, pos); in show_partition_start()
1168 if (!IS_ERR_OR_NULL(p) && !*pos) in show_partition_start()
2185 ssize_t pos = 0; in __disk_events_show() local
2190 pos += sprintf(buf + pos, "%s%s", in __disk_events_show()
2194 if (pos) in __disk_events_show()
2195 pos += sprintf(buf + pos, "\n"); in __disk_events_show()
2196 return pos; in __disk_events_show()