Lines Matching defs:owner
48 int32_t owner;
54 owner = -1;
77 owner = find_thread(NULL);
83 if (find_thread(NULL) == owner) {
84 owner = -1;
94 int32_t owner;
100 // writer_count includes the write lock owner as well as waiting
107 owner = -1;
166 owner = find_thread(NULL);
177 if (find_thread(NULL) == owner) {
179 owner = -1;
194 if (writer_count == 1 && owner == find_thread(NULL))
229 if (waiter == NULL || owner >= 0)
238 owner = waiter->thread;