Lines Matching refs:p
88 __be32 *p; in encode_bool() local
90 p = xdr_reserve_space(xdr, 4); in encode_bool()
91 *p = value ? xdr_one : xdr_zero; in encode_bool()
96 __be32 *p; in encode_int32() local
98 p = xdr_reserve_space(xdr, 4); in encode_int32()
99 *p = cpu_to_be32(value); in encode_int32()
108 __be32 *p; in encode_netobj() local
110 p = xdr_reserve_space(xdr, 4 + length); in encode_netobj()
111 xdr_encode_opaque(p, data, length); in encode_netobj()
140 __be32 *p; in decode_cookie() local
142 p = xdr_inline_decode(xdr, 4); in decode_cookie()
143 if (unlikely(p == NULL)) in decode_cookie()
145 length = be32_to_cpup(p++); in decode_cookie()
151 p = xdr_inline_decode(xdr, length); in decode_cookie()
152 if (unlikely(p == NULL)) in decode_cookie()
155 memcpy(cookie->data, p, length); in decode_cookie()
198 __be32 *p; in encode_nlm_stat() local
201 p = xdr_reserve_space(xdr, 4); in encode_nlm_stat()
202 *p = stat; in encode_nlm_stat()
208 __be32 *p; in decode_nlm_stat() local
210 p = xdr_inline_decode(xdr, 4); in decode_nlm_stat()
211 if (unlikely(p == NULL)) in decode_nlm_stat()
213 if (unlikely(ntohl(*p) > ntohl(nlm_lck_denied_grace_period))) in decode_nlm_stat()
215 *stat = *p; in decode_nlm_stat()
219 __func__, be32_to_cpup(p)); in decode_nlm_stat()
239 __be32 *p; in encode_nlm_holder() local
245 p = xdr_reserve_space(xdr, 4 + 4); in encode_nlm_holder()
247 *p++ = cpu_to_be32(l_offset); in encode_nlm_holder()
248 *p = cpu_to_be32(l_len); in encode_nlm_holder()
257 __be32 *p; in decode_nlm_holder() local
263 p = xdr_inline_decode(xdr, 4 + 4); in decode_nlm_holder()
264 if (unlikely(p == NULL)) in decode_nlm_holder()
266 exclusive = be32_to_cpup(p++); in decode_nlm_holder()
267 lock->svid = be32_to_cpup(p); in decode_nlm_holder()
274 p = xdr_inline_decode(xdr, 4 + 4); in decode_nlm_holder()
275 if (unlikely(p == NULL)) in decode_nlm_holder()
280 l_offset = be32_to_cpup(p++); in decode_nlm_holder()
281 l_len = be32_to_cpup(p); in decode_nlm_holder()
303 __be32 *p; in encode_caller_name() local
305 p = xdr_reserve_space(xdr, 4 + length); in encode_caller_name()
306 xdr_encode_opaque(p, name, length); in encode_caller_name()
323 __be32 *p; in encode_nlm_lock() local
329 p = xdr_reserve_space(xdr, 4 + 4 + 4); in encode_nlm_lock()
330 *p++ = cpu_to_be32(lock->svid); in encode_nlm_lock()
333 *p++ = cpu_to_be32(l_offset); in encode_nlm_lock()
334 *p = cpu_to_be32(l_len); in encode_nlm_lock()