Home
last modified time | relevance | path

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

/linux-6.6.21/fs/nfsd/
Dstate.h566 atomic_t fi_access[2]; member
Dnfs4state.c787 atomic_inc(&fp->fi_access[O_WRONLY]); in __nfs4_file_get_access()
789 atomic_inc(&fp->fi_access[O_RDONLY]); in __nfs4_file_get_access()
818 atomic_read(&fp->fi_access[O_RDONLY])) in nfs4_file_check_deny()
822 atomic_read(&fp->fi_access[O_WRONLY])) in nfs4_file_check_deny()
832 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
837 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
4329 memset(fp->fi_access, 0, sizeof(fp->fi_access)); in nfsd4_file_init()