Lines Matching refs:dst_parm
331 struct vmmdev_hgcm_function_parameter *dst_parm, void *buf, u32 len,
339 dst_parm->type = type;
342 dst_parm->u.pointer.size = 0;
343 dst_parm->u.pointer.u.linear_addr = 0;
351 dst_parm->type = VMMDEV_HGCM_PARM_TYPE_PAGELIST;
352 dst_parm->u.page_list.size = len;
353 dst_parm->u.page_list.offset = *off_extra;
385 struct vmmdev_hgcm_function_parameter *dst_parm =
387 u32 i, off_extra = (uintptr_t)(dst_parm + parm_count) - (uintptr_t)call;
396 for (i = 0; i < parm_count; i++, src_parm++, dst_parm++) {
400 *dst_parm = *src_parm;
406 hgcm_call_init_linaddr(call, dst_parm, bounce_bufs[i],
415 hgcm_call_init_linaddr(call, dst_parm, buf,
422 dst_parm->type = VMMDEV_HGCM_PARM_TYPE_INVALID;
552 * @dst_parm: Pointer to function call parameters destination.
558 struct vmmdev_hgcm_function_parameter *dst_parm,
568 for (i = 0; i < parm_count; i++, src_parm++, dst_parm++) {
569 switch (dst_parm->type) {
572 *dst_parm = *src_parm;
576 dst_parm->u.page_list.size = src_parm->u.page_list.size;
583 dst_parm->u.pointer.size = src_parm->u.pointer.size;
588 dst_parm->u.pointer.size = src_parm->u.pointer.size;
590 p = (void __user *)dst_parm->u.pointer.u.linear_addr;
593 dst_parm->u.pointer.size));