static void qemu_rdma_move_header(RDMAContext *rdma, int idx,

                                  RDMAControlHeader *head)

{

    rdma->wr_data[idx].control_len = head->len;

    rdma->wr_data[idx].control_curr =

        rdma->wr_data[idx].control + sizeof(RDMAControlHeader);

}

static void qemu_rdma_move_header(RDMAContext *rdma, int idx,

                                  RDMAControlHeader *head)

{

    rdma->wr_data[idx].control_len = head->len;

    rdma->wr_data[idx].control_curr =

        rdma->wr_data[idx].control + sizeof(RDMAControlHeader);

}

static void FUNC_0(RDMAContext *VAR_0, int VAR_1,

                                  RDMAControlHeader *VAR_2)

{

    VAR_0->wr_data[VAR_1].control_len = VAR_2->len;

    VAR_0->wr_data[VAR_1].control_curr =

        VAR_0->wr_data[VAR_1].control + sizeof(RDMAControlHeader);

}

static void FUNC_0(RDMAContext *VAR_0, int VAR_1,
RDMAControlHeader *VAR_2)
{ VAR_0->wr_data[VAR_1].control_len = VAR_2->len; VAR_0->wr_data[VAR_1].control_curr =
VAR_0->wr_data[VAR_1].control + sizeof(RDMAControlHeader); }