Home
last modified time | relevance | path

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

/Linux-v5.10/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()
164 entry->e_tag = ntohl(*p++) & ~NFS_ACL_DEFAULT; in xdr_nfsace_decode()
168 switch(entry->e_tag) { in xdr_nfsace_decode()
201 if (a->e_tag != b->e_tag) in cmp_acl_entry()
202 return a->e_tag - b->e_tag; in cmp_acl_entry()
203 else if ((a->e_tag == ACL_USER) && uid_gt(a->e_uid, b->e_uid)) in cmp_acl_entry()
205 else if ((a->e_tag == ACL_USER) && uid_lt(a->e_uid, b->e_uid)) in cmp_acl_entry()
207 else if ((a->e_tag == ACL_GROUP) && gid_gt(a->e_gid, b->e_gid)) in cmp_acl_entry()
[all …]
/Linux-v5.10/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-v5.10/fs/
Dposix_acl.c219 switch (pa->e_tag) { in posix_acl_valid()
292 switch (pa->e_tag) { in posix_acl_equiv_mode()
331 acl->a_entries[0].e_tag = ACL_USER_OBJ; in posix_acl_from_mode()
334 acl->a_entries[1].e_tag = ACL_GROUP_OBJ; in posix_acl_from_mode()
337 acl->a_entries[2].e_tag = ACL_OTHER; in posix_acl_from_mode()
356 switch(pa->e_tag) { in posix_acl_permission()
395 if (mask_obj->e_tag == ACL_MASK) { in posix_acl_permission()
426 switch(pa->e_tag) { in posix_acl_create_masq()
481 switch(pa->e_tag) { in __posix_acl_chmod_masq()
693 switch(le16_to_cpu(entry->e_tag)) { in posix_acl_fix_xattr_userns()
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/fs/f2fs/
Dacl.c74 acl->a_entries[i].e_tag = le16_to_cpu(entry->e_tag); in f2fs_acl_from_disk()
77 switch (acl->a_entries[i].e_tag) { in f2fs_acl_from_disk()
130 entry->e_tag = cpu_to_le16(acl->a_entries[i].e_tag); in f2fs_acl_to_disk()
133 switch (acl->a_entries[i].e_tag) { in f2fs_acl_to_disk()
288 switch (pa->e_tag) { in f2fs_acl_create_masq()
Dacl.h20 __le16 e_tag; member
26 __le16 e_tag; member
/Linux-v5.10/fs/reiserfs/
Dxattr_acl.c91 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in reiserfs_posix_acl_from_disk()
93 switch (acl->a_entries[n].e_tag) { in reiserfs_posix_acl_from_disk()
153 entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); in reiserfs_posix_acl_to_disk()
155 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-v5.10/fs/ocfs2/
Dacl.c54 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ocfs2_acl_from_xattr()
56 switch(acl->a_entries[n].e_tag) { in ocfs2_acl_from_xattr()
93 entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); in ocfs2_acl_to_xattr()
95 switch(acl->a_entries[n].e_tag) { in ocfs2_acl_to_xattr()
Dacl.h16 __le16 e_tag; member
/Linux-v5.10/fs/xfs/
Dxfs_acl.c67 acl_e->e_tag = be32_to_cpu(ace->ae_tag); in xfs_acl_from_disk()
70 switch (acl_e->e_tag) { in xfs_acl_from_disk()
107 ace->ae_tag = cpu_to_be32(acl_e->e_tag); in xfs_acl_to_disk()
108 switch (acl_e->e_tag) { in xfs_acl_to_disk()
/Linux-v5.10/include/uapi/linux/
Dposix_acl_xattr.h30 __le16 e_tag; member
/Linux-v5.10/include/linux/
Dposix_acl.h19 short e_tag; member
/Linux-v5.10/drivers/crypto/ccp/
Dccp-ops.c876 goto e_tag; in ccp_run_aes_gcm_cmd()
879 goto e_tag; in ccp_run_aes_gcm_cmd()
886 e_tag: in ccp_run_aes_gcm_cmd()
/Linux-v5.10/fs/cifs/
Dcifssmb.c3423 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace()
3495 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()