Lines Matching defs:pos
54 loff_t pos = *ppos;
56 if (pos >= sizeof(struct ConfigDev))
60 if (pos + nbytes > sizeof(struct ConfigDev))
61 nbytes = sizeof(struct ConfigDev) - pos;
71 if (copy_to_user(buf, (void *)&cd + pos, nbytes))
84 static void * zorro_seq_start(struct seq_file *m, loff_t *pos)
86 return (*pos < zorro_num_autocon) ? pos : NULL;
89 static void * zorro_seq_next(struct seq_file *m, void *v, loff_t *pos)
91 (*pos)++;
92 return (*pos < zorro_num_autocon) ? pos : NULL;