/kernel/linux/linux-5.10/include/asm-generic/ |
D | barrier.h | 141 #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/ |
D | MP+pooncerelease+poacquireonce.litmus | 7 * smp_load_acquire() provide sufficient ordering for the message-passing 24 r0 = smp_load_acquire(y);
|
D | MP+polockonce+poacquiresilsil.litmus | 9 * the smp_load_acquire() executed before the lock was acquired (loosely 29 r1 = smp_load_acquire(x);
|
D | MP+polockmbonce+poacquiresilsil.litmus | 9 * returns false and the second true, we know that the smp_load_acquire() 30 r1 = smp_load_acquire(x);
|
D | ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus | 26 r0 = smp_load_acquire(y); 35 r0 = smp_load_acquire(z);
|
D | S+fencewmbonceonce+poacquireonce.litmus | 23 r0 = smp_load_acquire(y);
|
D | LB+poacquireonce+pooncerelease.litmus | 25 r0 = smp_load_acquire(y);
|
D | MP+fencewmbonceonce+fencermbonceonce.litmus | 8 * is usually better to use smp_store_release() and smp_load_acquire().
|
/kernel/linux/linux-5.10/tools/include/asm/ |
D | barrier.h | 58 #ifndef smp_load_acquire 59 # define smp_load_acquire(p) \ macro
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | queueing.c | 81 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/ |
D | ringbuf.c | 267 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/ |
D | bus.c | 106 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/ |
D | stackdepot.c | 83 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/ |
D | ringbuf.c | 218 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/ |
D | mcs_spinlock.h | 13 while (!(smp_load_acquire(lock))) \
|
/kernel/linux/linux-5.10/scripts/atomic/fallbacks/ |
D | read_acquire | 5 return smp_load_acquire(&(v)->counter);
|
/kernel/linux/linux-5.10/tools/arch/ia64/include/asm/ |
D | barrier.h | 52 #define smp_load_acquire(p) \ macro
|
/kernel/linux/linux-5.10/fs/crypto/ |
D | fscrypt_private.h | 365 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/ |
D | barrier.h | 37 #define smp_load_acquire(p) \ macro
|
/kernel/linux/linux-5.10/tools/arch/sparc/include/asm/ |
D | barrier_64.h | 49 #define smp_load_acquire(p) \ macro
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | ring_buffer.h | 59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head()
|
/kernel/linux/linux-5.10/tools/arch/powerpc/include/asm/ |
D | barrier.h | 39 #define smp_load_acquire(p) \ macro
|
/kernel/linux/linux-5.10/tools/arch/x86/include/asm/ |
D | barrier.h | 39 #define smp_load_acquire(p) \ macro
|
/kernel/linux/linux-5.10/include/rdma/ |
D | rdmavt_cq.h | 23 #define RDMA_READ_UAPI_ATOMIC(member) smp_load_acquire(&(member).val)
|
/kernel/linux/linux-5.10/drivers/media/dvb-core/ |
D | dvb_ringbuffer.c | 60 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()
|