Searched refs:acl_e (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/xfs/ |
D | xfs_acl.c | 37 struct posix_acl_entry *acl_e; in xfs_acl_from_disk() local 60 acl_e = &acl->a_entries[i]; in xfs_acl_from_disk() 69 acl_e->e_tag = be32_to_cpu(ace->ae_tag); in xfs_acl_from_disk() 70 acl_e->e_perm = be16_to_cpu(ace->ae_perm); in xfs_acl_from_disk() 72 switch (acl_e->e_tag) { in xfs_acl_from_disk() 74 acl_e->e_uid = make_kuid(&init_user_ns, in xfs_acl_from_disk() 78 acl_e->e_gid = make_kgid(&init_user_ns, in xfs_acl_from_disk() 100 const struct posix_acl_entry *acl_e; in xfs_acl_to_disk() local 107 acl_e = &acl->a_entries[i]; in xfs_acl_to_disk() 109 ace->ae_tag = cpu_to_be32(acl_e->e_tag); in xfs_acl_to_disk() [all …]
|
/linux-6.12.1/fs/ |
D | posix_acl.c | 781 struct posix_acl_entry *acl_e; in posix_acl_from_xattr() local 792 acl_e = acl->a_entries; in posix_acl_from_xattr() 794 for (end = entry + count; entry != end; acl_e++, entry++) { in posix_acl_from_xattr() 795 acl_e->e_tag = le16_to_cpu(entry->e_tag); in posix_acl_from_xattr() 796 acl_e->e_perm = le16_to_cpu(entry->e_perm); in posix_acl_from_xattr() 798 switch(acl_e->e_tag) { in posix_acl_from_xattr() 806 acl_e->e_uid = make_kuid(userns, in posix_acl_from_xattr() 808 if (!uid_valid(acl_e->e_uid)) in posix_acl_from_xattr() 812 acl_e->e_gid = make_kgid(userns, in posix_acl_from_xattr() 814 if (!gid_valid(acl_e->e_gid)) in posix_acl_from_xattr() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | acl.c | 187 #define acl_for_each_entry(acl, acl_e) \ argument 188 for (acl_e = acl->a_entries; \ 189 acl_e < acl->a_entries + acl->a_count; \ 190 acl_e++) 202 const struct posix_acl_entry *acl_e; in bch2_acl_to_xattr() local 206 acl_for_each_entry(acl, acl_e) { in bch2_acl_to_xattr() 207 switch (acl_e->e_tag) { in bch2_acl_to_xattr() 244 acl_for_each_entry(acl, acl_e) { in bch2_acl_to_xattr() 247 entry->e_tag = cpu_to_le16(acl_e->e_tag); in bch2_acl_to_xattr() 248 entry->e_perm = cpu_to_le16(acl_e->e_perm); in bch2_acl_to_xattr() [all …]
|
/linux-6.12.1/fs/ext2/ |
D | acl.c | 106 const struct posix_acl_entry *acl_e = &acl->a_entries[n]; in ext2_acl_to_disk() local 108 entry->e_tag = cpu_to_le16(acl_e->e_tag); in ext2_acl_to_disk() 109 entry->e_perm = cpu_to_le16(acl_e->e_perm); in ext2_acl_to_disk() 110 switch(acl_e->e_tag) { in ext2_acl_to_disk() 113 from_kuid(&init_user_ns, acl_e->e_uid)); in ext2_acl_to_disk() 118 from_kgid(&init_user_ns, acl_e->e_gid)); in ext2_acl_to_disk()
|
/linux-6.12.1/fs/ext4/ |
D | acl.c | 105 const struct posix_acl_entry *acl_e = &acl->a_entries[n]; in ext4_acl_to_disk() local 107 entry->e_tag = cpu_to_le16(acl_e->e_tag); in ext4_acl_to_disk() 108 entry->e_perm = cpu_to_le16(acl_e->e_perm); in ext4_acl_to_disk() 109 switch (acl_e->e_tag) { in ext4_acl_to_disk() 112 from_kuid(&init_user_ns, acl_e->e_uid)); in ext4_acl_to_disk() 117 from_kgid(&init_user_ns, acl_e->e_gid)); in ext4_acl_to_disk()
|
/linux-6.12.1/fs/jffs2/ |
D | acl.c | 143 const struct posix_acl_entry *acl_e = &acl->a_entries[i]; in jffs2_acl_to_medium() local 145 entry->e_tag = cpu_to_je16(acl_e->e_tag); in jffs2_acl_to_medium() 146 entry->e_perm = cpu_to_je16(acl_e->e_perm); in jffs2_acl_to_medium() 147 switch(acl_e->e_tag) { in jffs2_acl_to_medium() 150 from_kuid(&init_user_ns, acl_e->e_uid)); in jffs2_acl_to_medium() 155 from_kgid(&init_user_ns, acl_e->e_gid)); in jffs2_acl_to_medium()
|
/linux-6.12.1/fs/reiserfs/ |
D | xattr_acl.c | 154 const struct posix_acl_entry *acl_e = &acl->a_entries[n]; in reiserfs_posix_acl_to_disk() local 161 from_kuid(&init_user_ns, acl_e->e_uid)); in reiserfs_posix_acl_to_disk() 166 from_kgid(&init_user_ns, acl_e->e_gid)); in reiserfs_posix_acl_to_disk()
|