Lines Matching refs:pmsg_hdr
450 struct controlvm_message_header *pmsg_hdr; in visorbus_create() local
477 pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL); in visorbus_create()
478 if (!pmsg_hdr) { in visorbus_create()
482 memcpy(pmsg_hdr, &inmsg->hdr, in visorbus_create()
484 bus_info->pending_msg_hdr = pmsg_hdr; in visorbus_create()
518 struct controlvm_message_header *pmsg_hdr; in visorbus_destroy() local
538 pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL); in visorbus_destroy()
539 if (!pmsg_hdr) { in visorbus_destroy()
543 memcpy(pmsg_hdr, &inmsg->hdr, in visorbus_destroy()
545 bus_info->pending_msg_hdr = pmsg_hdr; in visorbus_destroy()
639 struct controlvm_message_header *pmsg_hdr; in visorbus_device_create() local
698 pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL); in visorbus_device_create()
699 if (!pmsg_hdr) { in visorbus_device_create()
703 memcpy(pmsg_hdr, &inmsg->hdr, in visorbus_device_create()
705 dev_info->pending_msg_hdr = pmsg_hdr; in visorbus_device_create()
729 struct controlvm_message_header *pmsg_hdr; in visorbus_device_changestate() local
752 pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL); in visorbus_device_changestate()
753 if (!pmsg_hdr) { in visorbus_device_changestate()
757 memcpy(pmsg_hdr, &inmsg->hdr, in visorbus_device_changestate()
759 dev_info->pending_msg_hdr = pmsg_hdr; in visorbus_device_changestate()
787 struct controlvm_message_header *pmsg_hdr; in visorbus_device_destroy() local
808 pmsg_hdr = kzalloc(sizeof(*pmsg_hdr), GFP_KERNEL); in visorbus_device_destroy()
809 if (!pmsg_hdr) { in visorbus_device_destroy()
814 memcpy(pmsg_hdr, &inmsg->hdr, in visorbus_device_destroy()
816 dev_info->pending_msg_hdr = pmsg_hdr; in visorbus_device_destroy()