Home
last modified time | relevance | path

Searched refs:deleg_cur (Results 1 – 2 of 2) sorted by relevance

/fs/nfs/
Ddelegation.c341 struct nfs_delegation *deleg_cur = in nfs_detach_delegation_locked() local
345 if (deleg_cur == NULL || delegation != deleg_cur) in nfs_detach_delegation_locked()
Dnfs4proc.c1817 struct nfs_delegation *deleg_cur; in update_open_stateid() local
1830 deleg_cur = nfs4_get_valid_delegation(state->inode); in update_open_stateid()
1831 if (deleg_cur == NULL) in update_open_stateid()
1834 spin_lock(&deleg_cur->lock); in update_open_stateid()
1835 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1836 test_bit(NFS_DELEGATION_RETURNING, &deleg_cur->flags) || in update_open_stateid()
1837 (deleg_cur->type & fmode) != fmode) in update_open_stateid()
1841 delegation = &deleg_cur->stateid; in update_open_stateid()
1842 else if (!nfs4_stateid_match_other(&deleg_cur->stateid, delegation)) in update_open_stateid()
1845 nfs_mark_delegation_referenced(deleg_cur); in update_open_stateid()
[all …]