Lines Matching refs:tid
54 image->tid, image->tgid, (int)image->ref_count); in opd_delete_image()
60 image->tid, image->tgid, image->ref_count); in opd_delete_image()
103 static size_t opd_hash_image(char const * name, pid_t tid, pid_t tgid) in opd_hash_image() argument
107 hash += tid + tgid; in opd_hash_image()
130 pid_t tid, pid_t tgid) in opd_new_image() argument
136 "tgid %d\n", name, app_name, kernel, tid, tgid); in opd_new_image()
143 image->tid = tid; in opd_new_image()
157 hash_image = opd_hash_image(name, tid, tgid); in opd_new_image()
178 pid_t tid, pid_t tgid) in is_same_image() argument
186 if (image->tid != tid || image->tgid != tgid) in is_same_image()
222 char const * app_name, pid_t tid, pid_t tgid) in opd_find_image() argument
230 bucket = opd_hash_image(name, tid, tgid); in opd_find_image()
236 if (!is_same_image(image, app_name, tid, tgid)) in opd_find_image()
250 int kernel, pid_t tid, pid_t tgid) in opd_get_image() argument
253 if ((image = opd_find_image(name, app_name, tid, tgid)) == NULL) in opd_get_image()
254 image = opd_new_image(name, app_name, kernel, tid, tgid); in opd_get_image()
261 char const * app_name, pid_t tid, pid_t tgid) in opd_get_kernel_image() argument
263 return opd_get_image(name, app_name, 1, tid, tgid); in opd_get_kernel_image()