Lines Matching defs:pos
174 struct dso *pos, *n;
178 list_for_each_entry_safe(pos, n, &dsos->head, node) {
179 RB_CLEAR_NODE(&pos->rb_node);
180 pos->root = NULL;
181 list_del_init(&pos->node);
182 dso__put(pos);
271 struct machine *pos, *machine = malloc(sizeof(*machine));
284 pos = rb_entry(parent, struct machine, rb_node);
285 if (pid < pos->pid)
378 struct machine *pos = rb_entry(nd, struct machine, rb_node);
379 process(pos, data);
896 struct machine *pos = rb_entry(nd, struct machine, rb_node);
897 ret += __dsos__fprintf(&pos->dsos.head, fp);
916 struct machine *pos = rb_entry(nd, struct machine, rb_node);
917 ret += machine__fprintf_dsos_buildid(pos, fp, skip, parm);
957 struct thread *pos = rb_entry(nd, struct thread, rb_node);
959 ret += thread__fprintf(pos, fp);
1258 struct machine *pos = rb_entry(next, struct machine, rb_node);
1260 next = rb_next(&pos->rb_node);
1261 rb_erase_cached(&pos->rb_node, &machines->guests);
1262 machine__delete(pos);
2289 if (cursor->pos == cursor->nr) {
2302 cursor->pos++;
2322 * The curr and pos are not used in writing session. They are cleared
2324 * Using curr and pos to track the current cursor node.
2328 cursor->pos = cursor->nr;
2354 if (thread->lbr_stitch && (cursor->pos != cursor->nr)) {
2359 cursor->pos++;
3118 struct dso *pos;
3121 list_for_each_entry(pos, &machine->dsos.head, node) {
3122 if (fn(pos, machine, priv))