Lines Matching refs:perm
66 mask_from_posix(unsigned short perm, unsigned int flags) in mask_from_posix() argument
72 if (perm & ACL_READ) in mask_from_posix()
74 if (perm & ACL_WRITE) in mask_from_posix()
76 if ((perm & ACL_WRITE) && (flags & NFS4_ACL_DIR)) in mask_from_posix()
78 if (perm & ACL_EXECUTE) in mask_from_posix()
84 deny_mask_from_posix(unsigned short perm, u32 flags) in deny_mask_from_posix() argument
88 if (perm & ACL_READ) in deny_mask_from_posix()
90 if (perm & ACL_WRITE) in deny_mask_from_posix()
92 if ((perm & ACL_WRITE) && (flags & NFS4_ACL_DIR)) in deny_mask_from_posix()
94 if (perm & ACL_EXECUTE) in deny_mask_from_posix()
109 low_mode_from_nfs4(u32 perm, unsigned short *mode, unsigned int flags) in low_mode_from_nfs4() argument
116 if ((perm & NFS4_READ_MODE) == NFS4_READ_MODE) in low_mode_from_nfs4()
118 if ((perm & write_mode) == write_mode) in low_mode_from_nfs4()
120 if ((perm & NFS4_EXECUTE_MODE) == NFS4_EXECUTE_MODE) in low_mode_from_nfs4()