Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_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.c544 RETURN_IF_TRUE((h == NULL), -EINVAL); in rte_hash_max_key_id()
1204 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_add_key_with_hash()
1211 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_add_key()
1221 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_add_key_with_hash_data()
1234 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_add_key_data()
1426 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_lookup_with_hash()
1433 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_lookup()
1441 RETURN_IF_TRUE(((h == NULL) || (key == NULL)), -EINVAL); in rte_hash_lookup_with_hash_data()
1469 RETURN_IF_TRUE((n_slots == 0), -EFAULT); in free_slot()
2444 RETURN_IF_TRUE(((h == NULL) || (keys == NULL) || in rte_hash_lookup_with_hash_bulk()
[all …]