Home
last modified time | relevance | path

Searched refs:READ_ONCE (Results 1 – 25 of 67) sorted by relevance

123

/include/clocksource/
Dhyperv_timer.h60 sequence = READ_ONCE(tsc_pg->tsc_sequence); in hv_read_tsc_page_tsc()
69 scale = READ_ONCE(tsc_pg->tsc_scale); in hv_read_tsc_page_tsc()
70 offset = READ_ONCE(tsc_pg->tsc_offset); in hv_read_tsc_page_tsc()
79 } while (READ_ONCE(tsc_pg->tsc_sequence) != sequence); in hv_read_tsc_page_tsc()
/include/linux/
Dsrcutiny.h62 idx = READ_ONCE(ssp->srcu_idx); in __srcu_read_lock()
83 idx = READ_ONCE(ssp->srcu_idx) & 0x1; in srcu_torture_stats_print()
86 READ_ONCE(ssp->srcu_lock_nesting[!idx]), in srcu_torture_stats_print()
87 READ_ONCE(ssp->srcu_lock_nesting[idx])); in srcu_torture_stats_print()
Ddynamic_queue_limits.h92 return READ_ONCE(dql->adj_limit) - READ_ONCE(dql->num_queued); in dql_avail()
Drcu_sync.h36 return !READ_ONCE(rsp->gp_state); /* GP_IDLE */ in rcu_sync_is_idle()
Drcupdate.h135 if (READ_ONCE((t)->rcu_tasks_holdout)) \
312 typeof(*p) *_________p1 = (typeof(*p) *__force)READ_ONCE(p); \
319 typeof(*p) *________p1 = (typeof(*p) *__force)READ_ONCE(p); \
333 typeof(p) ________p1 = READ_ONCE(p); \
889 rcu_callback_t func = READ_ONCE(rhp->func); in rcu_head_after_call_rcu()
Dseqlock.h113 ret = READ_ONCE(s->sequence); in __read_seqcount_begin()
132 unsigned ret = READ_ONCE(s->sequence); in raw_read_seqcount()
184 unsigned ret = READ_ONCE(s->sequence); in raw_seqcount_begin()
282 int seq = READ_ONCE(s->sequence); /* ^^^ */ in raw_read_seqcount_latch()
Daverage.h56 unsigned long internal = READ_ONCE(e->internal); \
Drculist.h296 container_of(READ_ONCE(ptr), type, member)
334 struct list_head *__next = READ_ONCE(__ptr->next); \
354 struct list_head *__next = READ_ONCE(__ptr->next); \
390 container_of((typeof(ptr))READ_ONCE(ptr), type, member)
Dtpm_eventlog.h198 count = READ_ONCE(event->count); in __calc_tpm2_event_size()
199 event_type = READ_ONCE(event->event_type); in __calc_tpm2_event_size()
Dbitops.h252 old__ = READ_ONCE(*(ptr)); \
267 old__ = READ_ONCE(*(ptr)); \
Dfsverity.h114 return READ_ONCE(inode->i_verity_info); in fsverity_get_info()
Dllist.h189 return READ_ONCE(head->first) == NULL; in llist_empty()
Dlist_nulls.h66 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty()
/include/net/
Dbusy_poll.h74 unsigned long bp_usec = READ_ONCE(sysctl_net_busy_poll); in busy_loop_timeout()
90 unsigned long bp_usec = READ_ONCE(sk->sk_ll_usec); in sk_busy_loop_timeout()
105 unsigned int napi_id = READ_ONCE(sk->sk_napi_id); in sk_busy_loop()
135 if (!READ_ONCE(sk->sk_napi_id)) in sk_mark_napi_id_once()
Darp.h60 if (READ_ONCE(n->confirmed) != now) in __ipv4_confirm_neigh()
Dsock.h543 return READ_ONCE(sk->sk_peek_off); in sk_peek_offset()
551 s32 off = READ_ONCE(sk->sk_peek_off); in sk_peek_offset_bwd()
886 return READ_ONCE(sk->sk_wmem_queued) >> 1; in sk_stream_min_wspace()
891 return READ_ONCE(sk->sk_sndbuf) - READ_ONCE(sk->sk_wmem_queued); in sk_stream_wspace()
962 if (unlikely(READ_ONCE(sk->sk_incoming_cpu) != cpu)) in sk_incoming_cpu_update()
1041 if (unlikely(READ_ONCE(sk->sk_backlog.tail))) { in sk_flush_backlog()
1220 if (READ_ONCE(sk->sk_wmem_queued) >= READ_ONCE(sk->sk_sndbuf)) in __sk_stream_memory_free()
1948 if (!READ_ONCE(sk->sk_dst_pending_confirm)) in sk_dst_confirm()
1959 if (READ_ONCE(n->confirmed) != now) in sock_confirm_neigh()
1961 if (sk && READ_ONCE(sk->sk_dst_pending_confirm)) in sock_confirm_neigh()
[all …]
/include/drm/
Dspsc_queue.h96 node = READ_ONCE(queue->head); in spsc_queue_pop()
101 next = READ_ONCE(node->next); in spsc_queue_pop()
112 } while (unlikely(!(queue->head = READ_ONCE(node->next)))); in spsc_queue_pop()
/include/vdso/
Dhelpers.h13 while ((seq = READ_ONCE(vd->seq)) & 1) in vdso_read_begin()
26 seq = READ_ONCE(vd->seq); in vdso_read_retry()
/include/asm-generic/bitops/
Dlock.h25 if (READ_ONCE(*p) & mask) in test_and_set_bit_lock()
63 old = READ_ONCE(*p); in __clear_bit_unlock()
Datomic.h38 if (READ_ONCE(*p) & mask) in test_and_set_bit()
51 if (!(READ_ONCE(*p) & mask)) in test_and_clear_bit()
/include/asm-generic/
Dbarrier.h131 typeof(*p) ___p1 = READ_ONCE(*p); \
186 typeof(*p) ___p1 = READ_ONCE(*p); \
234 VAL = READ_ONCE(*__PTR); \
Dpreempt.h11 return READ_ONCE(current_thread_info()->preempt_count); in preempt_count()
/include/net/tc_act/
Dtc_gact.h59 return READ_ONCE(a->tcfa_action) & TC_ACT_EXT_VAL_MASK; in tcf_gact_goto_chain_index()
/include/trace/events/
Dsock.h85 __entry->sk_rcvbuf = READ_ONCE(sk->sk_rcvbuf);
118 __entry->wmem_queued = READ_ONCE(sk->sk_wmem_queued);
/include/linux/sched/
Dcputime.h87 if (!READ_ONCE(tsk->signal->posix_cputimers.timers_active)) in get_running_cputimer()

123