| /dpdk/lib/eal/include/ |
| H A D | rte_debug.h | 47 #define RTE_ASSERT(exp) RTE_VERIFY(exp) argument 49 #define RTE_ASSERT(exp) do {} while (0) argument 51 #define RTE_VERIFY(exp) do { \ argument 52 if (unlikely(!(exp))) \ 53 rte_panic("line %d\tassert \"%s\" failed\n", __LINE__, #exp); \
|
| /dpdk/drivers/vdpa/sfc/ |
| H A D | sfc_vdpa_debug.h | 14 #define SFC_VDPA_ASSERT(exp) RTE_VERIFY(exp) argument 17 #define SFC_VDPA_ASSERT(exp) RTE_ASSERT(exp) argument
|
| /dpdk/drivers/common/sfc_efx/ |
| H A D | sfc_efx_debug.h | 23 #define SFC_EFX_ASSERT(exp) RTE_VERIFY(exp) argument 26 #define SFC_EFX_ASSERT(exp) RTE_ASSERT(exp) argument
|
| /dpdk/lib/eal/x86/include/ |
| H A D | rte_atomic_64.h | 27 rte_atomic64_cmpset(volatile uint64_t *dst, uint64_t exp, uint64_t src) in rte_atomic64_cmpset() argument 39 "a" (exp), in rte_atomic64_cmpset() 187 rte_int128_t *exp, in rte_atomic128_cmp_exchange() argument 203 "=a" (exp->val[0]), in rte_atomic128_cmp_exchange() 204 "=d" (exp->val[1]), in rte_atomic128_cmp_exchange() 208 "a" (exp->val[0]), in rte_atomic128_cmp_exchange() 209 "d" (exp->val[1]), in rte_atomic128_cmp_exchange()
|
| H A D | rte_atomic.h | 116 rte_atomic16_cmpset(volatile uint16_t *dst, uint16_t exp, uint16_t src) in rte_atomic16_cmpset() 127 "a" (exp), in rte_atomic16_exchange() 202 rte_atomic32_cmpset(volatile uint32_t *dst, uint32_t exp, uint32_t src) in rte_atomic32_cmpset() 213 "a" (exp), in rte_atomic32_exchange() 108 rte_atomic16_cmpset(volatile uint16_t * dst,uint16_t exp,uint16_t src) rte_atomic16_cmpset() argument 194 rte_atomic32_cmpset(volatile uint32_t * dst,uint32_t exp,uint32_t src) rte_atomic32_cmpset() argument
|
| H A D | rte_atomic_32.h | 25 rte_atomic64_cmpset(volatile uint64_t *dst, uint64_t exp, uint64_t src) in rte_atomic64_cmpset() argument 36 _exp.u64 = exp; in rte_atomic64_cmpset()
|
| /dpdk/lib/eal/arm/include/ |
| H A D | rte_atomic_64.h | 97 rte_atomic128_cmp_exchange(rte_int128_t *dst, rte_int128_t *exp, in rte_atomic128_cmp_exchange() argument 114 rte_int128_t expected = *exp; in rte_atomic128_cmp_exchange() 120 __cas_128_relaxed(dst, exp, desired); in rte_atomic128_cmp_exchange() 122 __cas_128_acquire(dst, exp, desired); in rte_atomic128_cmp_exchange() 124 __cas_128_release(dst, exp, desired); in rte_atomic128_cmp_exchange() 126 __cas_128_acq_rel(dst, exp, desired); in rte_atomic128_cmp_exchange() 127 old = *exp; in rte_atomic128_cmp_exchange() 192 /* Unconditionally updating the value of exp removes an 'if' statement. in rte_atomic128_cmp_exchange() 193 * The value of exp should already be in register if not in the cache. in rte_atomic128_cmp_exchange() 195 *exp in rte_atomic128_cmp_exchange() [all...] |
| /dpdk/lib/eal/include/generic/ |
| H A D | rte_spinlock.h | 71 int exp = 0; in rte_spinlock_lock() 73 while (!rte_atomic_compare_exchange_strong_explicit(&sl->locked, &exp, 1, in rte_spinlock_lock() 77 exp = 0; 119 int exp = 0; 120 return rte_atomic_compare_exchange_strong_explicit(&sl->locked, &exp, 1, 67 int exp = 0; rte_spinlock_lock() local 115 int exp = 0; rte_spinlock_trylock() local
|
| H A D | rte_atomic.h | 175 * if (*dst == exp) 180 * @param exp 188 rte_atomic16_cmpset(volatile uint16_t *dst, uint16_t exp, uint16_t src); in rte_atomic16_cmpset() argument 192 rte_atomic16_cmpset(volatile uint16_t *dst, uint16_t exp, uint16_t src) 194 return __sync_bool_compare_and_swap(dst, exp, src); 460 * if (*dst == exp) 465 * @param exp 473 rte_atomic32_cmpset(volatile uint32_t *dst, uint32_t exp, uint32_t src); in rte_atomic32_cmpset() argument 477 rte_atomic32_cmpset(volatile uint32_t *dst, uint32_t exp, uint32_t src) 479 return __sync_bool_compare_and_swap(dst, exp, sr 757 rte_atomic64_cmpset(volatile uint64_t * dst,uint64_t exp,uint64_t src) rte_atomic64_cmpset() argument [all...] |
| /dpdk/lib/eal/ppc/include/ |
| H A D | rte_atomic.h | 49 rte_atomic16_cmpset(volatile uint16_t *dst, uint16_t exp, uint16_t src) in rte_atomic16_cmpset() argument 51 return rte_atomic_compare_exchange_strong_explicit(dst, &exp, src, rte_memory_order_acquire, in rte_atomic16_cmpset() 91 rte_atomic32_cmpset(volatile uint32_t *dst, uint32_t exp, uint32_t src) in rte_atomic32_cmpset() argument 93 return rte_atomic_compare_exchange_strong_explicit(dst, &exp, src, rte_memory_order_acquire, in rte_atomic32_cmpset() 133 rte_atomic64_cmpset(volatile uint64_t *dst, uint64_t exp, uint64_t src) in rte_atomic64_cmpset() argument 135 return rte_atomic_compare_exchange_strong_explicit(dst, &exp, src, rte_memory_order_acquire, in rte_atomic64_cmpset()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | parser.h | 21 #define APP_CHECK(exp, st, fmt, ...) \ 23 if (!(exp)) { \ 19 APP_CHECK(exp,st,fmt,...) global() argument
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common.h | 100 #define MLX5_ASSERT(exp) RTE_VERIFY(exp) argument 106 #define MLX5_ASSERT(exp) RTE_ASSERT(exp) argument
|
| /dpdk/app/test-compress-perf/ |
| H A D | comp_perf_test_throughput.c | 344 uint16_t exp = 0; in cperf_throughput_test_runner() local 348 if (rte_atomic_compare_exchange_strong_explicit(&ctx->ver.mem.print_info_once, &exp, in cperf_throughput_test_runner() 415 exp = 0; in cperf_throughput_test_runner() 416 if (rte_atomic_compare_exchange_strong_explicit(&display_once, &exp, 1, in cperf_throughput_test_runner()
|
| H A D | comp_perf_test_verify.c | 401 uint16_t exp = 0; in cperf_verify_test_runner() local 455 if (rte_atomic_compare_exchange_strong_explicit(&display_once, &exp, 1, in cperf_verify_test_runner()
|
| H A D | comp_perf_test_cyclecount.c | 497 uint16_t exp = 0; in cperf_cyclecount_test_runner() local 501 if (rte_atomic_compare_exchange_strong_explicit(&ctx->ver.mem.print_info_once, &exp, in cperf_cyclecount_test_runner()
|
| /dpdk/lib/acl/ |
| H A D | acl_gen.c | 11 #define RTE_ACL_VERIFY(exp) do { \ argument 12 if (!(exp)) \ 13 rte_panic("line %d\tassert \"" #exp "\" failed\n", __LINE__); \
|
| /dpdk/app/test/ |
| H A D | test_telemetry_data.c | 33 #define CHECK_OUTPUT(exp) check_output(__func__, "{\"" REQUEST_CMD "\":" exp "}") argument
|
| H A D | test_ring.c | 58 #define TEST_RING_VERIFY(exp, r, errst) do { \ argument 59 if (!(exp)) { \ 60 printf("error at %s:%d\tcondition " #exp " failed\n", \
|
| /dpdk/drivers/net/ena/base/ |
| H A D | ena_com.c | 552 static void ena_delay_exponential_backoff_us(u32 exp, u32 delay_us) in ena_delay_exponential_backoff_us() argument 554 exp = ENA_MIN32(ENA_MAX_BACKOFF_DELAY_EXP, exp); in ena_delay_exponential_backoff_us() 556 delay_us = ENA_MIN32(ENA_MAX_ADMIN_POLL_US, delay_us * (1U << exp)); in ena_delay_exponential_backoff_us() 566 u32 exp = 0; in ena_com_wait_and_process_admin_cq_polling() local 591 ena_delay_exponential_backoff_us(exp++, in ena_com_wait_and_process_admin_cq_polling() 995 u32 val, exp = 0; in wait_for_reset_state() local 1016 ena_delay_exponential_backoff_us(exp++, ena_dev->ena_min_poll_delay_us); in wait_for_reset_state() 1506 u32 exp = 0; in ena_com_wait_for_abort_completion() local 1511 ena_delay_exponential_backoff_us(exp++, ena_dev->ena_min_poll_delay_us); in ena_com_wait_for_abort_completion()
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | ecore_sp.h | 201 #define ECORE_DBG_BREAK_IF(exp) \ argument 203 if (unlikely(exp)) { \ 213 #define ECORE_BUG_ON(exp) \ argument 215 if (likely(exp)) { \
|