Lines Matching refs:g_handle
71 rte_hash_free(g_handle); \
1828 static struct rte_hash *g_handle; variable
1853 g_handle = rte_hash_create(¶ms); in test_hash_rcu_qsbr_add()
1854 RETURN_IF_ERROR_RCU_QSBR(g_handle == NULL, "Hash creation failed"); in test_hash_rcu_qsbr_add()
1870 status = rte_hash_rcu_qsbr_add(g_handle, &rcu_cfg); in test_hash_rcu_qsbr_add()
1875 status = rte_hash_rcu_qsbr_add(g_handle, &rcu_cfg); in test_hash_rcu_qsbr_add()
1887 status = rte_hash_rcu_qsbr_add(g_handle, &rcu_cfg); in test_hash_rcu_qsbr_add()
1893 rte_hash_free(g_handle); in test_hash_rcu_qsbr_add()
1942 g_handle = NULL; in test_hash_rcu_qsbr_dq_mode()
1955 g_handle = rte_hash_create(¶ms_pseudo_hash); in test_hash_rcu_qsbr_dq_mode()
1956 RETURN_IF_ERROR_RCU_QSBR(g_handle == NULL, "Hash creation failed"); in test_hash_rcu_qsbr_dq_mode()
1972 status = rte_hash_rcu_qsbr_add(g_handle, &rcu_cfg); in test_hash_rcu_qsbr_dq_mode()
1978 pos[i] = rte_hash_add_key(g_handle, &g_rand_keys[i]); in test_hash_rcu_qsbr_dq_mode()
1993 pos[0] = rte_hash_lookup(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_dq_mode()
2000 pos[0] = rte_hash_del_key(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_dq_mode()
2007 pos[0] = rte_hash_lookup(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_dq_mode()
2013 pos[0] = rte_hash_add_key(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_dq_mode()
2022 pos[0] = rte_hash_add_key(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_dq_mode()
2032 pos[0] = rte_hash_lookup(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_dq_mode()
2038 rte_hash_free(g_handle); in test_hash_rcu_qsbr_dq_mode()
2065 rte_hash_lookup(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_reader()
2112 g_handle = NULL; in test_hash_rcu_qsbr_sync_mode()
2125 g_handle = rte_hash_create(¶ms_pseudo_hash); in test_hash_rcu_qsbr_sync_mode()
2126 RETURN_IF_ERROR_RCU_QSBR(g_handle == NULL, "Hash creation failed"); in test_hash_rcu_qsbr_sync_mode()
2142 status = rte_hash_rcu_qsbr_add(g_handle, &rcu_cfg); in test_hash_rcu_qsbr_sync_mode()
2152 pos[i] = rte_hash_add_key(g_handle, &g_rand_keys[i]); in test_hash_rcu_qsbr_sync_mode()
2163 pos[0] = rte_hash_del_key(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_sync_mode()
2169 pos[0] = rte_hash_add_key(g_handle, &g_rand_keys[0]); in test_hash_rcu_qsbr_sync_mode()
2180 rte_hash_free(g_handle); in test_hash_rcu_qsbr_sync_mode()