Lines Matching refs:pos
79 static void *_opcode_stats_seq_start(struct seq_file *s, loff_t *pos) in _opcode_stats_seq_start() argument
83 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_start()
85 return pos; in _opcode_stats_seq_start()
88 static void *_opcode_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _opcode_stats_seq_next() argument
92 ++*pos; in _opcode_stats_seq_next()
93 if (*pos >= ARRAY_SIZE(opstats->stats)) in _opcode_stats_seq_next()
95 return pos; in _opcode_stats_seq_next()
129 static void *_ctx_stats_seq_start(struct seq_file *s, loff_t *pos) in DEBUGFS_FILE()
134 if (!*pos) in DEBUGFS_FILE()
136 if (*pos >= dd->first_user_ctxt) in DEBUGFS_FILE()
138 return pos; in DEBUGFS_FILE()
141 static void *_ctx_stats_seq_next(struct seq_file *s, void *v, loff_t *pos) in _ctx_stats_seq_next() argument
147 return pos; in _ctx_stats_seq_next()
149 ++*pos; in _ctx_stats_seq_next()
150 if (*pos >= dd->first_user_ctxt) in _ctx_stats_seq_next()
152 return pos; in _ctx_stats_seq_next()
191 static void *_qp_stats_seq_start(struct seq_file *s, loff_t *pos) in DEBUGFS_FILE()
194 loff_t n = *pos; in DEBUGFS_FILE()
212 loff_t *pos) in _qp_stats_seq_next() argument
216 (*pos)++; in _qp_stats_seq_next()