Lines Matching refs:p
115 __be32 *p, *cred_len, *gidarr_len; in unx_marshal() local
123 p = xdr_reserve_space(xdr, 3 * sizeof(*p)); in unx_marshal()
124 if (!p) in unx_marshal()
126 *p++ = rpc_auth_unix; in unx_marshal()
127 cred_len = p++; in unx_marshal()
128 *p++ = xdr_zero; /* stamp */ in unx_marshal()
132 p = xdr_reserve_space(xdr, 3 * sizeof(*p)); in unx_marshal()
133 if (!p) in unx_marshal()
135 *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); in unx_marshal()
136 *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred->fsgid)); in unx_marshal()
138 gidarr_len = p++; in unx_marshal()
141 *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); in unx_marshal()
142 *gidarr_len = cpu_to_be32(p - gidarr_len - 1); in unx_marshal()
143 *cred_len = cpu_to_be32((p - cred_len - 1) << 2); in unx_marshal()
144 p = xdr_reserve_space(xdr, (p - gidarr_len - 1) << 2); in unx_marshal()
145 if (!p) in unx_marshal()
150 p = xdr_reserve_space(xdr, 2 * sizeof(*p)); in unx_marshal()
151 if (!p) in unx_marshal()
153 *p++ = rpc_auth_null; in unx_marshal()
154 *p = xdr_zero; in unx_marshal()
176 __be32 *p; in unx_validate() local
179 p = xdr_inline_decode(xdr, 2 * sizeof(*p)); in unx_validate()
180 if (!p) in unx_validate()
182 switch (*p++) { in unx_validate()
190 size = be32_to_cpup(p); in unx_validate()
193 p = xdr_inline_decode(xdr, size); in unx_validate()
194 if (!p) in unx_validate()