Home | History | Annotate | Download | only in liblegacy

Lines Matching refs:tgid

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);
99 * @param tgid thread group id
103 static size_t opd_hash_image(char const * name, pid_t tid, pid_t tgid)
107 hash += tid + tgid;
118 * @param tgid thread group id
130 pid_t tid, pid_t tgid)
136 "tgid %d\n", name, app_name, kernel, tid, tgid);
144 image->tgid = tgid;
157 hash_image = opd_hash_image(name, tid, tgid);
172 * @param tgid thread group id
178 pid_t tid, pid_t tgid)
186 if (image->tid != tid || image->tgid != tgid)
217 * @param tgid thread group 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);