nfsacl_desc 51 fs/nfs_common/nfsacl.c struct nfsacl_encode_desc *nfsacl_desc = nfsacl_desc 56 fs/nfs_common/nfsacl.c &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; nfsacl_desc 58 fs/nfs_common/nfsacl.c *p++ = htonl(entry->e_tag | nfsacl_desc->typeflag); nfsacl_desc 61 fs/nfs_common/nfsacl.c *p++ = htonl(from_kuid(&init_user_ns, nfsacl_desc->uid)); nfsacl_desc 64 fs/nfs_common/nfsacl.c *p++ = htonl(from_kgid(&init_user_ns, nfsacl_desc->gid)); nfsacl_desc 96 fs/nfs_common/nfsacl.c struct nfsacl_encode_desc nfsacl_desc = { nfsacl_desc 129 fs/nfs_common/nfsacl.c nfsacl_desc.acl = acl2; nfsacl_desc 131 fs/nfs_common/nfsacl.c err = xdr_encode_array2(buf, base + 4, &nfsacl_desc.desc); nfsacl_desc 133 fs/nfs_common/nfsacl.c err = 8 + nfsacl_desc.desc.elem_size * nfsacl_desc 134 fs/nfs_common/nfsacl.c nfsacl_desc.desc.array_len; nfsacl_desc 148 fs/nfs_common/nfsacl.c struct nfsacl_decode_desc *nfsacl_desc = nfsacl_desc 154 fs/nfs_common/nfsacl.c if (!nfsacl_desc->acl) { nfsacl_desc 157 fs/nfs_common/nfsacl.c nfsacl_desc->acl = posix_acl_alloc(desc->array_len, GFP_KERNEL); nfsacl_desc 158 fs/nfs_common/nfsacl.c if (!nfsacl_desc->acl) nfsacl_desc 160 fs/nfs_common/nfsacl.c nfsacl_desc->count = 0; nfsacl_desc 163 fs/nfs_common/nfsacl.c entry = &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; nfsacl_desc 268 fs/nfs_common/nfsacl.c struct nfsacl_decode_desc nfsacl_desc = { nfsacl_desc 280 fs/nfs_common/nfsacl.c nfsacl_desc.desc.array_maxlen = entries; nfsacl_desc 281 fs/nfs_common/nfsacl.c err = xdr_decode_array2(buf, base + 4, &nfsacl_desc.desc); nfsacl_desc 285 fs/nfs_common/nfsacl.c if (entries != nfsacl_desc.desc.array_len || nfsacl_desc 286 fs/nfs_common/nfsacl.c posix_acl_from_nfsacl(nfsacl_desc.acl) != 0) { nfsacl_desc 287 fs/nfs_common/nfsacl.c posix_acl_release(nfsacl_desc.acl); nfsacl_desc 290 fs/nfs_common/nfsacl.c *pacl = nfsacl_desc.acl; nfsacl_desc 294 fs/nfs_common/nfsacl.c return 8 + nfsacl_desc.desc.elem_size * nfsacl_desc 295 fs/nfs_common/nfsacl.c nfsacl_desc.desc.array_len;