42 #define NFSDBG_FACILITY NFSDBG_PNFS_LD
74 struct xdr_stream *xdr)
87 opaque_cred->
cred =
p;
102 struct xdr_stream *xdr)
114 ret = _osd_xdr_decode_opaque_cred(&comp->
oc_cap_key, xdr);
118 ret = _osd_xdr_decode_opaque_cred(&comp->
oc_cap, xdr);
133 _osd_data_map_xdr_sz(
void)
135 return 4 + 8 + 4 + 4 + 4 + 4;
147 dprintk(
"%s: odm_num_comps=%u odm_stripe_unit=%llu odm_group_width=%u "
148 "odm_group_depth=%u odm_mirror_cnt=%u odm_raid_algorithm=%u\n",
164 memset(iter, 0,
sizeof(*iter));
170 p = _osd_xdr_decode_data_map(p, &layout->
olo_map);
173 dprintk(
"%s: olo_comps_index=%d olo_num_comps=%d\n", __func__,
188 *err = _osd_xdr_decode_object_cred(comp, xdr);
190 dprintk(
"%s: _osd_xdr_decode_object_cred=>%d decoded_comps=%d "
191 "total_comps=%d\n", __func__, *err,
195 dprintk(
"%s: dev(%llx:%llx) par=0x%llx obj=0x%llx "
196 "key_len=%u cap_len=%u\n",
227 str->
data = (
char *)p;
229 p += XDR_QUADLEN(str->
len);
265 p = __read_u8_opaque(p, &netaddr->
r_netid);
266 p = __read_u8_opaque(p, &netaddr->
r_addr);
307 __read_opaque_cred(
__be32 *p,
311 opaque_cred->
cred =
p;
312 return p + XDR_QUADLEN(opaque_cred->
cred_len);
323 p = __read_opaque_cred(p, &comp->
oc_cap);
334 p = xdr_decode_opaque_fixed(p, deviceaddr->
oda_lun,
412 dprintk(
"%s: out of xdr space\n", __func__);