Lines Matching refs:resp
873 struct dm_hot_add_response resp; in hot_add_req() local
880 memset(&resp, 0, sizeof(struct dm_hot_add_response)); in hot_add_req()
881 resp.hdr.type = DM_MEM_HOT_ADD_RESPONSE; in hot_add_req()
882 resp.hdr.size = sizeof(struct dm_hot_add_response); in hot_add_req()
915 resp.page_count = process_hot_add(pg_start, pfn_cnt, in hot_add_req()
918 dm->num_pages_added += resp.page_count; in hot_add_req()
937 if (resp.page_count > 0) in hot_add_req()
938 resp.result = 1; in hot_add_req()
940 resp.result = 1; in hot_add_req()
942 resp.result = 0; in hot_add_req()
944 if (!do_hot_add || (resp.page_count == 0)) in hot_add_req()
948 resp.hdr.trans_id = atomic_inc_return(&trans_id); in hot_add_req()
949 vmbus_sendpacket(dm->dev->channel, &resp, in hot_add_req()
1231 struct dm_unballoon_response resp; in balloon_down() local
1242 memset(&resp, 0, sizeof(struct dm_unballoon_response)); in balloon_down()
1243 resp.hdr.type = DM_UNBALLOON_RESPONSE; in balloon_down()
1244 resp.hdr.trans_id = atomic_inc_return(&trans_id); in balloon_down()
1245 resp.hdr.size = sizeof(struct dm_unballoon_response); in balloon_down()
1247 vmbus_sendpacket(dm_device.dev->channel, &resp, in balloon_down()