Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nfsd/
Dstate.h532 atomic_t fi_access[2]; member
Dnfs4state.c563 atomic_inc(&fp->fi_access[O_WRONLY]); in __nfs4_file_get_access()
565 atomic_inc(&fp->fi_access[O_RDONLY]); in __nfs4_file_get_access()
594 atomic_read(&fp->fi_access[O_RDONLY])) in nfs4_file_check_deny()
598 atomic_read(&fp->fi_access[O_WRONLY])) in nfs4_file_check_deny()
608 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
613 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
4094 memset(fp->fi_access, 0, sizeof(fp->fi_access)); in nfsd4_init_file()