| /f-stack/dpdk/lib/librte_eal/x86/include/ |
| H A D | rte_atomic_32.h | 87 int success = 0; in rte_atomic64_init() local 90 while (success == 0) { in rte_atomic64_init() 100 int success = 0; in rte_atomic64_read() local 103 while (success == 0) { in rte_atomic64_read() 115 int success = 0; in rte_atomic64_set() local 118 while (success == 0) { in rte_atomic64_set() 128 int success = 0; in rte_atomic64_add() local 131 while (success == 0) { in rte_atomic64_add() 141 int success = 0; in rte_atomic64_sub() local 166 int success = 0; in rte_atomic64_add_return() local [all …]
|
| H A D | rte_atomic_64.h | 192 int success, in rte_atomic128_cmp_exchange() argument 196 RTE_SET_USED(success); in rte_atomic128_cmp_exchange()
|
| /f-stack/dpdk/app/test/ |
| H A D | virtual_pmd.h | 40 virtual_ethdev_start_fn_set_success(uint16_t port_id, uint8_t success); 43 virtual_ethdev_stop_fn_set_success(uint16_t port_id, uint8_t success); 46 virtual_ethdev_configure_fn_set_success(uint16_t port_id, uint8_t success); 50 uint8_t success); 54 uint8_t success); 57 virtual_ethdev_link_update_fn_set_success(uint16_t port_id, uint8_t success); 60 virtual_ethdev_rx_burst_fn_set_success(uint16_t port_id, uint8_t success); 63 virtual_ethdev_tx_burst_fn_set_success(uint16_t port_id, uint8_t success);
|
| H A D | virtual_pmd.c | 257 virtual_ethdev_start_fn_set_success(uint16_t port_id, uint8_t success) in virtual_ethdev_start_fn_set_success() argument 263 if (success) in virtual_ethdev_start_fn_set_success() 271 virtual_ethdev_configure_fn_set_success(uint16_t port_id, uint8_t success) in virtual_ethdev_configure_fn_set_success() argument 277 if (success) in virtual_ethdev_configure_fn_set_success() 290 if (success) in virtual_ethdev_rx_queue_setup_fn_set_success() 303 if (success) in virtual_ethdev_tx_queue_setup_fn_set_success() 316 if (success) in virtual_ethdev_link_update_fn_set_success() 426 virtual_ethdev_rx_burst_fn_set_success(uint16_t port_id, uint8_t success) in virtual_ethdev_rx_burst_fn_set_success() argument 430 if (success) in virtual_ethdev_rx_burst_fn_set_success() 438 virtual_ethdev_tx_burst_fn_set_success(uint16_t port_id, uint8_t success) in virtual_ethdev_tx_burst_fn_set_success() argument [all …]
|
| H A D | test_rwlock.c | 61 uint64_t success; member 312 lcd->stat.success++; in try_read_lcore() 346 lcd->stat.success++; in try_write_lcore() 367 s = RTE_MAX(tlc->stat.success, 1ULL); in print_try_lcore_stats() 383 tlc->stat.success, in print_try_lcore_stats() 386 (tlc->stat.fail + tlc->stat.success), in print_try_lcore_stats() 388 (long double)tlc->stat.success / f); in print_try_lcore_stats() 397 tlc->stat.success += lc->stat.success; in collect_try_lcore_stats()
|
| H A D | test_atomic.c | 267 int success; in test_atomic128_cmp_exchange() local 282 success = rte_atomic128_cmp_exchange(&count128, in test_atomic128_cmp_exchange() 285 } while (success == 0); in test_atomic128_cmp_exchange() 293 success = rte_atomic128_cmp_exchange(&count128, in test_atomic128_cmp_exchange() 296 } while (success == 0); in test_atomic128_cmp_exchange() 304 success = rte_atomic128_cmp_exchange(&count128, in test_atomic128_cmp_exchange() 307 } while (success == 0); in test_atomic128_cmp_exchange() 315 success = rte_atomic128_cmp_exchange(&count128, in test_atomic128_cmp_exchange() 318 } while (success == 0); in test_atomic128_cmp_exchange()
|
| H A D | test_hash_perf.c | 166 unsigned bucket_idx, incr, success = 1; in get_input_keys() local 202 if (success == 1) in get_input_keys() 208 if (success == 1) in get_input_keys() 219 success = 0; in get_input_keys() 242 success = 1; in get_input_keys()
|
| /f-stack/dpdk/lib/librte_eal/include/generic/ |
| H A D | rte_rwlock.h | 64 int success = 0; in rte_rwlock_read_lock() local 66 while (success == 0) { in rte_rwlock_read_lock() 73 success = __atomic_compare_exchange_n(&rwl->cnt, &x, x + 1, 1, in rte_rwlock_read_lock() 96 int success = 0; in rte_rwlock_read_trylock() local 98 while (success == 0) { in rte_rwlock_read_trylock() 103 success = __atomic_compare_exchange_n(&rwl->cnt, &x, x + 1, 1, in rte_rwlock_read_trylock() 159 int success = 0; in rte_rwlock_write_lock() local 161 while (success == 0) { in rte_rwlock_write_lock() 168 success = __atomic_compare_exchange_n(&rwl->cnt, &x, -1, 1, in rte_rwlock_write_lock()
|
| H A D | rte_atomic.h | 779 int success = 0; in rte_atomic64_init() 782 while (success == 0) { in rte_atomic64_init() 784 success = rte_atomic64_cmpset((volatile uint64_t *)&v->cnt, in rte_atomic64_init() 809 int success = 0; in rte_atomic64_read() 812 while (success == 0) { in rte_atomic64_read() 815 success = rte_atomic64_cmpset((volatile uint64_t *)&v->cnt, in rte_atomic64_read() 841 int success = 0; in rte_atomic64_set() 844 while (success == 0) { in rte_atomic64_set() 846 success = rte_atomic64_cmpset((volatile uint64_t *)&v->cnt, in rte_atomic64_set() 1111 int success,
|
| /f-stack/dpdk/lib/librte_eal/arm/include/ |
| H A D | rte_atomic_64.h | 94 const rte_int128_t *src, unsigned int weak, int success, in rte_atomic128_cmp_exchange() argument 104 RTE_ASSERT(success == __ATOMIC_RELAXED || in rte_atomic128_cmp_exchange() 105 success == __ATOMIC_ACQUIRE || in rte_atomic128_cmp_exchange() 106 success == __ATOMIC_RELEASE || in rte_atomic128_cmp_exchange() 107 success == __ATOMIC_ACQ_REL || in rte_atomic128_cmp_exchange() 108 success == __ATOMIC_SEQ_CST); in rte_atomic128_cmp_exchange() 115 if (success == __ATOMIC_RELAXED) in rte_atomic128_cmp_exchange() 117 else if (success == __ATOMIC_ACQUIRE) in rte_atomic128_cmp_exchange() 119 else if (success == __ATOMIC_RELEASE) in rte_atomic128_cmp_exchange() 128 int ldx_mo = __HAS_ACQ(success) ? __ATOMIC_ACQUIRE : __ATOMIC_RELAXED; in rte_atomic128_cmp_exchange() [all …]
|
| /f-stack/dpdk/lib/librte_ring/ |
| H A D | rte_ring_generic.h | 63 int success; in __rte_ring_move_prod_head() local 94 r->prod.head = *new_head, success = 1; in __rte_ring_move_prod_head() 96 success = rte_atomic32_cmpset(&r->prod.head, in __rte_ring_move_prod_head() 98 } while (unlikely(success == 0)); in __rte_ring_move_prod_head() 132 int success; in __rte_ring_move_cons_head() local 164 success = 1; in __rte_ring_move_cons_head() 166 success = rte_atomic32_cmpset(&r->cons.head, *old_head, in __rte_ring_move_cons_head() 169 } while (unlikely(success == 0)); in __rte_ring_move_cons_head()
|
| H A D | rte_ring_c11_mem.h | 62 int success; in __rte_ring_move_prod_head() local 95 r->prod.head = *new_head, success = 1; in __rte_ring_move_prod_head() 98 success = __atomic_compare_exchange_n(&r->prod.head, in __rte_ring_move_prod_head() 102 } while (unlikely(success == 0)); in __rte_ring_move_prod_head() 137 int success; in __rte_ring_move_cons_head() local 170 r->cons.head = *new_head, success = 1; in __rte_ring_move_cons_head() 173 success = __atomic_compare_exchange_n(&r->cons.head, in __rte_ring_move_cons_head() 177 } while (unlikely(success == 0)); in __rte_ring_move_cons_head()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | intset.c | 207 if (success) *success = 1; in intsetAdd() 220 if (success) *success = 0; in intsetAdd() 237 if (success) *success = 0; in intsetRemove() 243 if (success) *success = 1; in intsetRemove() 353 uint8_t success; in intsetTest() local 379 is = intsetAdd(is,5,&success); assert(success); in intsetTest() 380 is = intsetAdd(is,6,&success); assert(success); in intsetTest() 381 is = intsetAdd(is,4,&success); assert(success); in intsetTest() 382 is = intsetAdd(is,4,&success); assert(!success); in intsetTest() 390 is = intsetAdd(is,rand()%0x800,&success); in intsetTest() [all …]
|
| H A D | redis-cli.c | 2223 return success; in clusterManagerStartTransaction() 2232 if (success) { in clusterManagerExecTransaction() 2242 if (!success && onerror) success = onerror(r, i); in clusterManagerExecTransaction() 2253 return success; in clusterManagerExecTransaction() 2784 return success; in clusterManagerAddSlots() 2808 return success; in clusterManagerSetSlot() 2816 return success; in clusterManagerClearSlotStatus() 2834 return success; in clusterManagerDelSlot() 2842 return success; in clusterManagerAddSlot() 2861 return success; in clusterManagerBumpEpoch() [all …]
|
| H A D | intset.h | 42 intset *intsetAdd(intset *is, int64_t value, uint8_t *success); 43 intset *intsetRemove(intset *is, int64_t value, int *success);
|
| /f-stack/dpdk/lib/librte_stack/ |
| H A D | rte_stack_lf_c11.h | 40 int success; in __rte_stack_lf_push_elems() local 58 success = rte_atomic128_cmp_exchange( in __rte_stack_lf_push_elems() 64 } while (success == 0); in __rte_stack_lf_push_elems() 80 int success; in __rte_stack_lf_pop_elems() local 158 success = rte_atomic128_cmp_exchange( in __rte_stack_lf_pop_elems() 164 } while (success == 0); in __rte_stack_lf_pop_elems()
|
| H A D | rte_stack_lf_generic.h | 40 int success; in __rte_stack_lf_push_elems() local 63 success = rte_atomic128_cmp_exchange( in __rte_stack_lf_push_elems() 69 } while (success == 0); in __rte_stack_lf_push_elems() 81 int success = 0; in __rte_stack_lf_pop_elems() local 138 success = rte_atomic128_cmp_exchange( in __rte_stack_lf_pop_elems() 144 } while (success == 0); in __rte_stack_lf_pop_elems()
|
| /f-stack/freebsd/sys/ |
| H A D | stdatomic.h | 234 desired, success, failure) \ argument 236 success, failure) 238 desired, success, failure) \ argument 240 success, failure) 259 desired, success, failure) \ argument 261 desired, 0, success, failure) 263 desired, success, failure) \ argument 265 desired, 1, success, failure) 289 (void)(success); (void)(failure); \ 294 desired, success, failure) \ argument [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | atomic.c | 21 bool success; \ 47 success = false; \ 48 for (int i = 0; i < 10 && !success; i++) { \ 50 success = atomic_compare_exchange_weak_##ta(&atom, \ 55 assert_b_eq(val1 == val2, success, \ 58 if (success) { \ 69 success = atomic_compare_exchange_strong_##ta(&atom, &expected, \ 71 assert_b_eq(val1 == val2, success, \ 74 if (success) { \
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/ |
| H A D | cache_bin.h | 88 cache_bin_alloc_easy(cache_bin_t *bin, bool *success) { in cache_bin_alloc_easy() argument 93 *success = false; in cache_bin_alloc_easy() 103 *success = true; in cache_bin_alloc_easy()
|
| /f-stack/dpdk/lib/librte_rcu/ |
| H A D | rte_rcu_qsbr.c | 88 unsigned int i, id, success; in rte_rcu_qsbr_thread_register() local 116 success = __atomic_compare_exchange( in rte_rcu_qsbr_thread_register() 121 if (success) in rte_rcu_qsbr_thread_register() 129 } while (success == 0); in rte_rcu_qsbr_thread_register() 140 unsigned int i, id, success; in rte_rcu_qsbr_thread_unregister() local 172 success = __atomic_compare_exchange( in rte_rcu_qsbr_thread_unregister() 177 if (success) in rte_rcu_qsbr_thread_unregister() 185 } while (success == 0); in rte_rcu_qsbr_thread_unregister()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_smr.c | 485 bool success; in smr_poll() local 499 success = true; in smr_poll() 549 success = false; in smr_poll() 570 success = SMR_SEQ_LEQ(goal, s_rd_seq); in smr_poll() 572 if (!success) in smr_poll() 582 return (success); in smr_poll()
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | liolib.c | 336 int success; in g_read() local 340 success = read_line(L, f); in g_read() 345 success = 1; in g_read() 346 for (n = first; nargs-- && success; n++) { in g_read() 349 success = (l == 0) ? test_eof(L, f) : read_chars(L, f, l); in g_read() 356 success = read_number(L, f); in g_read() 359 success = read_line(L, f); in g_read() 363 success = 1; /* always success */ in g_read() 373 if (!success) { in g_read()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | flow_classify_lib.rst | 54 * Handle to flow classifier instance on success or NULL otherwise 65 * 0 on success, error code otherwise 78 * 0 on success, error code otherwise 99 * 0 on success, error code otherwise 125 * A valid handle in case of success, NULL otherwise. 143 * 0 on success, error code otherwise. 164 * 0 on success, error code otherwise.
|
| /f-stack/freebsd/mips/mediatek/ |
| H A D | fdt_reset_if.m | 43 # Returns 0 on success or a standard errno value. 52 # Returns 0 on success or a standard errno value.
|