/linux-6.6.21/fs/nfs_common/ |
D | nfsacl.c | 58 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode() 59 switch(entry->e_tag) { in xdr_nfsace_encode() 127 acl2->a_entries[2].e_tag = ACL_MASK; in nfsacl_encode() 192 acl2->a_entries[2].e_tag = ACL_MASK; in nfs_stream_encode_acl() 235 entry->e_tag = ntohl(*p++) & ~NFS_ACL_DEFAULT; in xdr_nfsace_decode() 239 switch(entry->e_tag) { in xdr_nfsace_decode() 272 if (a->e_tag != b->e_tag) in cmp_acl_entry() 273 return a->e_tag - b->e_tag; in cmp_acl_entry() 274 else if ((a->e_tag == ACL_USER) && uid_gt(a->e_uid, b->e_uid)) in cmp_acl_entry() 276 else if ((a->e_tag == ACL_USER) && uid_lt(a->e_uid, b->e_uid)) in cmp_acl_entry() [all …]
|
/linux-6.6.21/fs/nfsd/ |
D | nfs4acl.c | 204 switch (pa->e_tag) { in summarize_posix_acl() 273 while (pa->e_tag == ACL_USER) { in _posix_to_nfsv4_one() 311 while (pa->e_tag == ACL_GROUP) { in _posix_to_nfsv4_one() 338 while (pa->e_tag == ACL_GROUP) { in _posix_to_nfsv4_one() 353 if (pa->e_tag == ACL_MASK) in _posix_to_nfsv4_one() 365 if (pace1->e_tag != pace2->e_tag) in pace_gt() 366 return pace1->e_tag > pace2->e_tag; in pace_gt() 367 if (pace1->e_tag == ACL_USER) in pace_gt() 369 if (pace1->e_tag == ACL_GROUP) in pace_gt() 405 while (pacl->a_entries[i].e_tag == ACL_USER) in sort_pacl() [all …]
|
/linux-6.6.21/fs/ |
D | posix_acl.c | 247 switch (pa->e_tag) { in posix_acl_valid() 320 switch (pa->e_tag) { in posix_acl_equiv_mode() 359 acl->a_entries[0].e_tag = ACL_USER_OBJ; in posix_acl_from_mode() 362 acl->a_entries[1].e_tag = ACL_GROUP_OBJ; in posix_acl_from_mode() 365 acl->a_entries[2].e_tag = ACL_OTHER; in posix_acl_from_mode() 388 switch(pa->e_tag) { in posix_acl_permission() 433 if (mask_obj->e_tag == ACL_MASK) { in posix_acl_permission() 464 switch(pa->e_tag) { in posix_acl_create_masq() 519 switch(pa->e_tag) { in __posix_acl_chmod_masq() 796 acl_e->e_tag = le16_to_cpu(entry->e_tag); in posix_acl_from_xattr() [all …]
|
/linux-6.6.21/fs/ext2/ |
D | acl.c | 47 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext2_acl_from_disk() 49 switch(acl->a_entries[n].e_tag) { in ext2_acl_from_disk() 108 entry->e_tag = cpu_to_le16(acl_e->e_tag); in ext2_acl_to_disk() 110 switch(acl_e->e_tag) { in ext2_acl_to_disk()
|
D | acl.h | 13 __le16 e_tag; member 19 __le16 e_tag; member
|
/linux-6.6.21/fs/ext4/ |
D | acl.c | 45 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext4_acl_from_disk() 48 switch (acl->a_entries[n].e_tag) { in ext4_acl_from_disk() 107 entry->e_tag = cpu_to_le16(acl_e->e_tag); in ext4_acl_to_disk() 109 switch (acl_e->e_tag) { in ext4_acl_to_disk()
|
D | acl.h | 13 __le16 e_tag; member 19 __le16 e_tag; member
|
/linux-6.6.21/fs/jffs2/ |
D | acl.c | 89 acl->a_entries[i].e_tag = je16_to_cpu(entry->e_tag); in jffs2_acl_from_medium() 91 switch (acl->a_entries[i].e_tag) { in jffs2_acl_from_medium() 145 entry->e_tag = cpu_to_je16(acl_e->e_tag); in jffs2_acl_to_medium() 147 switch(acl_e->e_tag) { in jffs2_acl_to_medium()
|
D | acl.h | 13 jint16_t e_tag; member 19 jint16_t e_tag; member
|
/linux-6.6.21/fs/reiserfs/ |
D | xattr_acl.c | 94 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in reiserfs_posix_acl_from_disk() 96 switch (acl->a_entries[n].e_tag) { in reiserfs_posix_acl_from_disk() 156 entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); in reiserfs_posix_acl_to_disk() 158 switch (acl->a_entries[n].e_tag) { in reiserfs_posix_acl_to_disk()
|
D | acl.h | 8 __le16 e_tag; member 14 __le16 e_tag; member
|
/linux-6.6.21/fs/f2fs/ |
D | acl.c | 75 acl->a_entries[i].e_tag = le16_to_cpu(entry->e_tag); in f2fs_acl_from_disk() 78 switch (acl->a_entries[i].e_tag) { in f2fs_acl_from_disk() 131 entry->e_tag = cpu_to_le16(acl->a_entries[i].e_tag); in f2fs_acl_to_disk() 134 switch (acl->a_entries[i].e_tag) { in f2fs_acl_to_disk() 319 switch (pa->e_tag) { in f2fs_acl_create_masq()
|
D | acl.h | 20 __le16 e_tag; member 26 __le16 e_tag; member
|
/linux-6.6.21/fs/smb/server/ |
D | smbacl.c | 305 pace->e_tag = ACL_USER_OBJ; in posix_state_to_acl() 309 pace->e_tag = ACL_USER; in posix_state_to_acl() 315 pace->e_tag = ACL_GROUP_OBJ; in posix_state_to_acl() 320 pace->e_tag = ACL_GROUP; in posix_state_to_acl() 327 pace->e_tag = ACL_MASK; in posix_state_to_acl() 332 pace->e_tag = ACL_OTHER; in posix_state_to_acl() 602 if (pace->e_tag == ACL_USER) { in set_posix_acl_entries_dacl() 610 } else if (pace->e_tag == ACL_GROUP) { in set_posix_acl_entries_dacl() 615 } else if (pace->e_tag == ACL_OTHER && !nt_aces_num) { in set_posix_acl_entries_dacl() 630 if (S_ISDIR(fattr->cf_mode) && pace->e_tag == ACL_OTHER) in set_posix_acl_entries_dacl() [all …]
|
D | vfs.c | 1404 switch (pa_entry->e_tag) { in ksmbd_vfs_make_xattr_posix_acl() 1426 pr_err("unknown type : 0x%x\n", pa_entry->e_tag); in ksmbd_vfs_make_xattr_posix_acl() 1913 if (pace->e_tag == ACL_MASK) { in ksmbd_vfs_inherit_posix_acl()
|
/linux-6.6.21/fs/ocfs2/ |
D | acl.c | 52 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ocfs2_acl_from_xattr() 54 switch(acl->a_entries[n].e_tag) { in ocfs2_acl_from_xattr() 91 entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); in ocfs2_acl_to_xattr() 93 switch(acl->a_entries[n].e_tag) { in ocfs2_acl_to_xattr()
|
D | acl.h | 14 __le16 e_tag; member
|
/linux-6.6.21/fs/xfs/ |
D | xfs_acl.c | 69 acl_e->e_tag = be32_to_cpu(ace->ae_tag); in xfs_acl_from_disk() 72 switch (acl_e->e_tag) { in xfs_acl_from_disk() 109 ace->ae_tag = cpu_to_be32(acl_e->e_tag); in xfs_acl_to_disk() 110 switch (acl_e->e_tag) { in xfs_acl_to_disk()
|
/linux-6.6.21/include/uapi/linux/ |
D | posix_acl_xattr.h | 30 __le16 e_tag; member
|
/linux-6.6.21/include/linux/ |
D | posix_acl.h | 21 short e_tag; member
|
/linux-6.6.21/fs/overlayfs/ |
D | inode.c | 483 switch (e->e_tag) { in ovl_idmap_posix_acl()
|
/linux-6.6.21/fs/smb/client/ |
D | cifssmb.c | 2862 ace->e_tag = cifs_ace->cifs_e_tag; in cifs_init_posix_acl() 2864 switch (ace->e_tag) { in cifs_init_posix_acl() 2951 cifs_ace->cifs_e_tag = local_ace->e_tag; in cifs_init_ace() 2953 switch (local_ace->e_tag) { in cifs_init_ace()
|