Lines Matching refs:p

55 	__be32 *p;  in nfs4_block_decode_volume()  local
58 p = xdr_inline_decode(xdr, 4); in nfs4_block_decode_volume()
59 if (!p) in nfs4_block_decode_volume()
61 b->type = be32_to_cpup(p++); in nfs4_block_decode_volume()
65 p = xdr_inline_decode(xdr, 4); in nfs4_block_decode_volume()
66 if (!p) in nfs4_block_decode_volume()
68 b->simple.nr_sigs = be32_to_cpup(p++); in nfs4_block_decode_volume()
76 p = xdr_inline_decode(xdr, 8 + 4); in nfs4_block_decode_volume()
77 if (!p) in nfs4_block_decode_volume()
79 p = xdr_decode_hyper(p, &b->simple.sigs[i].offset); in nfs4_block_decode_volume()
80 b->simple.sigs[i].sig_len = be32_to_cpup(p++); in nfs4_block_decode_volume()
87 p = xdr_inline_decode(xdr, b->simple.sigs[i].sig_len); in nfs4_block_decode_volume()
88 if (!p) in nfs4_block_decode_volume()
90 memcpy(&b->simple.sigs[i].sig, p, in nfs4_block_decode_volume()
98 p = xdr_inline_decode(xdr, 8 + 8 + 4); in nfs4_block_decode_volume()
99 if (!p) in nfs4_block_decode_volume()
101 p = xdr_decode_hyper(p, &b->slice.start); in nfs4_block_decode_volume()
102 p = xdr_decode_hyper(p, &b->slice.len); in nfs4_block_decode_volume()
103 b->slice.volume = be32_to_cpup(p++); in nfs4_block_decode_volume()
106 p = xdr_inline_decode(xdr, 4); in nfs4_block_decode_volume()
107 if (!p) in nfs4_block_decode_volume()
110 b->concat.volumes_count = be32_to_cpup(p++); in nfs4_block_decode_volume()
116 p = xdr_inline_decode(xdr, b->concat.volumes_count * 4); in nfs4_block_decode_volume()
117 if (!p) in nfs4_block_decode_volume()
120 b->concat.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
123 p = xdr_inline_decode(xdr, 8 + 4); in nfs4_block_decode_volume()
124 if (!p) in nfs4_block_decode_volume()
127 p = xdr_decode_hyper(p, &b->stripe.chunk_size); in nfs4_block_decode_volume()
128 b->stripe.volumes_count = be32_to_cpup(p++); in nfs4_block_decode_volume()
134 p = xdr_inline_decode(xdr, b->stripe.volumes_count * 4); in nfs4_block_decode_volume()
135 if (!p) in nfs4_block_decode_volume()
138 b->stripe.volumes[i] = be32_to_cpup(p++); in nfs4_block_decode_volume()
141 p = xdr_inline_decode(xdr, 4 + 4 + 4); in nfs4_block_decode_volume()
142 if (!p) in nfs4_block_decode_volume()
144 b->scsi.code_set = be32_to_cpup(p++); in nfs4_block_decode_volume()
145 b->scsi.designator_type = be32_to_cpup(p++); in nfs4_block_decode_volume()
146 b->scsi.designator_len = be32_to_cpup(p++); in nfs4_block_decode_volume()
147 p = xdr_inline_decode(xdr, b->scsi.designator_len); in nfs4_block_decode_volume()
148 if (!p) in nfs4_block_decode_volume()
152 memcpy(&b->scsi.designator, p, b->scsi.designator_len); in nfs4_block_decode_volume()
153 p = xdr_inline_decode(xdr, 8); in nfs4_block_decode_volume()
154 if (!p) in nfs4_block_decode_volume()
156 p = xdr_decode_hyper(p, &b->scsi.pr_key); in nfs4_block_decode_volume()
488 __be32 *p; in bl_alloc_deviceid_node() local
497 p = xdr_inline_decode(&xdr, sizeof(__be32)); in bl_alloc_deviceid_node()
498 if (!p) in bl_alloc_deviceid_node()
500 nr_volumes = be32_to_cpup(p++); in bl_alloc_deviceid_node()