Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 20 of 20) sorted by relevance

/dpdk/lib/eal/include/
H A Drte_debug.h47 #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 Dsfc_vdpa_debug.h14 #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 Dsfc_efx_debug.h23 #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 Drte_atomic_64.h27 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 Drte_atomic.h116 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 Drte_atomic_32.h25 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 Drte_atomic_64.h97 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 Drte_spinlock.h71 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 Drte_atomic.h175 * 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 Drte_atomic.h49 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 Dparser.h21 #define APP_CHECK(exp, st, fmt, ...) \
23 if (!(exp)) { \
19 APP_CHECK(exp,st,fmt,...) global() argument
/dpdk/drivers/common/mlx5/
H A Dmlx5_common.h100 #define MLX5_ASSERT(exp) RTE_VERIFY(exp) argument
106 #define MLX5_ASSERT(exp) RTE_ASSERT(exp) argument
/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_throughput.c344 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 Dcomp_perf_test_verify.c401 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 Dcomp_perf_test_cyclecount.c497 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 Dacl_gen.c11 #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 Dtest_telemetry_data.c33 #define CHECK_OUTPUT(exp) check_output(__func__, "{\"" REQUEST_CMD "\":" exp "}") argument
H A Dtest_ring.c58 #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 Dena_com.c552 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 Decore_sp.h201 #define ECORE_DBG_BREAK_IF(exp) \ argument
203 if (unlikely(exp)) { \
213 #define ECORE_BUG_ON(exp) \ argument
215 if (likely(exp)) { \