Home | History | Annotate | Download | only in util

Lines Matching refs:pos

133 #define dsos__for_each_with_build_id(pos, head)	\
134 list_for_each_entry(pos, head, node) \
135 if (!pos->has_build_id) \
142 struct dso *pos;
144 dsos__for_each_with_build_id(pos, head) {
149 if (!pos->hit)
151 len = pos->long_name_len + 1;
160 memcpy(&b.build_id, pos->build_id, sizeof(pos->build_id));
167 err = write_padded(fd, pos->long_name,
168 pos->long_name_len + 1, len);
206 struct machine *pos = rb_entry(nd, struct machine, rb_node);
207 err = machine__write_buildid_table(pos, fd);
328 struct dso *pos;
331 dsos__for_each_with_build_id(pos, head)
332 if (dso__cache_build_id(pos, debugdir))
359 struct machine *pos = rb_entry(nd, struct machine, rb_node);
360 ret |= machine__cache_build_ids(pos, debugdir);
378 struct machine *pos = rb_entry(nd, struct machine, rb_node);
379 ret |= machine__read_build_ids(pos, with_hits);
1201 int perf_event__synthesize_build_id(struct dso *pos, u16 misc,
1210 if (!pos->hit)
1215 len = pos->long_name_len + 1;
1223 memcpy(&ev.build_id.build_id, pos->build_id, sizeof(pos->build_id));
1228 memcpy(&ev.build_id.filename, pos->long_name, pos->long_name_len);