Home
last modified time | relevance | path

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

/linux-5.19.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()
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/
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-5.19.10/fs/
Dposix_acl.c230 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/
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-5.19.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-5.19.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-5.19.10/fs/reiserfs/
Dxattr_acl.c93 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()
Dacl.h8 __le16 e_tag; member
14 __le16 e_tag; member
/linux-5.19.10/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()
317 switch (pa->e_tag) { in f2fs_acl_create_masq()
Dacl.h20 __le16 e_tag; member
26 __le16 e_tag; member
/linux-5.19.10/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-5.19.10/fs/ksmbd/
Dsmbacl.c303 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 …]
Dvfs.c1383 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/
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-5.19.10/include/uapi/linux/
Dposix_acl_xattr.h30 __le16 e_tag; member
/linux-5.19.10/include/linux/
Dposix_acl.h21 short e_tag; member
/linux-5.19.10/fs/cifs/
Dcifssmb.c3371 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()