Lines Matching refs: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
95 int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0;
99 .array_len = encode_entries ? entries : 0,
110 if (entries > NFS_ACL_MAX_ENTRIES ||
111 xdr_encode_word(buf, base, entries))
122 /* Insert entries in canonical order: other orders seem
157 u32 entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0;
161 .array_len = encode_entries ? entries : 0,
173 if (entries > NFS_ACL_MAX_ENTRIES)
175 if (xdr_stream_encode_u32(xdr, entries) < 0)
187 /* Insert entries in canonical order: other orders seem
301 /* Find the ACL_GROUP_OBJ and ACL_MASK entries. */
345 u32 entries;
348 if (xdr_decode_word(buf, base, &entries) ||
349 entries > NFS_ACL_MAX_ENTRIES)
351 nfsacl_desc.desc.array_maxlen = entries;
356 if (entries != nfsacl_desc.desc.array_len ||
364 *aclcnt = entries;
394 u32 entries;
396 if (xdr_stream_decode_u32(xdr, &entries) < 0)
398 if (entries > NFS_ACL_MAX_ENTRIES)
402 if (!xdr_inline_decode(xdr, XDR_UNIT + elem_size * entries))
404 nfsacl_desc.desc.array_maxlen = entries;
409 if (entries != nfsacl_desc.desc.array_len ||
417 *aclcnt = entries;