Lines Matching refs:tid
52 "tid %d, tgid %d ref count %u\n",
54 image->tid, image->tgid, (int)image->ref_count);
58 "kernel %d, tid %d, tgid %d ref count %u\n",
60 image->tid, image->tgid, image->ref_count);
98 * @param tid thread id
103 static size_t opd_hash_image(char const * name, pid_t tid, pid_t tgid)
107 hash += tid + tgid;
117 * @param tid thread id
130 pid_t tid, pid_t tgid)
135 verbprintf(vmisc, "Creating image: %s %s, kernel %d, tid %d, "
136 "tgid %d\n", name, app_name, kernel, tid, tgid);
143 image->tid = tid;
157 hash_image = opd_hash_image(name, tid, tgid);
171 * @param tid thread id
178 pid_t tid, pid_t tgid)
186 if (image->tid != tid || image->tgid != tgid)
216 * @param tid thread id
222 char const * app_name, pid_t tid, pid_t tgid)
230 bucket = opd_hash_image(name, tid, tgid);
236 if (!is_same_image(image, app_name, tid, tgid))
250 int kernel, pid_t tid, pid_t tgid)
253 if ((image = opd_find_image(name, app_name, tid, tgid)) == NULL)
254 image = opd_new_image(name, app_name, kernel, tid, tgid);
261 char const * app_name, pid_t tid, pid_t tgid)
263 return opd_get_image(name, app_name, 1, tid, tgid);