Home
last modified time | relevance | path

Searched refs:smp_load_acquire (Results 1 – 25 of 130) sorted by relevance

123456

/kernel/linux/linux-5.10/include/asm-generic/
Dbarrier.h141 #ifndef smp_load_acquire
142 #define smp_load_acquire(p) __smp_load_acquire(p) macro
168 #ifndef smp_load_acquire
169 #define smp_load_acquire(p) \ macro
/kernel/linux/linux-5.10/tools/memory-model/litmus-tests/
DMP+pooncerelease+poacquireonce.litmus7 * smp_load_acquire() provide sufficient ordering for the message-passing
24 r0 = smp_load_acquire(y);
DMP+polockonce+poacquiresilsil.litmus9 * the smp_load_acquire() executed before the lock was acquired (loosely
29 r1 = smp_load_acquire(x);
DMP+polockmbonce+poacquiresilsil.litmus9 * returns false and the second true, we know that the smp_load_acquire()
30 r1 = smp_load_acquire(x);
DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus26 r0 = smp_load_acquire(y);
35 r0 = smp_load_acquire(z);
DS+fencewmbonceonce+poacquireonce.litmus23 r0 = smp_load_acquire(y);
DLB+poacquireonce+pooncerelease.litmus25 r0 = smp_load_acquire(y);
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.h58 #ifndef smp_load_acquire
59 # define smp_load_acquire(p) \ macro
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dqueueing.c81 struct sk_buff *tail = queue->tail, *next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue()
88 next = smp_load_acquire(&NEXT(next)); in wg_prev_queue_dequeue()
98 next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue()
/kernel/linux/linux-5.10/kernel/bpf/
Dringbuf.c267 cons_pos = smp_load_acquire(&rb->consumer_pos); in ringbuf_avail_data_sz()
268 prod_pos = smp_load_acquire(&rb->producer_pos); in ringbuf_avail_data_sz()
337 cons_pos = smp_load_acquire(&rb->consumer_pos); in __bpf_ringbuf_reserve()
409 cons_pos = smp_load_acquire(&rb->consumer_pos) & rb->mask; in bpf_ringbuf_commit()
483 return smp_load_acquire(&rb->consumer_pos); in BPF_CALL_2()
485 return smp_load_acquire(&rb->producer_pos); in BPF_CALL_2()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dbus.c106 if (!smp_load_acquire(&nsim_bus_dev->init)) in new_port_store()
135 if (!smp_load_acquire(&nsim_bus_dev->init)) in del_port_store()
210 if (!smp_load_acquire(&nsim_bus_enable)) { in new_device_store()
259 if (!smp_load_acquire(&nsim_bus_enable)) { in del_device_store()
/kernel/linux/linux-5.10/lib/
Dstackdepot.c83 if (smp_load_acquire(&next_slab_inited)) in init_stack_slab()
257 found = find_stack(smp_load_acquire(bucket), entries, in stack_depot_save()
270 if (unlikely(!smp_load_acquire(&next_slab_inited))) { in stack_depot_save()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dringbuf.c218 cons_pos = smp_load_acquire(r->consumer_pos); in ringbuf_process_ring()
221 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_process_ring()
224 len = smp_load_acquire(len_ptr); in ringbuf_process_ring()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dmcs_spinlock.h13 while (!(smp_load_acquire(lock))) \
/kernel/linux/linux-5.10/scripts/atomic/fallbacks/
Dread_acquire5 return smp_load_acquire(&(v)->counter);
/kernel/linux/linux-5.10/tools/arch/ia64/include/asm/
Dbarrier.h52 #define smp_load_acquire(p) \ macro
/kernel/linux/linux-5.10/fs/crypto/
Dfscrypt_private.h365 return smp_load_acquire(&prep_key->blk_key) != NULL; in fscrypt_is_key_prepared()
366 return smp_load_acquire(&prep_key->tfm) != NULL; in fscrypt_is_key_prepared()
400 return smp_load_acquire(&prep_key->tfm) != NULL; in fscrypt_is_key_prepared()
/kernel/linux/linux-5.10/tools/arch/s390/include/asm/
Dbarrier.h37 #define smp_load_acquire(p) \ macro
/kernel/linux/linux-5.10/tools/arch/sparc/include/asm/
Dbarrier_64.h49 #define smp_load_acquire(p) \ macro
/kernel/linux/linux-5.10/tools/include/linux/
Dring_buffer.h59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head()
/kernel/linux/linux-5.10/tools/arch/powerpc/include/asm/
Dbarrier.h39 #define smp_load_acquire(p) \ macro
/kernel/linux/linux-5.10/tools/arch/x86/include/asm/
Dbarrier.h39 #define smp_load_acquire(p) \ macro
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_cq.h23 #define RDMA_READ_UAPI_ATOMIC(member) smp_load_acquire(&(member).val)
/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvb_ringbuffer.c60 return (rbuf->pread == smp_load_acquire(&rbuf->pwrite)); in dvb_ringbuffer_empty()
90 avail = smp_load_acquire(&rbuf->pwrite) - rbuf->pread; in dvb_ringbuffer_avail()
106 smp_store_release(&rbuf->pread, smp_load_acquire(&rbuf->pwrite)); in dvb_ringbuffer_flush()

123456