Home
last modified time | relevance | path

Searched refs:RETURN_IF_TRUE (Results 1 – 2 of 2) sorted by relevance

/dpdk/lib/hash/
H A Drte_cuckoo_hash.h24 #define RETURN_IF_TRUE(cond, retval) do { \ macro
29 #define RETURN_IF_TRUE(cond, retval) macro
H A Drte_cuckoo_hash.c540 RETURN_IF_TRUE((h == NULL), -EINVAL); in rte_hash_max_key_id()
1200 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_add_key_with_hash()
1207 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_add_key()
1217 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_add_key_with_hash_data()
1230 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_add_key_data()
1422 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_lookup_with_hash()
1429 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_lookup()
1437 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_lookup_with_hash_data()
1465 RETURN_IF_TRUE((n_slots == 0), -EFAULT); in free_slot()
2440 RETURN_IF_TRUE(((h == NULL) || (keys == NULL) || in rte_hash_lookup_with_hash_bulk()
[all …]