Home
last modified time | relevance | path

Searched refs:fi_access (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/fs/nfsd/
Dstate.h564 atomic_t fi_access[2]; member
Dnfs4state.c769 atomic_inc(&fp->fi_access[O_WRONLY]); in __nfs4_file_get_access()
771 atomic_inc(&fp->fi_access[O_RDONLY]); in __nfs4_file_get_access()
800 atomic_read(&fp->fi_access[O_RDONLY])) in nfs4_file_check_deny()
804 atomic_read(&fp->fi_access[O_WRONLY])) in nfs4_file_check_deny()
814 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
819 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
4262 memset(fp->fi_access, 0, sizeof(fp->fi_access)); in nfsd4_init_file()