Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/drivers/media/dvb-core/
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 …]
/linux-6.1.9/include/asm-generic/
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
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dcircular-buffers.rst154 smp_store_release(buffer->head,
191 smp_store_release(buffer->tail,
203smp_store_release()来写入线程的索引。这记录了我们正在写入可以并发读取的内容的事
/linux-6.1.9/tools/include/asm/
Dbarrier.h48 #ifndef smp_store_release
49 # define smp_store_release(p, v) \ macro
/linux-6.1.9/tools/memory-model/litmus-tests/
DMP+pooncerelease+poacquireonce.litmus6 * This litmus test demonstrates that smp_store_release() and
16 smp_store_release(flag, 1);
DWRC+pooncerelease+fencermbonceonce+Once.litmus9 * specifically, this litmus test is forbidden because smp_store_release()
25 smp_store_release(y, 1);
DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus19 smp_store_release(y, 1);
27 smp_store_release(z, 1);
DZ6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus22 smp_store_release(y, 1);
30 smp_store_release(z, 1);
DLB+poacquireonce+pooncerelease.litmus18 smp_store_release(y, 1);
/linux-6.1.9/drivers/net/netdevsim/
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()
/linux-6.1.9/fs/afs/
Dcell.c203 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/
Dcall_accept.c77 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/
Dselftest.c157 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/
Dspinlock.h25 smp_store_release(&lock->locked, 0); in queued_spin_unlock()
/linux-6.1.9/arch/arm/include/asm/
Dmcs_spinlock.h19 smp_store_release(lock, 1); \
/linux-6.1.9/tools/arch/ia64/include/asm/
Dbarrier.h46 #define smp_store_release(p, v) \ macro
/linux-6.1.9/tools/arch/s390/include/asm/
Dbarrier.h31 #define smp_store_release(p, v) \ macro
/linux-6.1.9/scripts/atomic/fallbacks/
Dset_release6 smp_store_release(&(v)->counter, i);
/linux-6.1.9/lib/
Dstackdepot.c113 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/
Dring_buffer.h71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/linux-6.1.9/tools/arch/powerpc/include/asm/
Dbarrier.h33 #define smp_store_release(p, v) \ macro
/linux-6.1.9/tools/arch/sparc/include/asm/
Dbarrier_64.h43 #define smp_store_release(p, v) \ macro
/linux-6.1.9/tools/memory-model/Documentation/
Dordering.txt261 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/
Dbarrier.h33 #define smp_store_release(p, v) \ macro
/linux-6.1.9/net/unix/
Dunix_bpf.c123 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()

1234567