/linux-5.19.10/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-5.19.10/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-5.19.10/fs/ |
D | posix_acl.c | 230 switch (pa->e_tag) { in posix_acl_valid() 303 switch (pa->e_tag) { in posix_acl_equiv_mode() 342 acl->a_entries[0].e_tag = ACL_USER_OBJ; in posix_acl_from_mode() 345 acl->a_entries[1].e_tag = ACL_GROUP_OBJ; in posix_acl_from_mode() 348 acl->a_entries[2].e_tag = ACL_OTHER; in posix_acl_from_mode() 370 switch(pa->e_tag) { in posix_acl_permission() 417 if (mask_obj->e_tag == ACL_MASK) { in posix_acl_permission() 448 switch(pa->e_tag) { in posix_acl_create_masq() 503 switch(pa->e_tag) { in __posix_acl_chmod_masq() 738 switch(le16_to_cpu(entry->e_tag)) { in posix_acl_fix_xattr_userns() [all …]
|
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/fs/reiserfs/ |
D | xattr_acl.c | 93 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in reiserfs_posix_acl_from_disk() 95 switch (acl->a_entries[n].e_tag) { in reiserfs_posix_acl_from_disk() 155 entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); in reiserfs_posix_acl_to_disk() 157 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-5.19.10/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() 317 switch (pa->e_tag) { in f2fs_acl_create_masq()
|
D | acl.h | 20 __le16 e_tag; member 26 __le16 e_tag; member
|
/linux-5.19.10/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-5.19.10/fs/ksmbd/ |
D | smbacl.c | 303 pace->e_tag = ACL_USER_OBJ; in posix_state_to_acl() 307 pace->e_tag = ACL_USER; in posix_state_to_acl() 313 pace->e_tag = ACL_GROUP_OBJ; in posix_state_to_acl() 318 pace->e_tag = ACL_GROUP; in posix_state_to_acl() 325 pace->e_tag = ACL_MASK; in posix_state_to_acl() 330 pace->e_tag = ACL_OTHER; in posix_state_to_acl() 597 if (pace->e_tag == ACL_USER) { in set_posix_acl_entries_dacl() 605 } else if (pace->e_tag == ACL_GROUP) { in set_posix_acl_entries_dacl() 610 } else if (pace->e_tag == ACL_OTHER && !nt_aces_num) { in set_posix_acl_entries_dacl() 625 if (S_ISDIR(fattr->cf_mode) && pace->e_tag == ACL_OTHER) in set_posix_acl_entries_dacl() [all …]
|
D | vfs.c | 1383 switch (pa_entry->e_tag) { in ksmbd_vfs_make_xattr_posix_acl() 1405 pr_err("unknown type : 0x%x\n", pa_entry->e_tag); in ksmbd_vfs_make_xattr_posix_acl() 1883 if (pace->e_tag == ACL_MASK) { in ksmbd_vfs_inherit_posix_acl()
|
/linux-5.19.10/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-5.19.10/include/uapi/linux/ |
D | posix_acl_xattr.h | 30 __le16 e_tag; member
|
/linux-5.19.10/include/linux/ |
D | posix_acl.h | 21 short e_tag; member
|
/linux-5.19.10/fs/cifs/ |
D | cifssmb.c | 3371 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace() 3443 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()
|