Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/asm-generic/
Dbarrier.h137 #ifndef smp_store_release
138 #define smp_store_release(p, v) __smp_store_release(p, v) macro
159 #ifndef smp_store_release
160 #define smp_store_release(p, v) \ macro
/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-rb.c179 smp_store_release(&w_ctx->flags, PBLK_WRITABLE_ENTRY); in clean_wctx()
232 smp_store_release(&rb->subm, pblk_rb_ptr_wrap(rb, subm, nr_entries)); in pblk_rb_read_commit()
357 smp_store_release(&entry->w_ctx.flags, flags); in pblk_rb_write_entry_user()
383 smp_store_release(&entry->w_ctx.flags, flags); in pblk_rb_write_entry_gc()
408 smp_store_release(&rb->flush_point, flush_point); in pblk_rb_flush_point_set()
448 smp_store_release(&rb->mem, pblk_rb_ptr_wrap(rb, *pos, nr_entries)); in pblk_rb_may_write()
484 smp_store_release(&rb->mem, mem); in pblk_rb_may_write_flush()
595 smp_store_release(&entry->w_ctx.flags, flags); in pblk_rb_read_to_bio()
605 smp_store_release(&entry->w_ctx.flags, flags); in pblk_rb_read_to_bio()
613 smp_store_release(&entry->w_ctx.flags, flags); in pblk_rb_read_to_bio()
[all …]
/kernel/linux/linux-5.10/tools/memory-model/litmus-tests/
DMP+pooncerelease+poacquireonce.litmus6 * This litmus test demonstrates that smp_store_release() and
16 smp_store_release(y, 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);
DMP+fencewmbonceonce+fencermbonceonce.litmus8 * is usually better to use smp_store_release() and smp_load_acquire().
/kernel/linux/linux-5.10/tools/include/asm/
Dbarrier.h50 #ifndef smp_store_release
51 # define smp_store_release(p, v) \ macro
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dbus.c222 smp_store_release(&nsim_bus_dev->init, true); in new_device_store()
334 smp_store_release(&nsim_bus_dev->init, false); in nsim_bus_dev_new()
351 smp_store_release(&nsim_bus_dev->init, false); in nsim_bus_dev_del()
374 smp_store_release(&nsim_bus_enable, true); in nsim_bus_init()
387 smp_store_release(&nsim_bus_enable, false); in nsim_bus_exit()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dspinlock.h24 smp_store_release(&lock->lock, 0); in arch_spin_unlock()
132 smp_store_release(&lock->lock, 0); in arch_write_unlock()
/kernel/linux/linux-5.10/fs/afs/
Dcell.c201 smp_store_release(&cell->dns_lookup_count, 1); /* vs source/status */ in afs_alloc_cell()
477 smp_store_release(&cell->dns_lookup_count, in afs_update_cell()
754 smp_store_release(&cell->state, AFS_CELL_REMOVED); in afs_manage_cell()
763 smp_store_release(&cell->state, AFS_CELL_UNSET); in afs_manage_cell()
768 smp_store_release(&cell->state, AFS_CELL_ACTIVATING); in afs_manage_cell()
777 smp_store_release(&cell->state, AFS_CELL_ACTIVE); in afs_manage_cell()
790 smp_store_release(&cell->state, AFS_CELL_DEACTIVATING); in afs_manage_cell()
798 smp_store_release(&cell->state, AFS_CELL_INACTIVE); in afs_manage_cell()
815 smp_store_release(&cell->state, AFS_CELL_FAILED); /* vs error */ in afs_manage_cell()
820 smp_store_release(&cell->state, AFS_CELL_ACTIVE); in afs_manage_cell()
/kernel/linux/linux-5.10/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()
298 smp_store_release(&b->peer_backlog_tail, in rxrpc_alloc_incoming_call()
308 smp_store_release(&b->conn_backlog_tail, in rxrpc_alloc_incoming_call()
321 smp_store_release(&b->call_backlog_tail, in rxrpc_alloc_incoming_call()
/kernel/linux/linux-5.10/lib/
Dstackdepot.c98 smp_store_release(&next_slab_inited, 1); in init_stack_slab()
126 smp_store_release(&next_slab_inited, 0); in depot_alloc_stack()
297 smp_store_release(bucket, new); in stack_depot_save()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dspinlock.h26 smp_store_release(&lock->locked, 0); in queued_spin_unlock()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dmcs_spinlock.h19 smp_store_release(lock, 1); \
/kernel/linux/linux-5.10/scripts/atomic/fallbacks/
Dset_release5 smp_store_release(&(v)->counter, i);
/kernel/linux/linux-5.10/tools/arch/ia64/include/asm/
Dbarrier.h46 #define smp_store_release(p, v) \ macro
/kernel/linux/linux-5.10/tools/arch/s390/include/asm/
Dbarrier.h31 #define smp_store_release(p, v) \ macro
/kernel/linux/linux-5.10/tools/arch/sparc/include/asm/
Dbarrier_64.h43 #define smp_store_release(p, v) \ macro
/kernel/linux/linux-5.10/tools/include/linux/
Dring_buffer.h71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/kernel/linux/linux-5.10/tools/arch/powerpc/include/asm/
Dbarrier.h33 #define smp_store_release(p, v) \ macro
/kernel/linux/linux-5.10/tools/arch/x86/include/asm/
Dbarrier.h33 #define smp_store_release(p, v) \ macro
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_cq.h29 #define RDMA_WRITE_UAPI_ATOMIC(member, x) smp_store_release(&(member).val, x)

123456