/linux-6.1.9/drivers/media/dvb-core/ |
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 …]
|
/linux-6.1.9/include/asm-generic/ |
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
|
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | circular-buffers.rst | 154 smp_store_release(buffer->head, 191 smp_store_release(buffer->tail, 203 用smp_store_release()来写入线程的索引。这记录了我们正在写入可以并发读取的内容的事
|
/linux-6.1.9/tools/include/asm/ |
D | barrier.h | 48 #ifndef smp_store_release 49 # define smp_store_release(p, v) \ macro
|
/linux-6.1.9/tools/memory-model/litmus-tests/ |
D | MP+pooncerelease+poacquireonce.litmus | 6 * This litmus test demonstrates that smp_store_release() and 16 smp_store_release(flag, 1);
|
D | WRC+pooncerelease+fencermbonceonce+Once.litmus | 9 * specifically, this litmus test is forbidden because smp_store_release() 25 smp_store_release(y, 1);
|
D | ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus | 19 smp_store_release(y, 1); 27 smp_store_release(z, 1);
|
D | Z6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus | 22 smp_store_release(y, 1); 30 smp_store_release(z, 1);
|
D | LB+poacquireonce+pooncerelease.litmus | 18 smp_store_release(y, 1);
|
/linux-6.1.9/drivers/net/netdevsim/ |
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()
|
/linux-6.1.9/fs/afs/ |
D | cell.c | 203 smp_store_release(&cell->dns_lookup_count, 1); /* vs source/status */ in afs_alloc_cell() 479 smp_store_release(&cell->dns_lookup_count, in afs_update_cell() 741 smp_store_release(&cell->state, AFS_CELL_REMOVED); in afs_manage_cell() 750 smp_store_release(&cell->state, AFS_CELL_UNSET); in afs_manage_cell() 755 smp_store_release(&cell->state, AFS_CELL_ACTIVATING); in afs_manage_cell() 764 smp_store_release(&cell->state, AFS_CELL_ACTIVE); in afs_manage_cell() 777 smp_store_release(&cell->state, AFS_CELL_DEACTIVATING); in afs_manage_cell() 785 smp_store_release(&cell->state, AFS_CELL_INACTIVE); in afs_manage_cell() 802 smp_store_release(&cell->state, AFS_CELL_FAILED); /* vs error */ in afs_manage_cell() 807 smp_store_release(&cell->state, AFS_CELL_ACTIVE); in afs_manage_cell()
|
/linux-6.1.9/net/rxrpc/ |
D | call_accept.c | 77 smp_store_release(&b->peer_backlog_head, in rxrpc_service_prealloc_one() 90 smp_store_release(&b->conn_backlog_head, in rxrpc_service_prealloc_one() 148 smp_store_release(&b->call_backlog_head, (call_head + 1) & (size - 1)); in rxrpc_service_prealloc_one() 297 smp_store_release(&b->peer_backlog_tail, in rxrpc_alloc_incoming_call() 307 smp_store_release(&b->conn_backlog_tail, in rxrpc_alloc_incoming_call() 320 smp_store_release(&b->call_backlog_tail, in rxrpc_alloc_incoming_call()
|
/linux-6.1.9/kernel/kcsan/ |
D | selftest.c | 157 KCSAN_CHECK_READ_BARRIER(smp_store_release(&test_var, 0)); in test_barrier() 186 KCSAN_CHECK_WRITE_BARRIER(smp_store_release(&test_var, 0)); in test_barrier() 218 KCSAN_CHECK_RW_BARRIER(smp_store_release(&test_var, 0)); in test_barrier()
|
/linux-6.1.9/arch/mips/include/asm/ |
D | spinlock.h | 25 smp_store_release(&lock->locked, 0); in queued_spin_unlock()
|
/linux-6.1.9/arch/arm/include/asm/ |
D | mcs_spinlock.h | 19 smp_store_release(lock, 1); \
|
/linux-6.1.9/tools/arch/ia64/include/asm/ |
D | barrier.h | 46 #define smp_store_release(p, v) \ macro
|
/linux-6.1.9/tools/arch/s390/include/asm/ |
D | barrier.h | 31 #define smp_store_release(p, v) \ macro
|
/linux-6.1.9/scripts/atomic/fallbacks/ |
D | set_release | 6 smp_store_release(&(v)->counter, i);
|
/linux-6.1.9/lib/ |
D | stackdepot.c | 113 smp_store_release(&next_slab_inited, 1); in init_stack_slab() 140 smp_store_release(&next_slab_inited, 0); in depot_alloc_stack() 491 smp_store_release(bucket, new); in __stack_depot_save()
|
/linux-6.1.9/tools/include/linux/ |
D | ring_buffer.h | 71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
|
/linux-6.1.9/tools/arch/powerpc/include/asm/ |
D | barrier.h | 33 #define smp_store_release(p, v) \ macro
|
/linux-6.1.9/tools/arch/sparc/include/asm/ |
D | barrier_64.h | 43 #define smp_store_release(p, v) \ macro
|
/linux-6.1.9/tools/memory-model/Documentation/ |
D | ordering.txt | 261 Release operations include smp_store_release(), atomic_set_release(), 266 For example, use of smp_store_release() saves a line compared to the 270 smp_store_release(&y, 1); 272 More important, smp_store_release() makes it easier to connect up the 274 by the smp_store_release(), in this case "y", will normally be used in 286 smp_store_release(), which still provides the needed ordering of "x" 287 against "y". On x86, the version using smp_store_release() might compile 295 smp_store_release(), but also atomic_set_release(), and 299 smp_store_release() except that: (1) It takes the pointer to 330 As with smp_store_release(), this also makes it easier to connect [all …]
|
/linux-6.1.9/tools/arch/x86/include/asm/ |
D | barrier.h | 33 #define smp_store_release(p, v) \ macro
|
/linux-6.1.9/net/unix/ |
D | unix_bpf.c | 123 smp_store_release(&unix_dgram_prot_saved, ops); in unix_dgram_bpf_check_needs_rebuild() 135 smp_store_release(&unix_stream_prot_saved, ops); in unix_stream_bpf_check_needs_rebuild()
|