Home
last modified time | relevance | path

Searched refs:barrier (Results 1 – 18 of 18) sorted by relevance

/f-stack/freebsd/contrib/ck/src/
H A Dck_barrier_mcs.c38 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_mcs_init()
52 barrier[i].childnotready[j] = barrier[i].havechild[j]; in ck_barrier_mcs_init()
56 barrier[i].parent = (i == 0) ? in ck_barrier_mcs_init()
57 &barrier[i].dummy : in ck_barrier_mcs_init()
62 &barrier[i].dummy : in ck_barrier_mcs_init()
63 &barrier[(i << 1) + 1].parentsense; in ck_barrier_mcs_init()
66 &barrier[i].dummy : in ck_barrier_mcs_init()
67 &barrier[(i << 1) + 2].parentsense; in ck_barrier_mcs_init()
69 barrier[i].parentsense = 0; in ck_barrier_mcs_init()
80 state->vpid = ck_pr_faa_uint(&barrier->tid, 1); in ck_barrier_mcs_subscribe()
[all …]
H A Dck_barrier_dissemination.c43 barrier->nthr = nthr; in ck_barrier_dissemination_init()
45 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_dissemination_init()
48 barrier[i].flags[0] = barrier_internal[i]; in ck_barrier_dissemination_init()
49 barrier[i].flags[1] = barrier_internal[i] + size; in ck_barrier_dissemination_init()
67 barrier[i].flags[0][k].pflag = &barrier[j].flags[0][k].tflag; in ck_barrier_dissemination_init()
68 barrier[i].flags[1][k].pflag = &barrier[j].flags[1][k].tflag; in ck_barrier_dissemination_init()
71 barrier[i].flags[0][k].tflag = barrier[i].flags[1][k].tflag = 0; in ck_barrier_dissemination_init()
85 state->tid = ck_pr_faa_uint(&barrier->tid, 1); in ck_barrier_dissemination_subscribe()
101 unsigned int size = barrier->size; in ck_barrier_dissemination()
106 pflag = barrier[state->tid].flags[state->parity][i].pflag; in ck_barrier_dissemination()
[all …]
H A Dck_barrier_centralized.c32 ck_barrier_centralized(struct ck_barrier_centralized *barrier, in ck_barrier_centralized() argument
45 value = ck_pr_faa_uint(&barrier->value, 1); in ck_barrier_centralized()
47 ck_pr_store_uint(&barrier->value, 0); in ck_barrier_centralized()
49 ck_pr_store_uint(&barrier->sense, sense); in ck_barrier_centralized()
54 while (sense != ck_pr_load_uint(&barrier->sense)) in ck_barrier_centralized()
H A Dck_barrier_tournament.c50 ck_barrier_tournament_subscribe(struct ck_barrier_tournament *barrier, in ck_barrier_tournament_subscribe() argument
55 state->vpid = ck_pr_faa_uint(&barrier->tid, 1); in ck_barrier_tournament_subscribe()
60 ck_barrier_tournament_init(struct ck_barrier_tournament *barrier, in ck_barrier_tournament_init() argument
66 ck_pr_store_uint(&barrier->tid, 0); in ck_barrier_tournament_init()
67 barrier->size = size = ck_barrier_tournament_size(nthr); in ck_barrier_tournament_init()
97 ck_pr_store_ptr(&barrier->rounds, rounds); in ck_barrier_tournament_init()
109 ck_barrier_tournament(struct ck_barrier_tournament *barrier, in ck_barrier_tournament() argument
112 struct ck_barrier_tournament_round **rounds = ck_pr_load_ptr(&barrier->rounds); in ck_barrier_tournament()
115 if (barrier->size == 1) in ck_barrier_tournament()
H A Dck_barrier_combining.c158 ck_barrier_combining_aux(struct ck_barrier_combining *barrier, in ck_barrier_combining_aux() argument
173 ck_barrier_combining_aux(barrier, tnode->parent, sense); in ck_barrier_combining_aux()
197 ck_barrier_combining(struct ck_barrier_combining *barrier, in ck_barrier_combining() argument
202 ck_barrier_combining_aux(barrier, tnode, state->sense); in ck_barrier_combining()
/f-stack/freebsd/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c99 kmutex_t barrier; member
114 kmutex_t barrier; member
228 mutex_exit(&pool->barrier); in zstd_mempool_reap()
269 if (mutex_tryenter(&pool->barrier)) { in zstd_mempool_alloc()
280 mutex_exit(&pool->barrier); in zstd_mempool_alloc()
294 if (mutex_tryenter(&pool->barrier)) { in zstd_mempool_alloc()
318 mutex_exit(&pool->barrier); in zstd_mempool_alloc()
342 mutex_exit(&z->pool->barrier); in zstd_mempool_free()
600 mutex_enter(&zstd_dctx_fallback.barrier); in zstd_dctx_alloc()
637 mutex_exit(&zstd_dctx_fallback.barrier); in zstd_free()
[all …]
/f-stack/dpdk/lib/librte_eal/windows/include/
H A Dpthread.h37 #define pthread_barrier_init(barrier, attr, count) \ argument
38 InitializeSynchronizationBarrier(barrier, count, -1)
39 #define pthread_barrier_wait(barrier) EnterSynchronizationBarrier(barrier, \ argument
41 #define pthread_barrier_destroy(barrier) \ argument
42 DeleteSynchronizationBarrier(barrier)
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/linux/
H A Dcompiler.h84 #define barrier() __asm__ __volatile__("": : :"memory") macro
92 barrier(); \
94 barrier(); \
/f-stack/freebsd/contrib/ena-com/
H A Dena_plat.h408 #define barrier() __asm__ __volatile__("": : :"memory") macro
409 #define dma_rmb() barrier()
410 #define mmiowb() barrier()
415 barrier(); \
417 barrier(); \
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompat.h118 barrier(); \
121 barrier(); \
/f-stack/freebsd/tools/
H A Dbus_macro.sh52 macro barrier o l f
/f-stack/freebsd/contrib/device-tree/Bindings/arm/mstar/
H A Dmstar,l3bridge.yaml23 are and install a barrier that triggers the required pipeline flush.
/f-stack/dpdk/drivers/common/dpaax/
H A Dcompat.h185 #define barrier() { asm volatile ("" : : : "memory"); } macro
186 #define cpu_relax barrier
/f-stack/dpdk/doc/guides/rel_notes/
H A Ddeprecation.rst35 * rte_smp_*mb: These APIs provide full barrier functionality. However, many
37 adopt C11 barrier semantics and provide wrappers using C11 atomic built-ins.
H A Drelease_17_02.rst61 Weakly-ordered architectures like ARM need an additional I/O barrier for
65 does not have an additional I/O memory barrier, which is useful in accessing
/f-stack/dpdk/doc/guides/prog_guide/
H A Dwriting_efficient_code.rst214 are not allowed to move above the lock. In this case, the full memory barrier
218 section are not allowed to move below the unlock. So the full barrier in the
/f-stack/dpdk/doc/guides/nics/
H A Dmlx5.rst387 Except for vectorized Tx burst routines, a write memory barrier is enforced
391 When vectorized Tx burst is called, the barrier is set only if the burst size
713 memory (with write combining), the PMD will perform the extra write memory barrier
718 cached memory, the PMD will not perform the extra write memory barrier
723 memory, the PMD will use heuristics to decide whether write memory barrier
726 barrier (it is supposed to be issued in the next coming burst, at least after
/f-stack/freebsd/contrib/edk2/
H A DMdePkg.dec2122 # barrier. The default instruction sequence is LFENCE.<BR><BR>