Lines Matching refs:test_access
965 test_access(u32 access, struct nfs4_ol_stateid *stp) in test_access() function
1060 if (test_access(i, stp)) in release_all_access()
3985 if (!test_access(open->op_share_access, stp)) in nfs4_upgrade_open()
4564 return test_access(NFS4_SHARE_ACCESS_READ, stp) || in access_permit_read()
4565 test_access(NFS4_SHARE_ACCESS_BOTH, stp) || in access_permit_read()
4566 test_access(NFS4_SHARE_ACCESS_WRITE, stp); in access_permit_read()
4572 return test_access(NFS4_SHARE_ACCESS_WRITE, stp) || in access_permit_write()
4573 test_access(NFS4_SHARE_ACCESS_BOTH, stp); in access_permit_write()
5058 if (!test_access(access, stp)) in nfs4_stateid_downgrade_bit()
5104 if (!test_access(od->od_share_access, stp)) { in nfsd4_open_downgrade()
5469 if (test_access(access, lock_stp)) in get_lock_access()