Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/
A Dposix_acl.c328 mode |= pa->e_perm & S_IRWXO; in posix_acl_equiv_mode()
405 if ((pa->e_perm & want) == want) in posix_acl_permission()
414 if ((pa->e_perm & want) == want) in posix_acl_permission()
434 if ((pa->e_perm & mask_obj->e_perm & want) == want) in posix_acl_permission()
441 if ((pa->e_perm & want) == want) in posix_acl_permission()
480 pa->e_perm &= mode | ~S_IRWXO; in posix_acl_create_masq()
481 mode &= pa->e_perm | ~S_IRWXO; in posix_acl_create_masq()
537 pa->e_perm = (mode & S_IRWXO); in __posix_acl_chmod_masq()
797 acl_e->e_perm = le16_to_cpu(entry->e_perm); in posix_acl_from_xattr()
854 ext_entry->e_perm = cpu_to_le16(acl_e->e_perm); in posix_acl_to_xattr()
[all …]
/linux-6.3-rc2/fs/f2fs/
A Dacl.c76 acl->a_entries[i].e_perm = le16_to_cpu(entry->e_perm); in f2fs_acl_from_disk()
132 entry->e_perm = cpu_to_le16(acl->a_entries[i].e_perm); in f2fs_acl_to_disk()
321 pa->e_perm &= (mode >> 6) | ~S_IRWXO; in f2fs_acl_create_masq()
322 mode &= (pa->e_perm << 6) | ~S_IRWXU; in f2fs_acl_create_masq()
335 pa->e_perm &= mode | ~S_IRWXO; in f2fs_acl_create_masq()
336 mode &= pa->e_perm | ~S_IRWXO; in f2fs_acl_create_masq()
350 mask_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in f2fs_acl_create_masq()
351 mode &= (mask_obj->e_perm << 3) | ~S_IRWXG; in f2fs_acl_create_masq()
355 group_obj->e_perm &= (mode >> 3) | ~S_IRWXO; in f2fs_acl_create_masq()
356 mode &= (group_obj->e_perm << 3) | ~S_IRWXG; in f2fs_acl_create_masq()
A Dacl.h21 __le16 e_perm; member
27 __le16 e_perm; member
/linux-6.3-rc2/fs/nfsd/
A 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()
274 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
339 deny = ~(pa->e_perm & pas.mask); in _posix_to_nfsv4_one()
357 ace->access_mask = mask_from_posix(pa->e_perm, flags); in _posix_to_nfsv4_one()
527 &pace->e_perm, flags); in posix_state_to_acl()
[all …]
/linux-6.3-rc2/fs/nfs_common/
A Dnfsacl.c76 *p++ = htonl(entry->e_perm & S_IRWXO); in xdr_nfsace_encode()
237 entry->e_perm = ntohl(*p++); in xdr_nfsace_decode()
253 if (entry->e_perm & ~S_IRWXO) in xdr_nfsace_decode()
258 entry->e_perm &= S_IRWXO; in xdr_nfsace_decode()
317 mask->e_perm == group_obj->e_perm) { in posix_acl_from_nfsacl()
/linux-6.3-rc2/fs/jffs2/
A Dacl.h14 jint16_t e_perm; member
20 jint16_t e_perm; member
A 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()
/linux-6.3-rc2/fs/ext2/
A Dacl.h14 __le16 e_perm; member
20 __le16 e_perm; member
A 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()
/linux-6.3-rc2/fs/ext4/
A Dacl.h14 __le16 e_perm; member
20 __le16 e_perm; member
A 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()
/linux-6.3-rc2/fs/reiserfs/
A Dacl.h9 __le16 e_perm; member
15 __le16 e_perm; member
A Dxattr_acl.c95 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in reiserfs_posix_acl_from_disk()
157 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in reiserfs_posix_acl_to_disk()
/linux-6.3-rc2/fs/ocfs2/
A Dacl.c53 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); in ocfs2_acl_from_xattr()
92 entry->e_perm = cpu_to_le16(acl->a_entries[n].e_perm); in ocfs2_acl_to_xattr()
A Dacl.h15 __le16 e_perm; member
/linux-6.3-rc2/include/uapi/linux/
A Dposix_acl_xattr.h31 __le16 e_perm; member
/linux-6.3-rc2/fs/ksmbd/
A Dsmbacl.c306 pace->e_perm = state->owner.allow; in posix_state_to_acl()
311 pace->e_perm = state->users->aces[i].perms.allow; in posix_state_to_acl()
316 pace->e_perm = state->group.allow; in posix_state_to_acl()
322 pace->e_perm = state->groups->aces[i].perms.allow; in posix_state_to_acl()
328 pace->e_perm = state->mask.allow; in posix_state_to_acl()
333 pace->e_perm = state->other.allow; in posix_state_to_acl()
632 pace->e_perm, 0777); in set_posix_acl_entries_dacl()
642 0x03, pace->e_perm, 0777); in set_posix_acl_entries_dacl()
683 pace->e_perm, 0777); in set_posix_acl_entries_dacl()
1306 mode_to_access_flags(pa_entry->e_perm, in smb_check_perm_dacl()
A Dvfs.c1419 if (pa_entry->e_perm & ACL_READ) in ksmbd_vfs_make_xattr_posix_acl()
1421 if (pa_entry->e_perm & ACL_WRITE) in ksmbd_vfs_make_xattr_posix_acl()
1423 if (pa_entry->e_perm & ACL_EXECUTE) in ksmbd_vfs_make_xattr_posix_acl()
1895 pace->e_perm = 0x07; in ksmbd_vfs_inherit_posix_acl()
/linux-6.3-rc2/fs/xfs/
A Dxfs_acl.c70 acl_e->e_perm = be16_to_cpu(ace->ae_perm); in xfs_acl_from_disk()
124 ace->ae_perm = cpu_to_be16(acl_e->e_perm); in xfs_acl_to_disk()
/linux-6.3-rc2/include/linux/
A Dposix_acl.h22 unsigned short e_perm; member
/linux-6.3-rc2/fs/cifs/
A Dcifssmb.c2891 ace->e_perm = cifs_ace->cifs_e_perm; in cifs_init_posix_acl()
2980 cifs_ace->cifs_e_perm = local_ace->e_perm; in cifs_init_ace()

Completed in 46 milliseconds