Lines Matching refs:e
31 static void add_ref(struct hashmap *map, struct pid_iter_entry *e) in add_ref() argument
39 hashmap__for_each_key_entry(map, entry, e->id) { in add_ref()
43 if (refs->refs[i].pid == e->pid) in add_ref()
50 e->id, e->pid, e->comm); in add_ref()
55 ref->pid = e->pid; in add_ref()
56 memcpy(ref->comm, e->comm, sizeof(ref->comm)); in add_ref()
67 e->id, e->pid, e->comm); in add_ref()
75 e->id, e->pid, e->comm); in add_ref()
79 ref->pid = e->pid; in add_ref()
80 memcpy(ref->comm, e->comm, sizeof(ref->comm)); in add_ref()
83 refs->has_bpf_cookie = e->has_bpf_cookie; in add_ref()
84 refs->bpf_cookie = e->bpf_cookie; in add_ref()
86 err = hashmap__append(map, e->id, refs); in add_ref()
89 e->id, strerror(errno)); in add_ref()
102 struct pid_iter_entry *e; in build_obj_refs_table() local
103 char buf[4096 / sizeof(*e) * sizeof(*e)]; in build_obj_refs_table()
164 if (ret % sizeof(*e)) { in build_obj_refs_table()
169 ret /= sizeof(*e); in build_obj_refs_table()
171 e = (void *)buf; in build_obj_refs_table()
172 for (i = 0; i < ret; i++, e++) { in build_obj_refs_table()
173 add_ref(*map, e); in build_obj_refs_table()