Searched refs:n_rdwr (Results 1 – 3 of 3) sorted by relevance
192 unsigned int n_rdwr; /* Number of read/write references */ member
794 state->n_rdwr--; in __nfs4_close()797 if (state->n_rdwr == 0) { in __nfs4_close()
1395 return state->n_rdwr != 0; in nfs4_mode_match_open_stateid()1430 && state->n_rdwr != 0; in can_open_cached()1468 state->n_rdwr++; in update_open_stateflags()1480 if (state->n_rdwr && !test_bit(NFS_O_RDWR_STATE, &state->flags)) in nfs_open_stateid_recover_openmode()1514 if (test_and_clear_bit(NFS_O_RDWR_STATE, &state->flags) && state->n_rdwr) in nfs_test_and_clear_all_open_stateid()1551 if (!(state->n_wronly || state->n_rdonly || state->n_rdwr)) in nfs_resync_open_stateid_locked()1557 if (state->n_rdwr) in nfs_resync_open_stateid_locked()3511 if (state->n_rdwr == 0) { in nfs4_close_prepare()