Lines Matching refs:entry
57 struct posix_acl_entry *entry = in xdr_nfsace_encode() local
60 *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); in xdr_nfsace_encode()
61 switch(entry->e_tag) { in xdr_nfsace_encode()
69 *p++ = htonl(from_kuid(&init_user_ns, entry->e_uid)); in xdr_nfsace_encode()
72 *p++ = htonl(from_kgid(&init_user_ns, entry->e_gid)); in xdr_nfsace_encode()
78 *p++ = htonl(entry->e_perm & S_IRWXO); in xdr_nfsace_encode()
152 struct posix_acl_entry *entry; in xdr_nfsace_decode() local
164 entry = &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; in xdr_nfsace_decode()
165 entry->e_tag = ntohl(*p++) & ~NFS_ACL_DEFAULT; in xdr_nfsace_decode()
167 entry->e_perm = ntohl(*p++); in xdr_nfsace_decode()
169 switch(entry->e_tag) { in xdr_nfsace_decode()
171 entry->e_uid = make_kuid(&init_user_ns, id); in xdr_nfsace_decode()
172 if (!uid_valid(entry->e_uid)) in xdr_nfsace_decode()
176 entry->e_gid = make_kgid(&init_user_ns, id); in xdr_nfsace_decode()
177 if (!gid_valid(entry->e_gid)) in xdr_nfsace_decode()
183 if (entry->e_perm & ~S_IRWXO) in xdr_nfsace_decode()
188 entry->e_perm &= S_IRWXO; in xdr_nfsace_decode()