hv_kvp.c (307448) | hv_kvp.c (307455) |
---|---|
1/*- 2 * Copyright (c) 2014,2016 Microsoft Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 27/* 28 * Author: Sainath Varanasi. 29 * Date: 4/2012 30 * Email: bsdic@microsoft.com 31 */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2014,2016 Microsoft Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 27/* 28 * Author: Sainath Varanasi. 29 * Date: 4/2012 30 * Email: bsdic@microsoft.com 31 */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: stable/11/sys/dev/hyperv/utilities/hv_kvp.c 307448 2016-10-17 01:47:49Z sephe $"); | 34__FBSDID("$FreeBSD: stable/11/sys/dev/hyperv/utilities/hv_kvp.c 307455 2016-10-17 02:30:45Z sephe $"); |
35 36#include <sys/param.h> 37#include <sys/kernel.h> 38#include <sys/conf.h> 39#include <sys/uio.h> 40#include <sys/bus.h> 41#include <sys/malloc.h> 42#include <sys/mbuf.h> --- 530 unchanged lines hidden (view full) --- 573 error = HV_KVP_E_FAIL; 574 575 hv_icmsg_hdrp->status = error; 576 hv_icmsg_hdrp->icflags = HV_ICMSGHDRFLAG_TRANSACTION | HV_ICMSGHDRFLAG_RESPONSE; 577 578 error = hv_vmbus_channel_send_packet(sc->util_sc.channel, 579 sc->rcv_buf, 580 sc->host_msg_len, sc->host_msg_id, | 35 36#include <sys/param.h> 37#include <sys/kernel.h> 38#include <sys/conf.h> 39#include <sys/uio.h> 40#include <sys/bus.h> 41#include <sys/malloc.h> 42#include <sys/mbuf.h> --- 530 unchanged lines hidden (view full) --- 573 error = HV_KVP_E_FAIL; 574 575 hv_icmsg_hdrp->status = error; 576 hv_icmsg_hdrp->icflags = HV_ICMSGHDRFLAG_TRANSACTION | HV_ICMSGHDRFLAG_RESPONSE; 577 578 error = hv_vmbus_channel_send_packet(sc->util_sc.channel, 579 sc->rcv_buf, 580 sc->host_msg_len, sc->host_msg_id, |
581 HV_VMBUS_PACKET_TYPE_DATA_IN_BAND, 0); | 581 VMBUS_CHANPKT_TYPE_INBAND, 0); |
582 583 if (error) 584 hv_kvp_log_info("%s: hv_kvp_respond_host: sendpacket error:%d\n", 585 __func__, error); 586} 587 588 589/* --- 360 unchanged lines hidden --- | 582 583 if (error) 584 hv_kvp_log_info("%s: hv_kvp_respond_host: sendpacket error:%d\n", 585 __func__, error); 586} 587 588 589/* --- 360 unchanged lines hidden --- |