Home
last modified time | relevance | path

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

/fs/nfsd/
Dnfs4acl.c239 unsigned short deny; in _posix_to_nfsv4_one() local
250 deny = ~pas.owner; in _posix_to_nfsv4_one()
255 deny &= pas.users | pas.group | pas.groups | pas.other; in _posix_to_nfsv4_one()
256 if (deny) { in _posix_to_nfsv4_one()
259 ace->access_mask = deny_mask_from_posix(deny, flags); in _posix_to_nfsv4_one()
274 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
275 deny &= pas.groups | pas.group | pas.other; in _posix_to_nfsv4_one()
276 if (deny) { in _posix_to_nfsv4_one()
279 ace->access_mask = deny_mask_from_posix(deny, flags); in _posix_to_nfsv4_one()
327 deny = ~pas.group & pas.other; in _posix_to_nfsv4_one()
[all …]
Dnfs4state.c571 static __be32 nfs4_file_check_deny(struct nfs4_file *fp, u32 deny) in nfs4_file_check_deny() argument
574 if (deny) { in nfs4_file_check_deny()
576 if (deny & ~NFS4_SHARE_DENY_BOTH) in nfs4_file_check_deny()
579 if ((deny & NFS4_SHARE_DENY_READ) && in nfs4_file_check_deny()
583 if ((deny & NFS4_SHARE_DENY_WRITE) && in nfs4_file_check_deny()
1152 set_deny(u32 deny, struct nfs4_ol_stateid *stp) in set_deny() argument
1154 unsigned char mask = 1 << deny; in set_deny()
1156 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in set_deny()
1162 clear_deny(u32 deny, struct nfs4_ol_stateid *stp) in clear_deny() argument
1164 unsigned char mask = 1 << deny; in clear_deny()
[all …]