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

/linux-4.4.14/fs/nfs/
H A Ddelegation.c267 struct nfs_delegation *deleg_cur = nfs_detach_delegation_locked() local
271 if (deleg_cur == NULL || delegation != deleg_cur) nfs_detach_delegation_locked()
H A Dnfs4proc.c1404 struct nfs_delegation *deleg_cur; update_open_stateid() local
1410 deleg_cur = rcu_dereference(nfsi->delegation); update_open_stateid()
1411 if (deleg_cur == NULL) update_open_stateid()
1414 spin_lock(&deleg_cur->lock); update_open_stateid()
1415 if (rcu_dereference(nfsi->delegation) != deleg_cur || update_open_stateid()
1416 test_bit(NFS_DELEGATION_RETURNING, &deleg_cur->flags) || update_open_stateid()
1417 (deleg_cur->type & fmode) != fmode) update_open_stateid()
1421 delegation = &deleg_cur->stateid; update_open_stateid()
1422 else if (!nfs4_stateid_match(&deleg_cur->stateid, delegation)) update_open_stateid()
1425 nfs_mark_delegation_referenced(deleg_cur); update_open_stateid()
1426 __update_open_stateid(state, open_stateid, &deleg_cur->stateid, fmode); update_open_stateid()
1429 spin_unlock(&deleg_cur->lock); update_open_stateid()

Completed in 127 milliseconds