Lines Matching defs:off
57 divas_read(struct file *file, char __user *buf, size_t count, loff_t * off)
64 if (*off)
91 *off += len;
96 divas_write(struct file *file, const char __user *buf, size_t count, loff_t * off)
215 read_d_l1_down(char *page, char **start, off_t off, int count, int *eof,
227 if (off + count >= len)
229 if (len < off)
231 *start = page + off;
232 return ((count < len - off) ? count : len - off);
239 read_grp_opt(char *page, char **start, off_t off, int count, int *eof,
251 if (off + count >= len)
253 if (len < off)
255 *start = page + off;
256 return ((count < len - off) ? count : len - off);
288 info_read(char *page, char **start, off_t off, int count, int *eof,
362 if (off + count >= len)
364 if (len < off)
366 *start = page + off;
367 return ((count < len - off) ? count : len - off);