Lines Matching refs:p
83 func, xdr->end - xdr->p); in print_overflow_msg()
101 __be32 *p; in encode_bool() local
103 p = xdr_reserve_space(xdr, 4); in encode_bool()
104 *p = value ? xdr_one : xdr_zero; in encode_bool()
109 __be32 *p; in encode_int32() local
111 p = xdr_reserve_space(xdr, 4); in encode_int32()
112 *p = cpu_to_be32(value); in encode_int32()
121 __be32 *p; in encode_netobj() local
123 p = xdr_reserve_space(xdr, 4 + length); in encode_netobj()
124 xdr_encode_opaque(p, data, length); in encode_netobj()
131 __be32 *p; in decode_netobj() local
133 p = xdr_inline_decode(xdr, 4); in decode_netobj()
134 if (unlikely(p == NULL)) in decode_netobj()
136 length = be32_to_cpup(p++); in decode_netobj()
140 obj->data = (u8 *)p; in decode_netobj()
163 __be32 *p; in decode_cookie() local
165 p = xdr_inline_decode(xdr, 4); in decode_cookie()
166 if (unlikely(p == NULL)) in decode_cookie()
168 length = be32_to_cpup(p++); in decode_cookie()
174 p = xdr_inline_decode(xdr, length); in decode_cookie()
175 if (unlikely(p == NULL)) in decode_cookie()
178 memcpy(cookie->data, p, length); in decode_cookie()
225 __be32 *p; in encode_nlm4_stat() local
228 p = xdr_reserve_space(xdr, 4); in encode_nlm4_stat()
229 *p = stat; in encode_nlm4_stat()
234 __be32 *p; in decode_nlm4_stat() local
236 p = xdr_inline_decode(xdr, 4); in decode_nlm4_stat()
237 if (unlikely(p == NULL)) in decode_nlm4_stat()
239 if (unlikely(ntohl(*p) > ntohl(nlm4_failed))) in decode_nlm4_stat()
241 *stat = *p; in decode_nlm4_stat()
245 __func__, be32_to_cpup(p)); in decode_nlm4_stat()
266 __be32 *p; in encode_nlm4_holder() local
272 p = xdr_reserve_space(xdr, 4 + 4); in encode_nlm4_holder()
274 p = xdr_encode_hyper(p, l_offset); in encode_nlm4_holder()
275 xdr_encode_hyper(p, l_len); in encode_nlm4_holder()
285 __be32 *p; in decode_nlm4_holder() local
291 p = xdr_inline_decode(xdr, 4 + 4); in decode_nlm4_holder()
292 if (unlikely(p == NULL)) in decode_nlm4_holder()
294 exclusive = be32_to_cpup(p++); in decode_nlm4_holder()
295 lock->svid = be32_to_cpup(p); in decode_nlm4_holder()
302 p = xdr_inline_decode(xdr, 8 + 8); in decode_nlm4_holder()
303 if (unlikely(p == NULL)) in decode_nlm4_holder()
308 p = xdr_decode_hyper(p, &l_offset); in decode_nlm4_holder()
309 xdr_decode_hyper(p, &l_len); in decode_nlm4_holder()
332 __be32 *p; in encode_caller_name() local
334 p = xdr_reserve_space(xdr, 4 + length); in encode_caller_name()
335 xdr_encode_opaque(p, name, length); in encode_caller_name()
352 __be32 *p; in encode_nlm4_lock() local
358 p = xdr_reserve_space(xdr, 4 + 8 + 8); in encode_nlm4_lock()
359 *p++ = cpu_to_be32(lock->svid); in encode_nlm4_lock()
362 p = xdr_encode_hyper(p, l_offset); in encode_nlm4_lock()
363 xdr_encode_hyper(p, l_len); in encode_nlm4_lock()