Home
last modified time | relevance | path

Searched refs:newstate (Results 1 – 4 of 4) sorted by relevance

/fs/nfsd/
Dnfs4callback.c950 static void nfsd4_mark_cb_state(struct nfs4_client *clp, int newstate) in nfsd4_mark_cb_state() argument
952 if (clp->cl_cb_state != newstate) { in nfsd4_mark_cb_state()
953 clp->cl_cb_state = newstate; in nfsd4_mark_cb_state()
/fs/nfs/
Dnfs4state.c785 fmode_t newstate; in __nfs4_close() local
800 newstate = FMODE_READ|FMODE_WRITE; in __nfs4_close()
803 newstate &= ~FMODE_READ; in __nfs4_close()
808 newstate &= ~FMODE_WRITE; in __nfs4_close()
812 if (newstate == 0) in __nfs4_close()
815 nfs4_state_set_mode_locked(state, newstate); in __nfs4_close()
Dnfs4proc.c2138 struct nfs4_state *newstate; in nfs4_open_recover_helper() local
2154 newstate = nfs4_opendata_to_nfs4_state(opendata); in nfs4_open_recover_helper()
2155 if (IS_ERR(newstate)) in nfs4_open_recover_helper()
2156 return PTR_ERR(newstate); in nfs4_open_recover_helper()
2157 if (newstate != opendata->state) in nfs4_open_recover_helper()
2159 nfs4_close_state(newstate, fmode); in nfs4_open_recover_helper()
/fs/ceph/
Dmds_client.c4364 int oldstate, newstate; in check_new_map() local
4383 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map()
4388 ceph_mds_state_name(newstate), in check_new_map()
4421 } else if (oldstate == newstate) { in check_new_map()
4429 newstate >= CEPH_MDS_STATE_RECONNECT) { in check_new_map()
4440 newstate >= CEPH_MDS_STATE_ACTIVE) { in check_new_map()
4470 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map()
4471 if (!test_bit(i, targets) || newstate != CEPH_MDS_STATE_RECONNECT) in check_new_map()