Searched refs:deleg_cur (Results 1 – 2 of 2) sorted by relevance
379 struct nfs_delegation *deleg_cur; in nfs_detach_delegation() local383 deleg_cur = rcu_dereference_protected(nfsi->delegation, in nfs_detach_delegation()385 if (delegation == deleg_cur) in nfs_detach_delegation()
1832 struct nfs_delegation *deleg_cur; in update_open_stateid() local1846 deleg_cur = nfs4_get_valid_delegation(state->inode); in update_open_stateid()1847 if (deleg_cur == NULL) in update_open_stateid()1850 spin_lock(&deleg_cur->lock); in update_open_stateid()1851 if (!deleg_cur->inode || in update_open_stateid()1852 test_bit(NFS_DELEGATION_RETURNING, &deleg_cur->flags) || in update_open_stateid()1853 (deleg_cur->type & fmode) != fmode) in update_open_stateid()1857 delegation = &deleg_cur->stateid; in update_open_stateid()1858 else if (!nfs4_stateid_match_other(&deleg_cur->stateid, delegation)) in update_open_stateid()1861 nfs_mark_delegation_referenced(deleg_cur); in update_open_stateid()[all …]