/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvb_ringbuffer.c | 106 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 D | DCL-fixed.litmus | 7 * 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 D | barrier.h | 171 #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 D | barrier.h | 48 #ifndef smp_store_release 49 # define smp_store_release(p, v) \ macro
|
/openbmc/linux/tools/memory-model/litmus-tests/ |
H A D | MP+pooncerelease+poacquireonce.litmus | 6 * This litmus test demonstrates that smp_store_release() and 16 smp_store_release(flag, 1);
|
H A D | WRC+pooncerelease+fencermbonceonce+Once.litmus | 9 * specifically, this litmus test is forbidden because smp_store_release() 25 smp_store_release(y, 1);
|
H A D | ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus | 19 smp_store_release(y, 1); 27 smp_store_release(z, 1);
|
H A D | Z6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus | 22 smp_store_release(y, 1); 30 smp_store_release(z, 1);
|
H A D | LB+poacquireonce+pooncerelease.litmus | 18 smp_store_release(y, 1);
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | circular-buffers.rst | 154 smp_store_release(buffer->head, 191 smp_store_release(buffer->tail, 203 用smp_store_release()来写入线程的索引。这记录了我们正在写入可以并发读取的内容的事
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | bus.c | 174 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 D | rxe_queue.h | 197 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 D | cell.c | 203 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 D | call_accept.c | 78 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 D | selftest.c | 150 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 D | spinlock.h | 25 smp_store_release(&lock->locked, 0); in queued_spin_unlock()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | mcs_spinlock.h | 19 smp_store_release(lock, 1); \
|
/openbmc/linux/scripts/atomic/fallbacks/ |
H A D | set_release | 3 smp_store_release(&(v)->counter, i);
|
/openbmc/linux/tools/arch/ia64/include/asm/ |
H A D | barrier.h | 46 #define smp_store_release(p, v) \ macro
|
/openbmc/linux/tools/arch/s390/include/asm/ |
H A D | barrier.h | 31 #define smp_store_release(p, v) \ macro
|
/openbmc/linux/tools/include/linux/ |
H A D | ring_buffer.h | 71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
|
/openbmc/linux/tools/arch/sparc/include/asm/ |
H A D | barrier_64.h | 43 #define smp_store_release(p, v) \ macro
|
/openbmc/linux/tools/arch/powerpc/include/asm/ |
H A D | barrier.h | 33 #define smp_store_release(p, v) \ macro
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | barrier.h | 33 #define smp_store_release(p, v) \ macro
|
/openbmc/linux/lib/ |
H A D | stackdepot.c | 254 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()
|