Lines Matching refs:pos
35 loff_t pos = *ppos;
37 if (pos >= sizeof(struct ConfigDev))
41 if (pos + nbytes > sizeof(struct ConfigDev))
42 nbytes = sizeof(struct ConfigDev) - pos;
52 if (copy_to_user(buf, (void *)&cd + pos, nbytes))
64 static void * zorro_seq_start(struct seq_file *m, loff_t *pos)
66 return (*pos < zorro_num_autocon) ? pos : NULL;
69 static void * zorro_seq_next(struct seq_file *m, void *v, loff_t *pos)
71 (*pos)++;
72 return (*pos < zorro_num_autocon) ? pos : NULL;