static void rcu_qtest_init(void)

{

    struct list_element *new_el;

    int i;

    nthreadsrunning = 0;

    srand(time(0));

    for (i = 0; i < RCU_Q_LEN; i++) {

        new_el = g_new(struct list_element, 1);

        new_el->val = i;

        QLIST_INSERT_HEAD_RCU(&Q_list_head, new_el, entry);

    }

    atomic_add(&n_nodes, RCU_Q_LEN);

}

static void rcu_qtest_init(void)

{

    struct list_element *new_el;

    int i;

    nthreadsrunning = 0;

    srand(time(0));

    for (i = 0; i < RCU_Q_LEN; i++) {

        new_el = g_new(struct list_element, 1);

        new_el->val = i;

        QLIST_INSERT_HEAD_RCU(&Q_list_head, new_el, entry);

    }

    atomic_add(&n_nodes, RCU_Q_LEN);

}

static void FUNC_0(void)

{

    struct list_element *VAR_0;

    int VAR_1;

    nthreadsrunning = 0;

    srand(time(0));

    for (VAR_1 = 0; VAR_1 < RCU_Q_LEN; VAR_1++) {

        VAR_0 = g_new(struct list_element, 1);

        VAR_0->val = VAR_1;

        QLIST_INSERT_HEAD_RCU(&Q_list_head, VAR_0, entry);

    }

    atomic_add(&n_nodes, RCU_Q_LEN);

}

static void FUNC_0(void)
{ struct list_element *VAR_0; int VAR_1; nthreadsrunning = 0; srand(time(0)); for (VAR_1 = 0; VAR_1 < RCU_Q_LEN; VAR_1++) { VAR_0 = g_new(struct list_element, 1); VAR_0->val = VAR_1; QLIST_INSERT_HEAD_RCU(&Q_list_head, VAR_0, entry); } atomic_add(&n_nodes, RCU_Q_LEN); }