Lines Matching refs:ppos
103 static void *kernfs_seq_start(struct seq_file *sf, loff_t *ppos) in kernfs_seq_start() argument
118 void *next = ops->seq_start(sf, ppos); in kernfs_seq_start()
128 return NULL + !*ppos; in kernfs_seq_start()
132 static void *kernfs_seq_next(struct seq_file *sf, void *v, loff_t *ppos) in kernfs_seq_next() argument
138 void *next = ops->seq_next(sf, v, ppos); in kernfs_seq_next()
148 ++*ppos; in kernfs_seq_next()
186 loff_t *ppos) in kernfs_file_direct_read() argument
213 len = ops->read(of, buf, len, *ppos); in kernfs_file_direct_read()
225 *ppos += len; in kernfs_file_direct_read()
244 size_t count, loff_t *ppos) in kernfs_fop_read() argument
249 return seq_read(file, user_buf, count, ppos); in kernfs_fop_read()
251 return kernfs_file_direct_read(of, user_buf, count, ppos); in kernfs_fop_read()
271 size_t count, loff_t *ppos) in kernfs_fop_write() argument
312 len = ops->write(of, buf, len, *ppos); in kernfs_fop_write()
317 *ppos += len; in kernfs_fop_write()