Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/include/asm-generic/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/wireguard/
H A 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()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A 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()
/OK3568_Linux_fs/kernel/tools/memory-model/litmus-tests/
H A DMP+pooncerelease+poacquireonce.litmus7 * smp_load_acquire() provide sufficient ordering for the message-passing
24 r0 = smp_load_acquire(y);
H A DMP+polockonce+poacquiresilsil.litmus9 * the smp_load_acquire() executed before the lock was acquired (loosely
29 r1 = smp_load_acquire(x);
H A DMP+polockmbonce+poacquiresilsil.litmus9 * returns false and the second true, we know that the smp_load_acquire()
30 r1 = smp_load_acquire(x);
H A DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus26 r0 = smp_load_acquire(y);
35 r0 = smp_load_acquire(z);
H A DS+fencewmbonceonce+poacquireonce.litmus23 r0 = smp_load_acquire(y);
/OK3568_Linux_fs/kernel/tools/include/asm/
H A Dbarrier.h58 #ifndef smp_load_acquire
59 # define smp_load_acquire(p) \ macro
/OK3568_Linux_fs/kernel/drivers/net/netdevsim/
H A 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()
/OK3568_Linux_fs/kernel/lib/
H A Dstackdepot.c84 if (smp_load_acquire(&next_slab_inited)) in init_stack_slab()
281 found = find_stack(smp_load_acquire(bucket), entries, in stack_depot_save()
294 if (unlikely(!smp_load_acquire(&next_slab_inited))) { in stack_depot_save()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A 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()
/OK3568_Linux_fs/kernel/fs/crypto/
H A Dfscrypt_private.h384 return smp_load_acquire(&prep_key->blk_key) != NULL; in fscrypt_is_key_prepared()
385 return smp_load_acquire(&prep_key->tfm) != NULL; in fscrypt_is_key_prepared()
432 return smp_load_acquire(&prep_key->tfm) != NULL; in fscrypt_is_key_prepared()
/OK3568_Linux_fs/kernel/drivers/media/dvb-core/
H A 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()
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dmcs_spinlock.h13 while (!(smp_load_acquire(lock))) \
/OK3568_Linux_fs/kernel/scripts/atomic/fallbacks/
H A Dread_acquire5 return smp_load_acquire(&(v)->counter);
/OK3568_Linux_fs/kernel/tools/memory-model/Documentation/
H A Drecipes.txt216 Use of smp_store_release() and smp_load_acquire() is one way to force
228 r0 = smp_load_acquire(&y);
233 store, while the smp_load_acquire macro orders the load against any
246 use of smp_store_release() and smp_load_acquire(), except that both
291 and to use smp_load_acquire() instead of smp_rmb(). However, the older
421 r0 = smp_load_acquire(y);
427 r1 = smp_load_acquire(z);
435 example, ordering would still be preserved if CPU1()'s smp_load_acquire()
450 r0 = smp_load_acquire(y);
/OK3568_Linux_fs/kernel/tools/arch/ia64/include/asm/
H A Dbarrier.h52 #define smp_load_acquire(p) \ macro
/OK3568_Linux_fs/kernel/tools/arch/s390/include/asm/
H A Dbarrier.h37 #define smp_load_acquire(p) \ macro
/OK3568_Linux_fs/kernel/tools/arch/powerpc/include/asm/
H A Dbarrier.h39 #define smp_load_acquire(p) \ macro
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dring_buffer.h59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head()
/OK3568_Linux_fs/kernel/tools/arch/sparc/include/asm/
H A Dbarrier_64.h49 #define smp_load_acquire(p) \ macro
/OK3568_Linux_fs/kernel/tools/arch/x86/include/asm/
H A Dbarrier.h39 #define smp_load_acquire(p) \ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c301 cons_pos = smp_load_acquire(r->consumer_pos); in ringbuf_custom_process_ring()
304 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_custom_process_ring()
307 len = smp_load_acquire(len_ptr); in ringbuf_custom_process_ring()
/OK3568_Linux_fs/kernel/fs/
H A Dlocks.c254 ctx = smp_load_acquire(&inode->i_flctx); in locks_get_lock_context()
273 ctx = smp_load_acquire(&inode->i_flctx); in locks_get_lock_context()
783 if (!smp_load_acquire(&waiter->fl_blocker) && in locks_delete_block()
958 ctx = smp_load_acquire(&inode->i_flctx); in posix_test_lock()
1415 ctx = smp_load_acquire(&inode->i_flctx); in locks_mandatory_locked()
1622 ctx = smp_load_acquire(&inode->i_flctx); in __break_lease()
1727 ctx = smp_load_acquire(&inode->i_flctx); in lease_get_mtime()
1773 ctx = smp_load_acquire(&inode->i_flctx); in fcntl_getlease()
1959 ctx = smp_load_acquire(&inode->i_flctx); in generic_delete_lease()
2708 ctx = smp_load_acquire(&inode->i_flctx); in locks_remove_posix()
[all …]

123456