Lines Matching refs:cursor
160 struct callchain_cursor_node cursor; member
197 struct callchain_cursor *cursor,
200 int callchain_merge(struct callchain_cursor *cursor,
203 void callchain_cursor_reset(struct callchain_cursor *cursor);
205 int callchain_cursor_append(struct callchain_cursor *cursor, u64 ip,
212 static inline void callchain_cursor_commit(struct callchain_cursor *cursor) in callchain_cursor_commit() argument
214 cursor->curr = cursor->first; in callchain_cursor_commit()
215 cursor->pos = 0; in callchain_cursor_commit()
220 callchain_cursor_current(struct callchain_cursor *cursor) in callchain_cursor_current() argument
222 if (cursor->pos == cursor->nr) in callchain_cursor_current()
225 return cursor->curr; in callchain_cursor_current()
228 static inline void callchain_cursor_advance(struct callchain_cursor *cursor) in callchain_cursor_advance() argument
230 cursor->curr = cursor->curr->next; in callchain_cursor_advance()
231 cursor->pos++; in callchain_cursor_advance()
250 struct callchain_cursor *cursor, struct symbol **parent,