Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 41) sorted by relevance

12

/dpdk/lib/hash/
H A Drte_cuckoo_hash.h24 #define RETURN_IF_TRUE(cond, retval) do { \ argument
25 if (cond) \
29 #define RETURN_IF_TRUE(cond, retval) argument
33 #define ERR_IF_TRUE(cond, fmt, args...) do { \ argument
34 if (cond) { \
40 #define ERR_IF_TRUE(cond, fmt, args...) argument
/dpdk/drivers/bus/dpaa/
H A Drte_dpaa_logs.h18 #define DPAA_BUS_HWWARN(cond, fmt, args...) \ argument
20 if (cond) \
24 #define DPAA_BUS_HWWARN(cond, fmt, args...) do { } while (0) argument
/dpdk/drivers/common/dpaax/
H A Ddpaax_logs.h13 #define DPAAX_HWWARN(cond, fmt, args...) \ argument
15 if (cond) \
19 #define DPAAX_HWWARN(cond, fmt, args...) do { } while (0) argument
/dpdk/drivers/common/dpaax/caamflib/
H A Drta.h561 #define JUMP(program, addr, jump_type, test_type, cond) \ argument
562 rta_jump(program, addr, jump_type, test_type, cond, NONE)
578 #define JUMP_INC(program, addr, test_type, cond, src_dst) \ argument
579 rta_jump(program, addr, LOCAL_JUMP_INC, test_type, cond, src_dst)
595 #define JUMP_DEC(program, addr, test_type, cond, src_dst) \ argument
596 rta_jump(program, addr, LOCAL_JUMP_DEC, test_type, cond, src_dst)
/dpdk/drivers/net/ena/
H A Dena_platform.h9 #define ena_assert_msg(cond, msg) \ argument
11 if (unlikely(!(cond))) { \
/dpdk/drivers/raw/cnxk_bphy/
H A Dcnxk_bphy_cgx_test.c15 cnxk_bphy_cgx_link_cond(uint16_t dev_id, unsigned int queue, int cond) in cnxk_bphy_cgx_link_cond() argument
25 if (link_info.link_up == cond) in cnxk_bphy_cgx_link_cond()
32 return !!cond; in cnxk_bphy_cgx_link_cond()
/dpdk/drivers/raw/ifpga/base/
H A Dopae_osdep.h82 #define opae_readq_poll_timeout(addr, val, cond, invl, timeout)\ argument
87 if (cond) \
91 (cond) ? 0 : -ETIMEDOUT; \
/dpdk/drivers/net/ena/base/
H A Dena_plat_dpdk.h128 #define ENA_WARN(cond, dev, format, arg...) \ argument
130 if (unlikely(cond)) { \
147 pthread_cond_t cond; member
156 pthread_cond_init(&_we->cond, NULL); \
174 ret = pthread_cond_timedwait(&_we->cond, \
192 pthread_cond_signal(&_we->cond); \
/dpdk/lib/eal/include/
H A Drte_test.h19 #define RTE_TEST_ASSERT(cond, msg, ...) do { \ argument
20 if (!(cond)) { \
/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr_hw_specific.h33 #define SEC_ASSERT(cond, altRet, ...) do {\ argument
34 if (unlikely(!(cond))) {\
40 #define SEC_DP_ASSERT(cond, altRet, ...) do {\ argument
41 if (unlikely(!(cond))) {\
437 uint32_t cond:8; member
/dpdk/lib/eal/arm/include/
H A Drte_pause_64.h183 #define RTE_WAIT_UNTIL_MASKED(addr, mask, cond, expected, memorder) do { \ argument
191 if (!((value & (mask)) cond expected_value)) { \
196 } while (!((value & (mask)) cond expected_value)); \
/dpdk/lib/lpm/
H A Drte_lpm.h50 #define RTE_LPM_RETURN_IF_TRUE(cond, retval) do { \ argument
51 if (cond) return (retval); \
54 #define RTE_LPM_RETURN_IF_TRUE(cond, retval)
/dpdk/lib/eal/include/generic/
H A Drte_pause.h133 #define RTE_WAIT_UNTIL_MASKED(addr, mask, cond, expected, memorder) do { \ argument
138 while (!((__atomic_load_n((addr), (memorder)) & (mask)) cond \
/dpdk/app/test-bbdev/
H A Dmain.h27 #define TEST_ASSERT(cond, msg, ...) do { \ argument
28 if (!(cond)) { \
/dpdk/app/test/
H A Dtest_fib6_perf.c30 #define TEST_FIB_ASSERT(cond) do { \ argument
31 if (!(cond)) { \
H A Dtest_lpm6_perf.c29 #define TEST_LPM_ASSERT(cond) do { \ argument
30 if (!(cond)) { \
H A Dtest_hash_multiwriter.c23 #define RETURN_IF_ERROR(cond, str, ...) do { \ argument
24 if (cond) { \
H A Dtest_fib_perf.c31 #define TEST_FIB_ASSERT(cond) do { \ argument
32 if (!(cond)) { \
H A Dtest_rcu_qsbr.c19 #define TEST_RCU_QSBR_RETURN_IF_ERROR(cond, str, ...) \ argument
21 if (cond) { \
29 #define TEST_RCU_QSBR_GOTO_IF_ERROR(label, cond, str, ...) \ argument
31 if (cond) { \
/dpdk/drivers/net/liquidio/
H A Dlio_ethdev.c75 ctrl_cmd.cond = 0; in lio_send_rx_ctrl_cmd()
266 ctrl_cmd.cond = 0; in lio_dev_xstats_reset()
457 ctrl_cmd.cond = 0; in lio_dev_mtu_set()
512 ctrl_cmd.cond = 0; in lio_dev_rss_reta_update()
642 ctrl_cmd.cond = 0; in lio_dev_rss_hash_update()
774 ctrl_cmd.cond = 0; in lio_dev_udp_tunnel_add()
831 ctrl_cmd.cond = 0; in lio_dev_udp_tunnel_del()
870 ctrl_cmd.cond = 0; in lio_dev_vlan_filter_set()
967 ctrl_cmd.cond = 0; in lio_change_dev_flag()
1589 ctrl_cmd.cond = 0; in lio_enable_hw_tunnel_rx_checksum()
[all …]
H A Dlio_ethdev.h24 uint64_t cond; member
/dpdk/lib/fib/
H A Drte_fib.c30 #define FIB_RETURN_IF_TRUE(cond, retval) do { \ argument
31 if (cond) \
35 #define FIB_RETURN_IF_TRUE(cond, retval)
H A Drte_fib6.c30 #define FIB6_RETURN_IF_TRUE(cond, retval) do { \ argument
31 if (cond) \
35 #define FIB6_RETURN_IF_TRUE(cond, retval)
/dpdk/lib/eal/common/
H A Dmalloc_mp.c62 pthread_cond_t cond; /**< variable we use to time out on this request */ member
615 pthread_cond_signal(&entry->cond); in handle_response()
728 pthread_cond_init(&entry->cond, NULL); in request_to_primary()
755 ret = pthread_cond_timedwait(&entry->cond, in request_to_primary()
H A Deal_common_proc.c89 pthread_cond_t cond; member
348 pthread_cond_signal(&pending_req->sync.cond); in process_msg()
925 pthread_cond_init(&pending_req.sync.cond, &attr); in mp_request_sync()
947 ret = pthread_cond_timedwait(&pending_req.sync.cond, in mp_request_sync()

12