Home
last modified time | relevance | path

Searched refs:e_tag (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/fs/nfs_common/
Dnfsacl.c58 *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/
Dnfs4acl.c204 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/
Dposix_acl.c247 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/
Dacl.c47 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()
Dacl.h13 __le16 e_tag; member
19 __le16 e_tag; member
/linux-6.6.21/fs/ext4/
Dacl.c45 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()
Dacl.h13 __le16 e_tag; member
19 __le16 e_tag; member
/linux-6.6.21/fs/jffs2/
Dacl.c89 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()
Dacl.h13 jint16_t e_tag; member
19 jint16_t e_tag; member
/linux-6.6.21/fs/reiserfs/
Dxattr_acl.c94 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()
Dacl.h8 __le16 e_tag; member
14 __le16 e_tag; member
/linux-6.6.21/fs/f2fs/
Dacl.c75 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()
Dacl.h20 __le16 e_tag; member
26 __le16 e_tag; member
/linux-6.6.21/fs/smb/server/
Dsmbacl.c305 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 …]
Dvfs.c1404 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/
Dacl.c52 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()
Dacl.h14 __le16 e_tag; member
/linux-6.6.21/fs/xfs/
Dxfs_acl.c69 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/
Dposix_acl_xattr.h30 __le16 e_tag; member
/linux-6.6.21/include/linux/
Dposix_acl.h21 short e_tag; member
/linux-6.6.21/fs/overlayfs/
Dinode.c483 switch (e->e_tag) { in ovl_idmap_posix_acl()
/linux-6.6.21/fs/smb/client/
Dcifssmb.c2862 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()