Searched refs:n_wronly (Results 1 – 3 of 3) sorted by relevance
194 unsigned int n_wronly; /* Number of write-only references */ member
792 state->n_wronly--; in __nfs4_close()804 if (state->n_wronly == 0) { in __nfs4_close()
1474 return state->n_wronly != 0; in nfs4_mode_match_open_stateid()1503 && state->n_wronly != 0; in can_open_cached()1539 state->n_wronly++; in update_open_stateflags()1555 if (state->n_wronly && !test_bit(NFS_O_WRONLY_STATE, &state->flags)) in nfs_open_stateid_recover_openmode()1576 if (test_and_clear_bit(NFS_O_WRONLY_STATE, &state->flags) && state->n_wronly) in nfs_test_and_clear_all_open_stateid()1614 if (!(state->n_wronly || state->n_rdonly || state->n_rdwr)) in nfs_resync_open_stateid_locked()1616 if (state->n_wronly) in nfs_resync_open_stateid_locked()3637 if (state->n_wronly == 0) in nfs4_close_prepare()