Lines Matching refs:test_access
459 test_access(u32 access, struct nfs4_ol_stateid *stp) in test_access() function
512 return test_access(NFS4_SHARE_ACCESS_READ, stp) || in access_permit_read()
513 test_access(NFS4_SHARE_ACCESS_BOTH, stp) || in access_permit_read()
514 test_access(NFS4_SHARE_ACCESS_WRITE, stp); in access_permit_read()
520 return test_access(NFS4_SHARE_ACCESS_WRITE, stp) || in access_permit_write()
521 test_access(NFS4_SHARE_ACCESS_BOTH, stp); in access_permit_write()
1427 if (test_access(i, stp)) in release_all_access()
5247 if (!test_access(open->op_share_access, stp)) in nfs4_upgrade_open()
6738 if (!test_access(access, stp)) in nfs4_stateid_downgrade_bit()
6784 if (!test_access(od->od_share_access, stp)) { in nfsd4_open_downgrade()
7237 if (test_access(access, lock_stp)) in get_lock_access()