Lines Matching refs:pos
303 #define dsos__for_each_with_build_id(pos, head) \ argument
304 list_for_each_entry(pos, head, node) \
305 if (!pos->has_build_id) \
338 struct dso *pos; in machine__write_buildid_table() local
347 dsos__for_each_with_build_id(pos, &machine->dsos.head) { in machine__write_buildid_table()
352 if (!pos->hit && !dso__is_vdso(pos)) in machine__write_buildid_table()
355 if (dso__is_vdso(pos)) { in machine__write_buildid_table()
356 name = pos->short_name; in machine__write_buildid_table()
357 name_len = pos->short_name_len; in machine__write_buildid_table()
358 } else if (dso__is_kcore(pos)) { in machine__write_buildid_table()
362 name = pos->long_name; in machine__write_buildid_table()
363 name_len = pos->long_name_len; in machine__write_buildid_table()
366 in_kernel = pos->kernel || in machine__write_buildid_table()
369 err = write_buildid(name, name_len, &pos->bid, machine->pid, in machine__write_buildid_table()
389 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table() local
390 err = machine__write_buildid_table(pos, fd); in perf_session__write_buildid_table()
399 struct dso *pos; in __dsos__hit_all() local
401 list_for_each_entry(pos, head, node) in __dsos__hit_all()
402 pos->hit = true; in __dsos__hit_all()
423 struct machine *pos = rb_entry(nd, struct machine, rb_node); in dsos__hit_all() local
425 err = machine__hit_all_dsos(pos); in dsos__hit_all()
929 struct machine *pos = rb_entry(nd, struct machine, rb_node); in machines__for_each_dso() local
931 ret |= machine__for_each_dso(pos, fn, priv); in machines__for_each_dso()
965 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__read_build_ids() local
966 ret |= machine__read_build_ids(pos, with_hits); in perf_session__read_build_ids()