Home
last modified time | relevance | path

Searched refs:n_rdonly (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/fs/nfs/
H A Dnfs4_fs.h193 unsigned int n_rdonly; /* Number of read-only references */ member
H A Dnfs4state.c789 state->n_rdonly--; in __nfs4_close()
799 if (state->n_rdonly == 0) { in __nfs4_close()
H A Dnfs4proc.c1476 return state->n_rdonly != 0; in nfs4_mode_match_open_stateid()
1499 && state->n_rdonly != 0; in can_open_cached()
1542 state->n_rdonly++; in update_open_stateflags()
1553 if (state->n_rdonly && !test_bit(NFS_O_RDONLY_STATE, &state->flags)) in nfs_open_stateid_recover_openmode()
1574 if (test_and_clear_bit(NFS_O_RDONLY_STATE, &state->flags) && state->n_rdonly) 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()
1618 if (state->n_rdonly) in nfs_resync_open_stateid_locked()
3633 if (state->n_rdonly == 0) in nfs4_close_prepare()