Lines Matching defs:lck
2115 lock_descriptor_t *lck;
2127 lck = ep->from_vertex;
2131 if (NOT_BLOCKED(lck)) {
2132 GRANT_WAKEUP(lck);
2297 lock_descriptor_t *vertex, *lck;
2309 lck = ep->from_vertex;
2310 if (COLORED(lck)) {
2311 if (IS_BARRIER(lck)) {
2312 ASSERT(lck->l_index > 0);
2313 lck->l_index--;
2314 if (lck->l_index == 0)
2315 lck->l_state &= ~BARRIER_LOCK;
2319 COLOR(lck);
2320 if (IS_BARRIER(lck)) {
2321 ASSERT(lck->l_index > 0);
2322 lck->l_index--;
2323 if (lck->l_index == 0)
2324 lck->l_state &= ~BARRIER_LOCK;
2326 STACK_PUSH(vertex_stack, lck, l_stack1);
2341 lock_descriptor_t *vertex, *lck;
2354 lck = ep->from_vertex;
2355 if (COLORED(lck)) {
2357 lck->l_state |= BARRIER_LOCK;
2359 lck->l_index++;
2364 COLOR(lck);
2365 lck->l_index = 0;
2366 STACK_PUSH(vertex_stack, lck, l_stack1);