Lines Matching full:entries

13  *    four instead of three entries.
16 * the ACL_MASK and ACL_GROUP_OBJ entries may differ.)
18 * entries contain the identifiers of the owner and owning group.
20 * - ACL entries in the kernel are kept sorted in ascending order
96 int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; in nfsacl_encode() local
100 .array_len = encode_entries ? entries : 0, in nfsacl_encode()
111 if (entries > NFS_ACL_MAX_ENTRIES || in nfsacl_encode()
112 xdr_encode_word(buf, base, entries)) in nfsacl_encode()
123 /* Insert entries in canonical order: other orders seem in nfsacl_encode()
158 u32 entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; in nfs_stream_encode_acl() local
162 .array_len = encode_entries ? entries : 0, in nfs_stream_encode_acl()
174 if (entries > NFS_ACL_MAX_ENTRIES) in nfs_stream_encode_acl()
176 if (xdr_stream_encode_u32(xdr, entries) < 0) in nfs_stream_encode_acl()
188 /* Insert entries in canonical order: other orders seem in nfs_stream_encode_acl()
302 /* Find the ACL_GROUP_OBJ and ACL_MASK entries. */ in posix_acl_from_nfsacl()
346 u32 entries; in nfsacl_decode() local
349 if (xdr_decode_word(buf, base, &entries) || in nfsacl_decode()
350 entries > NFS_ACL_MAX_ENTRIES) in nfsacl_decode()
352 nfsacl_desc.desc.array_maxlen = entries; in nfsacl_decode()
357 if (entries != nfsacl_desc.desc.array_len || in nfsacl_decode()
365 *aclcnt = entries; in nfsacl_decode()
395 u32 entries; in nfs_stream_decode_acl() local
397 if (xdr_stream_decode_u32(xdr, &entries) < 0) in nfs_stream_decode_acl()
399 if (entries > NFS_ACL_MAX_ENTRIES) in nfs_stream_decode_acl()
403 if (!xdr_inline_decode(xdr, XDR_UNIT + elem_size * entries)) in nfs_stream_decode_acl()
405 nfsacl_desc.desc.array_maxlen = entries; in nfs_stream_decode_acl()
410 if (entries != nfsacl_desc.desc.array_len || in nfs_stream_decode_acl()
418 *aclcnt = entries; in nfs_stream_decode_acl()