Home
last modified time | relevance | path

Searched refs:e_perm (Results 1 – 20 of 20) sorted by relevance

/linux-3.4.99/fs/
Dposix_acl.c85 if (pa->e_perm & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE)) in posix_acl_valid()
167 mode |= (pa->e_perm & S_IRWXO) << 6; in posix_acl_equiv_mode()
170 mode |= (pa->e_perm & S_IRWXO) << 3; in posix_acl_equiv_mode()
173 mode |= pa->e_perm & S_IRWXO; in posix_acl_equiv_mode()
177 ((pa->e_perm & S_IRWXO) << 3); in posix_acl_equiv_mode()
205 acl->a_entries[0].e_perm = (mode & S_IRWXU) >> 6; in posix_acl_from_mode()
209 acl->a_entries[1].e_perm = (mode & S_IRWXG) >> 3; in posix_acl_from_mode()
213 acl->a_entries[2].e_perm = (mode & S_IRWXO); in posix_acl_from_mode()
243 if ((pa->e_perm & want) == want) in posix_acl_permission()
250 if ((pa->e_perm & want) == want) in posix_acl_permission()
[all …]
Dxattr_acl.c46 acl_e->e_perm = le16_to_cpu(entry->e_perm); in posix_acl_from_xattr()
93 ext_entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in posix_acl_to_xattr()
/linux-3.4.99/fs/nfsd/
Dnfs4acl.c192 pas->owner = pa->e_perm; in summarize_posix_acl()
195 pas->group = pa->e_perm; in summarize_posix_acl()
198 pas->users |= pa->e_perm; in summarize_posix_acl()
201 pas->groups |= pa->e_perm; in summarize_posix_acl()
204 pas->other = pa->e_perm; in summarize_posix_acl()
207 pas->mask = pa->e_perm; in summarize_posix_acl()
253 ace->access_mask = mask_from_posix(pa->e_perm, flags | NFS4_ACL_OWNER); in _posix_to_nfsv4_one()
260 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
273 ace->access_mask = mask_from_posix(pa->e_perm & pas.mask, in _posix_to_nfsv4_one()
300 ace->access_mask = mask_from_posix(pa->e_perm & pas.mask, in _posix_to_nfsv4_one()
[all …]
/linux-3.4.99/fs/nfs_common/
Dnfsacl.c76 *p++ = htonl(entry->e_perm & S_IRWXO); in xdr_nfsace_encode()
164 entry->e_perm = ntohl(*p++); in xdr_nfsace_decode()
172 if (entry->e_perm & ~S_IRWXO) in xdr_nfsace_decode()
177 entry->e_perm &= S_IRWXO; in xdr_nfsace_decode()
236 mask->e_perm == group_obj->e_perm) { in posix_acl_from_nfsacl()
/linux-3.4.99/fs/jffs2/
Dacl.h14 jint16_t e_perm; member
20 jint16_t e_perm; member
Dacl.c90 acl->a_entries[i].e_perm = je16_to_cpu(entry->e_perm); in jffs2_acl_from_medium()
136 entry->e_perm = cpu_to_je16(acl->a_entries[i].e_perm); in jffs2_acl_to_medium()
/linux-3.4.99/fs/ext4/
Dacl.h13 __le16 e_perm; member
19 __le16 e_perm; member
Dacl.c49 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext4_acl_from_disk()
103 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in ext4_acl_to_disk()
/linux-3.4.99/fs/ext2/
Dacl.h13 __le16 e_perm; member
19 __le16 e_perm; member
Dacl.c48 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext2_acl_from_disk()
101 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in ext2_acl_to_disk()
/linux-3.4.99/fs/ext3/
Dacl.h13 __le16 e_perm; member
19 __le16 e_perm; member
Dacl.c43 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext3_acl_from_disk()
96 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in ext3_acl_to_disk()
/linux-3.4.99/fs/reiserfs/
Dacl.h8 __le16 e_perm; member
14 __le16 e_perm; member
Dxattr_acl.c116 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in posix_acl_from_disk()
169 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in posix_acl_to_disk()
/linux-3.4.99/fs/ocfs2/
Dacl.h25 __le16 e_perm; member
Dacl.c67 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ocfs2_acl_from_xattr()
93 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in ocfs2_acl_to_xattr()
/linux-3.4.99/include/linux/
Dposix_acl_xattr.h27 __le16 e_perm; member
Dposix_acl.h38 unsigned short e_perm; member
/linux-3.4.99/fs/xfs/
Dxfs_acl.c63 acl_e->e_perm = be16_to_cpu(ace->ae_perm); in xfs_acl_from_disk()
101 ace->ae_perm = cpu_to_be16(acl_e->e_perm); in xfs_acl_to_disk()
/linux-3.4.99/fs/cifs/
Dcifssmb.c3353 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace()
3422 cifs_ace->cifs_e_perm = le16_to_cpu(local_ace->e_perm); in convert_ace_to_cifs_ace()