Lines Matching +refs:val +refs:current

137  * current door call client possesses any of them (perm_granted()).
1500 * perm_granted() returns PERM_GRANTED if the current door caller has one of
2772 rc_node_assign(rc_node_ptr_t *out, rc_node_t *val)
2775 if (val != NULL)
2776 rc_node_hold(val);
2777 out->rnp_node = val;
2804 rc_node_ptr_assign(rc_node_ptr_t *out, const rc_node_ptr_t *val)
2806 rc_node_assign(out, val->rnp_node);
4415 rc_node_t *current, *cur;
4463 * remove it, we must find the current in-hash object and grab its
4470 current = cache_lookup(&np->rn_id);
4472 if (current == NULL) {
4490 if (current == np) {
4501 (void) pthread_mutex_lock(&current->rn_lock);
4502 if (current->rn_flags & RC_NODE_OLD) {
4504 * current has been replaced since we looked it
4508 rc_node_rele_locked(current);
4512 if (!rc_node_hold_flag(current, RC_NODE_IN_TX)) {
4514 * current has been deleted since we looked it up. Try
4518 rc_node_rele_locked(current);
4523 * rc_node_hold_flag() might have dropped current's lock, so
4526 if (!(current->rn_flags & RC_NODE_OLD)) {
4528 (void) pthread_mutex_unlock(&current->rn_lock);
4532 rc_node_rele_flag(current, RC_NODE_IN_TX);
4533 rc_node_rele_locked(current);
4548 (void) pthread_mutex_lock(&current->rn_lock);
4549 rc_node_rele_flag(current, RC_NODE_IN_TX);
4551 rc_node_rele_locked(current);
4558 * DYING_FLAGS. Undo the modifications to current.
4562 rc_node_rele_flag(current, RC_NODE_IN_TX);
4564 rc_node_rele_locked(current);
4583 (void) pthread_mutex_lock(&current->rn_lock);
4584 rc_node_rele_flag(current, RC_NODE_IN_TX);
4586 rc_node_rele_locked(current);
4602 /* Remove np from current's rn_former chain. */
4603 (void) pthread_mutex_lock(&current->rn_lock);
4604 for (cur = current; cur != NULL && cur->rn_former != np;
4612 rc_node_rele_flag(current, RC_NODE_IN_TX);
4614 rc_node_rele_locked(current);
6416 /* Stop walking current level. */