Home
last modified time | relevance | path

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

/fs/nfs_common/
Dnfsacl.c60 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode()
61 switch(entry->e_tag) { in xdr_nfsace_encode()
129 acl2->a_entries[2].e_tag = ACL_MASK; in nfsacl_encode()
165 entry->e_tag = ntohl(*p++) & ~NFS_ACL_DEFAULT; in xdr_nfsace_decode()
169 switch(entry->e_tag) { in xdr_nfsace_decode()
202 if (a->e_tag != b->e_tag) in cmp_acl_entry()
203 return a->e_tag - b->e_tag; in cmp_acl_entry()
204 else if ((a->e_tag == ACL_USER) && uid_gt(a->e_uid, b->e_uid)) in cmp_acl_entry()
206 else if ((a->e_tag == ACL_USER) && uid_lt(a->e_uid, b->e_uid)) in cmp_acl_entry()
208 else if ((a->e_tag == ACL_GROUP) && gid_gt(a->e_gid, b->e_gid)) in cmp_acl_entry()
[all …]
/fs/
Dxattr_acl.c41 switch(le16_to_cpu(entry->e_tag)) { in posix_acl_fix_xattr_userns()
104 acl_e->e_tag = le16_to_cpu(entry->e_tag); in posix_acl_from_xattr()
107 switch(acl_e->e_tag) { in posix_acl_from_xattr()
162 ext_entry->e_tag = cpu_to_le16(acl_e->e_tag); in posix_acl_to_xattr()
164 switch(acl_e->e_tag) { in posix_acl_to_xattr()
Dposix_acl.c88 switch (pa->e_tag) { in posix_acl_valid()
162 switch (pa->e_tag) { in posix_acl_equiv_mode()
200 acl->a_entries[0].e_tag = ACL_USER_OBJ; in posix_acl_from_mode()
203 acl->a_entries[1].e_tag = ACL_GROUP_OBJ; in posix_acl_from_mode()
206 acl->a_entries[2].e_tag = ACL_OTHER; in posix_acl_from_mode()
224 switch(pa->e_tag) { in posix_acl_permission()
263 if (mask_obj->e_tag == ACL_MASK) { in posix_acl_permission()
294 switch(pa->e_tag) { in posix_acl_create_masq()
380 switch(pa->e_tag) { in posix_acl_chmod_masq()
/fs/nfsd/
Dnfs4acl.c190 switch (pa->e_tag) { in summarize_posix_acl()
259 while (pa->e_tag == ACL_USER) { in _posix_to_nfsv4_one()
297 while (pa->e_tag == ACL_GROUP) { in _posix_to_nfsv4_one()
324 while (pa->e_tag == ACL_GROUP) { in _posix_to_nfsv4_one()
339 if (pa->e_tag == ACL_MASK) in _posix_to_nfsv4_one()
351 if (pace1->e_tag != pace2->e_tag) in pace_gt()
352 return pace1->e_tag > pace2->e_tag; in pace_gt()
353 if (pace1->e_tag == ACL_USER) in pace_gt()
355 if (pace1->e_tag == ACL_GROUP) in pace_gt()
391 while (pacl->a_entries[i].e_tag == ACL_USER) in sort_pacl()
[all …]
/fs/ext4/
Dacl.c48 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext4_acl_from_disk()
51 switch (acl->a_entries[n].e_tag) { in ext4_acl_from_disk()
110 entry->e_tag = cpu_to_le16(acl_e->e_tag); in ext4_acl_to_disk()
112 switch (acl_e->e_tag) { in ext4_acl_to_disk()
Dacl.h12 __le16 e_tag; member
18 __le16 e_tag; member
/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.h12 __le16 e_tag; member
18 __le16 e_tag; member
/fs/ext3/
Dacl.c42 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ext3_acl_from_disk()
44 switch(acl->a_entries[n].e_tag) { in ext3_acl_from_disk()
103 entry->e_tag = cpu_to_le16(acl_e->e_tag); in ext3_acl_to_disk()
105 switch(acl_e->e_tag) { in ext3_acl_to_disk()
Dacl.h12 __le16 e_tag; member
18 __le16 e_tag; member
/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()
144 entry->e_tag = cpu_to_je16(acl_e->e_tag); in jffs2_acl_to_medium()
146 switch(acl_e->e_tag) { in jffs2_acl_to_medium()
Dacl.h13 jint16_t e_tag; member
19 jint16_t e_tag; member
/fs/f2fs/
Dacl.c77 acl->a_entries[i].e_tag = le16_to_cpu(entry->e_tag); in f2fs_acl_from_disk()
80 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()
Dacl.h23 __le16 e_tag; member
29 __le16 e_tag; member
/fs/reiserfs/
Dxattr_acl.c115 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in posix_acl_from_disk()
117 switch (acl->a_entries[n].e_tag) { in posix_acl_from_disk()
177 entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); in posix_acl_to_disk()
179 switch (acl->a_entries[n].e_tag) { in posix_acl_to_disk()
Dacl.h7 __le16 e_tag; member
13 __le16 e_tag; member
/fs/ocfs2/
Dacl.c66 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); in ocfs2_acl_from_xattr()
68 switch(acl->a_entries[n].e_tag) { in ocfs2_acl_from_xattr()
105 entry->e_tag = cpu_to_le16(acl->a_entries[n].e_tag); in ocfs2_acl_to_xattr()
107 switch(acl->a_entries[n].e_tag) { in ocfs2_acl_to_xattr()
Dacl.h24 __le16 e_tag; member
/fs/xfs/
Dxfs_acl.c66 acl_e->e_tag = be32_to_cpu(ace->ae_tag); in xfs_acl_from_disk()
69 switch (acl_e->e_tag) { in xfs_acl_from_disk()
103 ace->ae_tag = cpu_to_be32(acl_e->e_tag); in xfs_acl_to_disk()
/fs/cifs/
Dcifssmb.c3201 ace->e_tag = cpu_to_le16(cifs_ace->cifs_e_tag); in cifs_convert_ace()
3273 cifs_ace->cifs_e_tag = le16_to_cpu(local_ace->e_tag); in convert_ace_to_cifs_ace()