Lines Matching refs:deleg_cur
1799 struct nfs_delegation *deleg_cur; in update_open_stateid() local
1812 deleg_cur = nfs4_get_valid_delegation(state->inode); in update_open_stateid()
1813 if (deleg_cur == NULL) in update_open_stateid()
1816 spin_lock(&deleg_cur->lock); in update_open_stateid()
1817 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1818 test_bit(NFS_DELEGATION_RETURNING, &deleg_cur->flags) || in update_open_stateid()
1819 (deleg_cur->type & fmode) != fmode) in update_open_stateid()
1823 delegation = &deleg_cur->stateid; in update_open_stateid()
1824 else if (!nfs4_stateid_match_other(&deleg_cur->stateid, delegation)) in update_open_stateid()
1827 nfs_mark_delegation_referenced(deleg_cur); in update_open_stateid()
1828 nfs_state_set_delegation(state, &deleg_cur->stateid, fmode); in update_open_stateid()
1831 spin_unlock(&deleg_cur->lock); in update_open_stateid()