Lines Matching refs:resp
869 struct dm_hot_add_response resp; in hot_add_req() local
876 memset(&resp, 0, sizeof(struct dm_hot_add_response)); in hot_add_req()
877 resp.hdr.type = DM_MEM_HOT_ADD_RESPONSE; in hot_add_req()
878 resp.hdr.size = sizeof(struct dm_hot_add_response); in hot_add_req()
911 resp.page_count = process_hot_add(pg_start, pfn_cnt, in hot_add_req()
914 dm->num_pages_added += resp.page_count; in hot_add_req()
933 if (resp.page_count > 0) in hot_add_req()
934 resp.result = 1; in hot_add_req()
936 resp.result = 1; in hot_add_req()
938 resp.result = 0; in hot_add_req()
940 if (!do_hot_add || (resp.page_count == 0)) in hot_add_req()
944 resp.hdr.trans_id = atomic_inc_return(&trans_id); in hot_add_req()
945 vmbus_sendpacket(dm->dev->channel, &resp, in hot_add_req()
1227 struct dm_unballoon_response resp; in balloon_down() local
1238 memset(&resp, 0, sizeof(struct dm_unballoon_response)); in balloon_down()
1239 resp.hdr.type = DM_UNBALLOON_RESPONSE; in balloon_down()
1240 resp.hdr.trans_id = atomic_inc_return(&trans_id); in balloon_down()
1241 resp.hdr.size = sizeof(struct dm_unballoon_response); in balloon_down()
1243 vmbus_sendpacket(dm_device.dev->channel, &resp, in balloon_down()