static inline void vmxnet3_ring_init(Vmxnet3Ring *ring,

                                     hwaddr pa,

                                     size_t size,

                                     size_t cell_size,

                                     bool zero_region)

{

    ring->pa = pa;

    ring->size = size;

    ring->cell_size = cell_size;

    ring->gen = VMXNET3_INIT_GEN;

    ring->next = 0;



    if (zero_region) {

        vmw_shmem_set(pa, 0, size * cell_size);

    }

}

static inline void vmxnet3_ring_init(Vmxnet3Ring *ring,

                                     hwaddr pa,

                                     size_t size,

                                     size_t cell_size,

                                     bool zero_region)

{

    ring->pa = pa;

    ring->size = size;

    ring->cell_size = cell_size;

    ring->gen = VMXNET3_INIT_GEN;

    ring->next = 0;



    if (zero_region) {

        vmw_shmem_set(pa, 0, size * cell_size);

    }

}

static inline void vmxnet3_ring_init(Vmxnet3Ring *ring,         vmw_shmem_set(pa, 0, size * cell_size);
static inline void FUNC_0(Vmxnet3Ring *VAR_0,

                                     hwaddr VAR_1,

                                     size_t VAR_2,

                                     size_t VAR_3,

                                     bool VAR_4)

{

    VAR_0->VAR_1 = VAR_1;

    VAR_0->VAR_2 = VAR_2;

    VAR_0->VAR_3 = VAR_3;

    VAR_0->gen = VMXNET3_INIT_GEN;

    VAR_0->next = 0;



    if (VAR_4) {

        vmw_shmem_set(VAR_1, 0, VAR_2 * VAR_3);

    }

}

static inline void FUNC_0(Vmxnet3Ring *VAR_0,
hwaddr VAR_1,
size_t VAR_2,
size_t VAR_3,
bool VAR_4)
{ VAR_0->VAR_1 = VAR_1; VAR_0->VAR_2 = VAR_2; VAR_0->VAR_3 = VAR_3; VAR_0->gen = VMXNET3_INIT_GEN; VAR_0->next = 0; if (VAR_4) { vmw_shmem_set(VAR_1, 0, VAR_2 * VAR_3); } }