Searched refs:ace (Results 1 – 8 of 8) sorted by relevance
/fs/nfsd/ |
D | nfs4acl.c | 237 struct nfs4_ace *ace; in _posix_to_nfsv4_one() local 247 ace = acl->aces + acl->naces; in _posix_to_nfsv4_one() 257 ace->type = NFS4_ACE_ACCESS_DENIED_ACE_TYPE; in _posix_to_nfsv4_one() 258 ace->flag = eflag; in _posix_to_nfsv4_one() 259 ace->access_mask = deny_mask_from_posix(deny, flags); in _posix_to_nfsv4_one() 260 ace->whotype = NFS4_ACL_WHO_OWNER; in _posix_to_nfsv4_one() 261 ace++; in _posix_to_nfsv4_one() 265 ace->type = NFS4_ACE_ACCESS_ALLOWED_ACE_TYPE; in _posix_to_nfsv4_one() 266 ace->flag = eflag; in _posix_to_nfsv4_one() 267 ace->access_mask = mask_from_posix(pa->e_perm, flags | NFS4_ACL_OWNER); in _posix_to_nfsv4_one() [all …]
|
D | nfs4xdr.c | 298 nfsd4_decode_nfsace4(struct nfsd4_compoundargs *argp, struct nfs4_ace *ace) in nfsd4_decode_nfsace4() argument 303 if (xdr_stream_decode_u32(argp->xdr, &ace->type) < 0) in nfsd4_decode_nfsace4() 305 if (xdr_stream_decode_u32(argp->xdr, &ace->flag) < 0) in nfsd4_decode_nfsace4() 307 if (xdr_stream_decode_u32(argp->xdr, &ace->access_mask) < 0) in nfsd4_decode_nfsace4() 315 ace->whotype = nfs4_acl_get_whotype((char *)p, length); in nfsd4_decode_nfsace4() 316 if (ace->whotype != NFS4_ACL_WHO_NAMED) in nfsd4_decode_nfsace4() 318 else if (ace->flag & NFS4_ACE_IDENTIFIER_GROUP) in nfsd4_decode_nfsace4() 320 (char *)p, length, &ace->who_gid); in nfsd4_decode_nfsace4() 323 (char *)p, length, &ace->who_uid); in nfsd4_decode_nfsace4() 332 struct nfs4_ace *ace; in nfsd4_decode_acl() local [all …]
|
/fs/xfs/ |
D | xfs_acl.c | 38 const struct xfs_acl_entry *ace; in xfs_acl_from_disk() local 60 ace = &aclp->acl_entry[i]; in xfs_acl_from_disk() 68 acl_e->e_tag = be32_to_cpu(ace->ae_tag); in xfs_acl_from_disk() 69 acl_e->e_perm = be16_to_cpu(ace->ae_perm); in xfs_acl_from_disk() 74 be32_to_cpu(ace->ae_id)); in xfs_acl_from_disk() 78 be32_to_cpu(ace->ae_id)); in xfs_acl_from_disk() 100 struct xfs_acl_entry *ace; in xfs_acl_to_disk() local 105 ace = &aclp->acl_entry[i]; in xfs_acl_to_disk() 108 ace->ae_tag = cpu_to_be32(acl_e->e_tag); in xfs_acl_to_disk() 111 ace->ae_id = cpu_to_be32( in xfs_acl_to_disk() [all …]
|
/fs/ksmbd/ |
D | smbacl.c | 986 static void smb_set_ace(struct smb_ace *ace, const struct smb_sid *sid, u8 type, in smb_set_ace() argument 989 ace->type = type; in smb_set_ace() 990 ace->flags = flags; in smb_set_ace() 991 ace->access_req = access_req; in smb_set_ace() 992 smb_copy_sid(&ace->sid, sid); in smb_set_ace() 993 ace->size = cpu_to_le16(1 + 1 + 2 + 4 + 1 + 1 + 6 + (sid->num_subauth * 4)); in smb_set_ace() 1223 struct smb_ace *ace; in smb_check_perm_dacl() local 1262 ace = (struct smb_ace *)((char *)pdacl + sizeof(struct smb_acl)); in smb_check_perm_dacl() 1267 ace_size = le16_to_cpu(ace->size); in smb_check_perm_dacl() 1271 granted |= le32_to_cpu(ace->access_req); in smb_check_perm_dacl() [all …]
|
/fs/nfs_common/ |
D | nfsacl.c | 45 struct posix_acl_entry ace[4]; member
|
/fs/ntfs3/ |
D | fsntfs.c | 1743 const struct ACE_HEADER *ace; in is_acl_valid() local 1767 ace = (struct ACE_HEADER *)&acl[1]; in is_acl_valid() 1774 ace_size = le16_to_cpu(ace->AceSize); in is_acl_valid() 1779 ace = Add2Ptr(ace, ace_size); in is_acl_valid()
|
/fs/cifs/ |
D | cifssmb.c | 3310 static void cifs_convert_ace(struct posix_acl_xattr_entry *ace, in cifs_convert_ace() argument 3314 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace() 3315 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace() 3316 ace->e_id = cpu_to_le32(le64_to_cpu(cifs_ace->cifs_uid)); in cifs_convert_ace() 3372 struct posix_acl_xattr_entry *ace = (void *)(local_acl + 1); in cifs_copy_posix_acl() local 3376 cifs_convert_ace(&ace[i], pACE); in cifs_copy_posix_acl() 3407 struct posix_acl_xattr_entry *ace = (void *)(local_acl + 1); in ACL_to_cifs_posix() local 3434 convert_ace_to_cifs_ace(&cifs_acl->ace_array[i], &ace[i]); in ACL_to_cifs_posix()
|
/fs/nfs/ |
D | nfs4xdr.c | 3230 static int decode_ace(struct xdr_stream *xdr, void *ace) in decode_ace() argument
|