memcpy(p, obj->data, obj->len);
return p + XDR_QUADLEN(obj->len);
}
memcpy(p, obj->data, obj->len);
return p + XDR_QUADLEN(obj->len);
}
__be32 *
xdr_decode_string_inplace(__be32 *p, char **sp, int *lenp, int maxlen)
__be32 *
xdr_decode_string_inplace(__be32 *p, char **sp, int *lenp, int maxlen)
void
xdr_encode_pages(struct xdr_buf *xdr, struct page **pages, unsigned int base,
void
xdr_encode_pages(struct xdr_buf *xdr, struct page **pages, unsigned int base,
/* Sets subbuf to the portion of buf of length len beginning base bytes
* from the start of buf. Returns -1 if base of length are out of bounds. */
/* Sets subbuf to the portion of buf of length len beginning base bytes
* from the start of buf. Returns -1 if base of length are out of bounds. */
return write_bytes_to_xdr_buf(buf, base, &raw, sizeof(obj));
}
return write_bytes_to_xdr_buf(buf, base, &raw, sizeof(obj));
}
/* If the netobj starting offset bytes from the start of xdr_buf is contained
* entirely in the head or the tail, set object to point to it; otherwise
/* If the netobj starting offset bytes from the start of xdr_buf is contained
* entirely in the head or the tail, set object to point to it; otherwise
return xdr_xcode_array2(buf, base, desc, 0);
}
return xdr_xcode_array2(buf, base, desc, 0);
}
return xdr_xcode_array2(buf, base, desc, 1);
}
return xdr_xcode_array2(buf, base, desc, 1);
}
int
xdr_process_buf(struct xdr_buf *buf, unsigned int offset, unsigned int len,
int
xdr_process_buf(struct xdr_buf *buf, unsigned int offset, unsigned int len,