Home
last modified time | relevance | path

Searched refs:smp_store_release (Results 1 – 25 of 196) sorted by relevance

12345678

/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_ringbuffer.c106 smp_store_release(&rbuf->pread, smp_load_acquire(&rbuf->pwrite)); in dvb_ringbuffer_flush()
116 smp_store_release(&rbuf->pread, 0); in dvb_ringbuffer_reset()
118 smp_store_release(&rbuf->pwrite, 0); in dvb_ringbuffer_reset()
148 smp_store_release(&rbuf->pread, 0); in dvb_ringbuffer_read_user()
154 smp_store_release(&rbuf->pread, (rbuf->pread + todo) % rbuf->size); in dvb_ringbuffer_read_user()
173 smp_store_release(&rbuf->pread, 0); in dvb_ringbuffer_read()
178 smp_store_release(&rbuf->pread, (rbuf->pread + todo) % rbuf->size); in dvb_ringbuffer_read()
198 smp_store_release(&rbuf->pwrite, 0); in dvb_ringbuffer_write()
202 smp_store_release(&rbuf->pwrite, (rbuf->pwrite + todo) % rbuf->size); in dvb_ringbuffer_write()
227 smp_store_release(&rbuf->pwrite, 0); in dvb_ringbuffer_write_user()
[all …]
/openbmc/linux/Documentation/litmus-tests/locking/
H A DDCL-fixed.litmus7 * reliable given proper use of smp_load_acquire() and smp_store_release()
28 smp_store_release(flag, 1);
47 smp_store_release(flag, 1);
/openbmc/linux/include/asm-generic/
H A Dbarrier.h171 #ifndef smp_store_release
172 #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) macro
193 #ifndef smp_store_release
194 #define smp_store_release(p, v) \ macro
/openbmc/linux/tools/include/asm/
H A Dbarrier.h48 #ifndef smp_store_release
49 # define smp_store_release(p, v) \ macro
/openbmc/linux/tools/memory-model/litmus-tests/
H A DMP+pooncerelease+poacquireonce.litmus6 * This litmus test demonstrates that smp_store_release() and
16 smp_store_release(flag, 1);
H A DWRC+pooncerelease+fencermbonceonce+Once.litmus9 * specifically, this litmus test is forbidden because smp_store_release()
25 smp_store_release(y, 1);
H A DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus19 smp_store_release(y, 1);
27 smp_store_release(z, 1);
H A DZ6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus22 smp_store_release(y, 1);
30 smp_store_release(z, 1);
H A DLB+poacquireonce+pooncerelease.litmus18 smp_store_release(y, 1);
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dcircular-buffers.rst154 smp_store_release(buffer->head,
191 smp_store_release(buffer->tail,
203smp_store_release()来写入线程的索引。这记录了我们正在写入可以并发读取的内容的事
/openbmc/linux/drivers/net/netdevsim/
H A Dbus.c174 smp_store_release(&nsim_bus_dev->init, true); in new_device_store()
288 smp_store_release(&nsim_bus_dev->init, false); in nsim_bus_dev_new()
308 smp_store_release(&nsim_bus_dev->init, false); in nsim_bus_dev_del()
330 smp_store_release(&nsim_bus_enable, true); in nsim_bus_init()
343 smp_store_release(&nsim_bus_enable, false); in nsim_bus_exit()
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_queue.h197 smp_store_release(&q->buf->producer_index, prod); in queue_advance_producer()
204 smp_store_release(&q->buf->producer_index, prod); in queue_advance_producer()
226 smp_store_release(&q->buf->consumer_index, cons); in queue_advance_consumer()
245 smp_store_release(&q->buf->consumer_index, cons); in queue_advance_consumer()
/openbmc/linux/fs/afs/
H A Dcell.c203 smp_store_release(&cell->dns_lookup_count, 1); /* vs source/status */ in afs_alloc_cell()
481 smp_store_release(&cell->dns_lookup_count, in afs_update_cell()
743 smp_store_release(&cell->state, AFS_CELL_REMOVED); in afs_manage_cell()
752 smp_store_release(&cell->state, AFS_CELL_UNSET); in afs_manage_cell()
757 smp_store_release(&cell->state, AFS_CELL_ACTIVATING); in afs_manage_cell()
766 smp_store_release(&cell->state, AFS_CELL_ACTIVE); in afs_manage_cell()
779 smp_store_release(&cell->state, AFS_CELL_DEACTIVATING); in afs_manage_cell()
787 smp_store_release(&cell->state, AFS_CELL_INACTIVE); in afs_manage_cell()
804 smp_store_release(&cell->state, AFS_CELL_FAILED); /* vs error */ in afs_manage_cell()
809 smp_store_release(&cell->state, AFS_CELL_ACTIVE); in afs_manage_cell()
/openbmc/linux/net/rxrpc/
H A Dcall_accept.c78 smp_store_release(&b->peer_backlog_head, in rxrpc_service_prealloc_one()
91 smp_store_release(&b->conn_backlog_head, in rxrpc_service_prealloc_one()
146 smp_store_release(&b->call_backlog_head, (call_head + 1) & (size - 1)); in rxrpc_service_prealloc_one()
279 smp_store_release(&b->peer_backlog_tail, in rxrpc_alloc_incoming_call()
289 smp_store_release(&b->conn_backlog_tail, in rxrpc_alloc_incoming_call()
303 smp_store_release(&b->call_backlog_tail, in rxrpc_alloc_incoming_call()
/openbmc/linux/kernel/kcsan/
H A Dselftest.c150 KCSAN_CHECK_READ_BARRIER(smp_store_release(&test_var, 0)); in test_barrier()
179 KCSAN_CHECK_WRITE_BARRIER(smp_store_release(&test_var, 0)); in test_barrier()
211 KCSAN_CHECK_RW_BARRIER(smp_store_release(&test_var, 0)); in test_barrier()
/openbmc/linux/arch/mips/include/asm/
H A Dspinlock.h25 smp_store_release(&lock->locked, 0); in queued_spin_unlock()
/openbmc/linux/arch/arm/include/asm/
H A Dmcs_spinlock.h19 smp_store_release(lock, 1); \
/openbmc/linux/scripts/atomic/fallbacks/
H A Dset_release3 smp_store_release(&(v)->counter, i);
/openbmc/linux/tools/arch/ia64/include/asm/
H A Dbarrier.h46 #define smp_store_release(p, v) \ macro
/openbmc/linux/tools/arch/s390/include/asm/
H A Dbarrier.h31 #define smp_store_release(p, v) \ macro
/openbmc/linux/tools/include/linux/
H A Dring_buffer.h71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/openbmc/linux/tools/arch/sparc/include/asm/
H A Dbarrier_64.h43 #define smp_store_release(p, v) \ macro
/openbmc/linux/tools/arch/powerpc/include/asm/
H A Dbarrier.h33 #define smp_store_release(p, v) \ macro
/openbmc/linux/tools/arch/x86/include/asm/
H A Dbarrier.h33 #define smp_store_release(p, v) \ macro
/openbmc/linux/lib/
H A Dstackdepot.c254 smp_store_release(&next_pool_required, 0); in depot_init_pool()
289 smp_store_release(&next_pool_required, 1); in depot_alloc_stack()
428 smp_store_release(bucket, new); in __stack_depot_save()

12345678