Home
last modified time | relevance | path

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

/fs/
Dposix_acl.c217 if (pa->e_perm & ~(ACL_READ|ACL_WRITE|ACL_EXECUTE)) in posix_acl_valid()
294 mode |= (pa->e_perm & S_IRWXO) << 6; in posix_acl_equiv_mode()
297 mode |= (pa->e_perm & S_IRWXO) << 3; in posix_acl_equiv_mode()
300 mode |= pa->e_perm & S_IRWXO; in posix_acl_equiv_mode()
304 ((pa->e_perm & S_IRWXO) << 3); in posix_acl_equiv_mode()
332 acl->a_entries[0].e_perm = (mode & S_IRWXU) >> 6; in posix_acl_from_mode()
335 acl->a_entries[1].e_perm = (mode & S_IRWXG) >> 3; in posix_acl_from_mode()
338 acl->a_entries[2].e_perm = (mode & S_IRWXO); in posix_acl_from_mode()
369 if ((pa->e_perm & want) == want) in posix_acl_permission()
376 if ((pa->e_perm & want) == want) in posix_acl_permission()
[all …]
/fs/f2fs/
Dacl.c75 acl->a_entries[i].e_perm = le16_to_cpu(entry->e_perm); in f2fs_acl_from_disk()
131 entry->e_perm = cpu_to_le16(acl->a_entries[i].e_perm); in f2fs_acl_to_disk()
290 pa->e_perm &= (mode >> 6) | ~S_IRWXO; in f2fs_acl_create_masq()
291 mode &= (pa->e_perm << 6) | ~S_IRWXU; in f2fs_acl_create_masq()
304 pa->e_perm &= mode | ~S_IRWXO; in f2fs_acl_create_masq()
305 mode &= pa->e_perm | ~S_IRWXO; in f2fs_acl_create_masq()
319 mask_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in f2fs_acl_create_masq()
320 mode &= (mask_obj->e_perm << 3) | ~S_IRWXG; in f2fs_acl_create_masq()
324 group_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in f2fs_acl_create_masq()
325 mode &= (group_obj->e_perm << 3) | ~S_IRWXG; in f2fs_acl_create_masq()
Dacl.h21 __le16 e_perm; member
27 __le16 e_perm; member
/fs/nfsd/
Dnfs4acl.c206 pas->owner = pa->e_perm; in summarize_posix_acl()
209 pas->group = pa->e_perm; in summarize_posix_acl()
212 pas->users |= pa->e_perm; in summarize_posix_acl()
215 pas->groups |= pa->e_perm; in summarize_posix_acl()
218 pas->other = pa->e_perm; in summarize_posix_acl()
221 pas->mask = pa->e_perm; in summarize_posix_acl()
267 ace->access_mask = mask_from_posix(pa->e_perm, flags | NFS4_ACL_OWNER); in _posix_to_nfsv4_one()
274 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
287 ace->access_mask = mask_from_posix(pa->e_perm & pas.mask, in _posix_to_nfsv4_one()
314 ace->access_mask = mask_from_posix(pa->e_perm & pas.mask, in _posix_to_nfsv4_one()
[all …]
/fs/nfs_common/
Dnfsacl.c76 *p++ = htonl(entry->e_perm & S_IRWXO); in xdr_nfsace_encode()
166 entry->e_perm = ntohl(*p++); in xdr_nfsace_decode()
182 if (entry->e_perm & ~S_IRWXO) in xdr_nfsace_decode()
187 entry->e_perm &= S_IRWXO; in xdr_nfsace_decode()
246 mask->e_perm == group_obj->e_perm) { in posix_acl_from_nfsacl()
/fs/ext2/
Dacl.c48 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext2_acl_from_disk()
109 entry->e_perm = cpu_to_le16(acl_e->e_perm); in ext2_acl_to_disk()
Dacl.h14 __le16 e_perm; member
20 __le16 e_perm; member
/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()
146 entry->e_perm = cpu_to_je16(acl_e->e_perm); in jffs2_acl_to_medium()
/fs/ext4/
Dacl.c46 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ext4_acl_from_disk()
108 entry->e_perm = cpu_to_le16(acl_e->e_perm); in ext4_acl_to_disk()
Dacl.h14 __le16 e_perm; member
20 __le16 e_perm; member
/fs/reiserfs/
Dxattr_acl.c92 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in reiserfs_posix_acl_from_disk()
154 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in reiserfs_posix_acl_to_disk()
Dacl.h9 __le16 e_perm; member
15 __le16 e_perm; member
/fs/ocfs2/
Dacl.c55 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ocfs2_acl_from_xattr()
94 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in ocfs2_acl_to_xattr()
Dacl.h17 __le16 e_perm; member
/fs/xfs/
Dxfs_acl.c65 acl_e->e_perm = be16_to_cpu(ace->ae_perm); in xfs_acl_from_disk()
119 ace->ae_perm = cpu_to_be16(acl_e->e_perm); in xfs_acl_to_disk()
/fs/cifs/
Dcifssmb.c3496 ace->e_perm = cpu_to_le16(cifs_ace->cifs_e_perm); in cifs_convert_ace()
3568 cifs_ace->cifs_e_perm = le16_to_cpu(local_ace->e_perm); in convert_ace_to_cifs_ace()