• Home
  • Raw
  • Download

Lines Matching refs:p

369 	__be32 *p;  in encode_layoutstats()  local
372 p = reserve_space(xdr, 8 + 8); in encode_layoutstats()
373 p = xdr_encode_hyper(p, devinfo->offset); in encode_layoutstats()
374 p = xdr_encode_hyper(p, devinfo->length); in encode_layoutstats()
376 p = reserve_space(xdr, 4*8 + NFS4_DEVICEID4_SIZE + 4); in encode_layoutstats()
377 p = xdr_encode_hyper(p, devinfo->read_count); in encode_layoutstats()
378 p = xdr_encode_hyper(p, devinfo->read_bytes); in encode_layoutstats()
379 p = xdr_encode_hyper(p, devinfo->write_count); in encode_layoutstats()
380 p = xdr_encode_hyper(p, devinfo->write_bytes); in encode_layoutstats()
381 p = xdr_encode_opaque_fixed(p, devinfo->dev_id.data, in encode_layoutstats()
384 *p++ = cpu_to_be32(devinfo->layout_type); in encode_layoutstats()
396 __be32 *p; in encode_clone() local
401 p = reserve_space(xdr, 3*8); in encode_clone()
402 p = xdr_encode_hyper(p, args->src_offset); in encode_clone()
403 p = xdr_encode_hyper(p, args->dst_offset); in encode_clone()
404 xdr_encode_hyper(p, args->count); in encode_clone()
410 __be32 *p; in encode_device_error() local
412 p = reserve_space(xdr, NFS4_DEVICEID4_SIZE + 2*4); in encode_device_error()
413 p = xdr_encode_opaque_fixed(p, error->dev_id.data, in encode_device_error()
415 *p++ = cpu_to_be32(error->status); in encode_device_error()
416 *p = cpu_to_be32(error->opnum); in encode_device_error()
423 __be32 *p; in encode_layouterror() local
426 p = reserve_space(xdr, 8 + 8); in encode_layouterror()
427 p = xdr_encode_hyper(p, args->offset); in encode_layouterror()
428 p = xdr_encode_hyper(p, args->length); in encode_layouterror()
430 p = reserve_space(xdr, 4); in encode_layouterror()
431 *p = cpu_to_be32(1); in encode_layouterror()
439 __be32 *p; in encode_setxattr() local
445 p = reserve_space(xdr, 4); in encode_setxattr()
446 *p = cpu_to_be32(arg->xattr_flags); in encode_setxattr()
448 p = reserve_space(xdr, 4); in encode_setxattr()
449 *p = cpu_to_be32(arg->xattr_len); in encode_setxattr()
480 __be32 *p; in decode_getxattr() local
487 p = xdr_inline_decode(xdr, 4); in decode_getxattr()
488 if (unlikely(!p)) in decode_getxattr()
491 len = be32_to_cpup(p); in decode_getxattr()
532 __be32 *p; in encode_listxattrs() local
536 p = reserve_space(xdr, 12); in encode_listxattrs()
537 if (unlikely(!p)) in encode_listxattrs()
540 p = xdr_encode_hyper(p, arg->cookie); in encode_listxattrs()
546 *p = cpu_to_be32(arg->count + 8 + 4); in encode_listxattrs()
553 __be32 *p; in decode_listxattrs() local
569 p = xdr_inline_decode(xdr, 8); in decode_listxattrs()
570 if (unlikely(!p)) in decode_listxattrs()
573 xdr_decode_hyper(p, &res->cookie); in decode_listxattrs()
575 p = xdr_inline_decode(xdr, 4); in decode_listxattrs()
576 if (unlikely(!p)) in decode_listxattrs()
582 count = be32_to_cpup(p); in decode_listxattrs()
594 p = xdr_inline_decode(xdr, 4); in decode_listxattrs()
595 if (unlikely(!p)) in decode_listxattrs()
598 len = be32_to_cpup(p); in decode_listxattrs()
604 p = xdr_inline_decode(xdr, len); in decode_listxattrs()
605 if (unlikely(!p)) in decode_listxattrs()
616 memcpy(buf + XATTR_USER_PREFIX_LEN, p, len); in decode_listxattrs()
625 p = xdr_inline_decode(xdr, 4); in decode_listxattrs()
626 if (unlikely(!p)) in decode_listxattrs()
629 res->eof = be32_to_cpup(p); in decode_listxattrs()
663 __be32 *p; in encode_copy_commit() local
666 p = reserve_space(xdr, 12); in encode_copy_commit()
667 p = xdr_encode_hyper(p, args->dst_pos); in encode_copy_commit()
668 *p = cpu_to_be32(args->count); in encode_copy_commit()
867 __be32 *p; in decode_write_response() local
870 p = xdr_inline_decode(xdr, 4); in decode_write_response()
871 if (unlikely(!p)) in decode_write_response()
873 count = be32_to_cpup(p); in decode_write_response()
882 p = xdr_inline_decode(xdr, 8 + 4); in decode_write_response()
883 if (unlikely(!p)) in decode_write_response()
885 p = xdr_decode_hyper(p, &res->count); in decode_write_response()
886 res->verifier.committed = be32_to_cpup(p); in decode_write_response()
895 __be32 *p; in decode_nl4_server() local
899 p = xdr_inline_decode(xdr, 4); in decode_nl4_server()
900 if (unlikely(!p)) in decode_nl4_server()
902 ns->nl4_type = be32_to_cpup(p); in decode_nl4_server()
944 __be32 *p; in decode_copy_requirements() local
946 p = xdr_inline_decode(xdr, 4 + 4); in decode_copy_requirements()
947 if (unlikely(!p)) in decode_copy_requirements()
950 res->consecutive = be32_to_cpup(p++); in decode_copy_requirements()
951 res->synchronous = be32_to_cpup(p++); in decode_copy_requirements()
984 __be32 *p; in decode_copy_notify() local
991 p = xdr_inline_decode(xdr, 12); in decode_copy_notify()
992 if (unlikely(!p)) in decode_copy_notify()
994 p = xdr_decode_hyper(p, &res->cnr_lease_time.seconds); in decode_copy_notify()
995 res->cnr_lease_time.nseconds = be32_to_cpup(p); in decode_copy_notify()
1002 p = xdr_inline_decode(xdr, 4); in decode_copy_notify()
1003 if (unlikely(!p)) in decode_copy_notify()
1006 count = be32_to_cpup(p); in decode_copy_notify()
1027 __be32 *p; in decode_read_plus_data() local
1029 p = xdr_inline_decode(xdr, 8 + 4); in decode_read_plus_data()
1030 if (!p) in decode_read_plus_data()
1033 p = xdr_decode_hyper(p, &offset); in decode_read_plus_data()
1034 count = be32_to_cpup(p); in decode_read_plus_data()
1047 __be32 *p; in decode_read_plus_hole() local
1049 p = xdr_inline_decode(xdr, 8 + 8); in decode_read_plus_hole()
1050 if (!p) in decode_read_plus_hole()
1053 p = xdr_decode_hyper(p, &offset); in decode_read_plus_hole()
1054 p = xdr_decode_hyper(p, &length); in decode_read_plus_hole()
1067 __be32 *p; in decode_read_plus() local
1073 p = xdr_inline_decode(xdr, 4 + 4); in decode_read_plus()
1074 if (unlikely(!p)) in decode_read_plus()
1077 eof = be32_to_cpup(p++); in decode_read_plus()
1078 segments = be32_to_cpup(p++); in decode_read_plus()
1083 p = xdr_inline_decode(xdr, 4); in decode_read_plus()
1084 if (!p) in decode_read_plus()
1087 type = be32_to_cpup(p++); in decode_read_plus()
1114 __be32 *p; in decode_seek() local
1120 p = xdr_inline_decode(xdr, 4 + 8); in decode_seek()
1121 if (unlikely(!p)) in decode_seek()
1124 res->sr_eof = be32_to_cpup(p++); in decode_seek()
1125 p = xdr_decode_hyper(p, &res->sr_offset); in decode_seek()