Home
last modified time | relevance | path

Searched refs:n_wronly (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs4_fs.h195 unsigned int n_wronly; /* Number of write-only references */ member
H A Dnfs4proc.c1482 return state->n_wronly != 0; in nfs4_mode_match_open_stateid()
1511 && state->n_wronly != 0; in can_open_cached()
1547 state->n_wronly++; in update_open_stateflags()
1563 if (state->n_wronly && !test_bit(NFS_O_WRONLY_STATE, &state->flags)) in nfs_open_stateid_recover_openmode()
1584 if (test_and_clear_bit(NFS_O_WRONLY_STATE, &state->flags) && state->n_wronly) in nfs_test_and_clear_all_open_stateid()
1622 if (!(state->n_wronly || state->n_rdonly || state->n_rdwr)) in nfs_resync_open_stateid_locked()
1624 if (state->n_wronly) in nfs_resync_open_stateid_locked()
3649 if (state->n_wronly == 0) in nfs4_close_prepare()
H A Dnfs4state.c796 state->n_wronly--; in __nfs4_close()
808 if (state->n_wronly == 0) { in __nfs4_close()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs4_fs.h197 unsigned int n_wronly; /* Number of write-only references */ member
H A Dnfs4proc.c1487 return state->n_wronly != 0; in nfs4_mode_match_open_stateid()
1516 && state->n_wronly != 0; in can_open_cached()
1552 state->n_wronly++; in update_open_stateflags()
1568 if (state->n_wronly && !test_bit(NFS_O_WRONLY_STATE, &state->flags)) in nfs_open_stateid_recover_openmode()
1589 if (test_and_clear_bit(NFS_O_WRONLY_STATE, &state->flags) && state->n_wronly) in nfs_test_and_clear_all_open_stateid()
1627 if (!(state->n_wronly || state->n_rdonly || state->n_rdwr)) in nfs_resync_open_stateid_locked()
1629 if (state->n_wronly) in nfs_resync_open_stateid_locked()
3648 if (state->n_wronly == 0) in nfs4_close_prepare()
H A Dnfs4state.c795 state->n_wronly--; in __nfs4_close()
807 if (state->n_wronly == 0) { in __nfs4_close()

Completed in 37 milliseconds