/openbmc/linux/Documentation/litmus-tests/locking/ |
H A D | DCL-fixed.litmus | 7 * reliable given proper use of smp_load_acquire() and smp_store_release() 22 r0 = smp_load_acquire(flag); 41 r0 = smp_load_acquire(flag);
|
/openbmc/linux/include/asm-generic/ |
H A D | barrier.h | 175 #ifndef smp_load_acquire 176 #define smp_load_acquire(p) __smp_load_acquire(p) macro 202 #ifndef smp_load_acquire 203 #define smp_load_acquire(p) \ macro
|
/openbmc/linux/tools/include/asm/ |
H A D | barrier.h | 56 #ifndef smp_load_acquire 57 # define smp_load_acquire(p) \ macro
|
/openbmc/linux/tools/memory-model/litmus-tests/ |
H A D | MP+pooncerelease+poacquireonce.litmus | 7 * smp_load_acquire() provide sufficient ordering for the message-passing 24 r0 = smp_load_acquire(flag);
|
H A D | MP+polockonce+poacquiresilsil.litmus | 9 * the smp_load_acquire() executed before the lock was acquired (loosely 28 r1 = smp_load_acquire(x);
|
H A D | MP+polockmbonce+poacquiresilsil.litmus | 9 * returns false and the second true, we know that the smp_load_acquire() 29 r1 = smp_load_acquire(x);
|
H A D | ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus | 26 r0 = smp_load_acquire(y); 35 r0 = smp_load_acquire(z);
|
H A D | S+fencewmbonceonce+poacquireonce.litmus | 23 r0 = smp_load_acquire(y);
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | circular-buffers.rst | 180 unsigned long head = smp_load_acquire(buffer->head); 200 请注意,使用READ_ONCE()和smp_load_acquire()来读取反向(head)索引。这可以防止编译 202 的。smp_load_acquire()还可以强制CPU对后续的内存引用进行排序。类似地,两种算法都使
|
/openbmc/linux/drivers/net/wireguard/ |
H A D | queueing.c | 82 struct sk_buff *tail = queue->tail, *next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue() 89 next = smp_load_acquire(&NEXT(next)); in wg_prev_queue_dequeue() 99 next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue()
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_queue.h | 108 prod = smp_load_acquire(&q->buf->producer_index); in queue_get_producer() 120 prod = smp_load_acquire(&q->buf->producer_index); in queue_get_producer() 139 cons = smp_load_acquire(&q->buf->consumer_index); in queue_get_consumer() 143 cons = smp_load_acquire(&q->buf->consumer_index); in queue_get_consumer()
|
/openbmc/linux/include/linux/ |
H A D | freelist.h | 81 struct freelist_node *prev, *next, *head = smp_load_acquire(&list->head); in freelist_try_get() 89 head = smp_load_acquire(&list->head); in freelist_try_get()
|
/openbmc/linux/kernel/bpf/ |
H A D | ringbuf.c | 303 cons_pos = smp_load_acquire(&rb->consumer_pos); in ringbuf_avail_data_sz() 304 prod_pos = smp_load_acquire(&rb->producer_pos); in ringbuf_avail_data_sz() 421 cons_pos = smp_load_acquire(&rb->consumer_pos); in __bpf_ringbuf_reserve() 509 cons_pos = smp_load_acquire(&rb->consumer_pos) & rb->mask; in bpf_ringbuf_commit() 583 return smp_load_acquire(&rb->consumer_pos); in BPF_CALL_2() 585 return smp_load_acquire(&rb->producer_pos); in BPF_CALL_2() 683 prod_pos = smp_load_acquire(&rb->producer_pos); in __bpf_user_ringbuf_peek() 688 cons_pos = smp_load_acquire(&rb->consumer_pos); in __bpf_user_ringbuf_peek() 694 hdr_len = smp_load_acquire(hdr); in __bpf_user_ringbuf_peek()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | bus.c | 69 if (!smp_load_acquire(&nsim_bus_dev->init)) in new_port_store() 90 if (!smp_load_acquire(&nsim_bus_dev->init)) in del_port_store() 162 if (!smp_load_acquire(&nsim_bus_enable)) { in new_device_store() 211 if (!smp_load_acquire(&nsim_bus_enable)) { in del_device_store()
|
/openbmc/linux/drivers/tty/ |
H A D | tty_buffer.c | 233 while ((next = smp_load_acquire(&buf->head->next)) != NULL) { in tty_buffer_flush() 410 next = smp_load_acquire(&head->next); in lookahead_bufs() 415 count = smp_load_acquire(&head->commit) - head->lookahead; in lookahead_bufs() 482 next = smp_load_acquire(&head->next); in flush_to_ldisc() 486 count = smp_load_acquire(&head->commit) - head->read; in flush_to_ldisc()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | mcs_spinlock.h | 13 while (!(smp_load_acquire(lock))) \
|
/openbmc/linux/tools/lib/bpf/ |
H A D | ringbuf.c | 236 cons_pos = smp_load_acquire(r->consumer_pos); in ringbuf_process_ring() 239 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_process_ring() 242 len = smp_load_acquire(len_ptr); in ringbuf_process_ring() 496 cons_pos = smp_load_acquire(rb->consumer_pos); in user_ring_buffer__reserve() 498 prod_pos = smp_load_acquire(rb->producer_pos); in user_ring_buffer__reserve()
|
/openbmc/linux/scripts/atomic/fallbacks/ |
H A D | read_acquire | 5 ret = smp_load_acquire(&(v)->counter);
|
/openbmc/linux/tools/arch/ia64/include/asm/ |
H A D | barrier.h | 52 #define smp_load_acquire(p) \ macro
|
/openbmc/linux/tools/arch/s390/include/asm/ |
H A D | barrier.h | 37 #define smp_load_acquire(p) \ macro
|
/openbmc/linux/tools/include/linux/ |
H A D | ring_buffer.h | 59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head()
|
/openbmc/linux/tools/arch/sparc/include/asm/ |
H A D | barrier_64.h | 49 #define smp_load_acquire(p) \ macro
|
/openbmc/linux/tools/arch/powerpc/include/asm/ |
H A D | barrier.h | 39 #define smp_load_acquire(p) \ macro
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | barrier.h | 39 #define smp_load_acquire(p) \ macro
|
/openbmc/linux/net/rxrpc/ |
H A D | txbuf.c | 108 rxrpc_seq_t hard_ack = smp_load_acquire(&call->acks_hard_ack); in rxrpc_shrink_call_tx_buffer() 115 hard_ack = smp_load_acquire(&call->acks_hard_ack); in rxrpc_shrink_call_tx_buffer()
|