Home
last modified time | relevance | path

Searched refs:data_race (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/linux/kernel/rcu/
H A Dtree_stall.h582 data_race(rcu_state.gp_flags), in rcu_check_gp_kthread_expired_fqs_timer()
584 data_race(READ_ONCE(gpk->__state))); in rcu_check_gp_kthread_expired_fqs_timer()
850 if (data_race(READ_ONCE(rnp->qsmask))) { in rcu_check_boost_fail()
905 data_race(READ_ONCE(rcu_state.gp_state)), in show_rcu_gp_kthreads()
910 data_race(READ_ONCE(rcu_state.gp_max)), in show_rcu_gp_kthreads()
911 data_race(READ_ONCE(rcu_state.gp_flags))); in show_rcu_gp_kthreads()
914 !data_race(READ_ONCE(rnp->qsmask)) && !data_race(READ_ONCE(rnp->boost_tasks)) && in show_rcu_gp_kthreads()
915 !data_race(READ_ONCE(rnp->exp_tasks)) && !data_race(READ_ONCE(rnp->gp_tasks))) in show_rcu_gp_kthreads()
919 (long)data_race(READ_ONCE(rnp->gp_seq)), in show_rcu_gp_kthreads()
921 data_race(READ_ONCE(rnp->qsmask)), in show_rcu_gp_kthreads()
[all …]
H A Dtasks.h302 rtp->name, data_race(rtp->percpu_enqueue_shift), data_race(rtp->percpu_enqueue_lim), in cblist_init_generic()
732 if (data_race(rtpcp->urgent_gp)) in show_rcu_tasks_generic_gp_kthread()
734 if (!data_race(rcu_segcblist_empty(&rtpcp->cblist)) && data_race(rtpcp->urgent_gp)) in show_rcu_tasks_generic_gp_kthread()
742 jiffies - data_race(rtp->gp_jiffies), in show_rcu_tasks_generic_gp_kthread()
743 data_race(rcu_seq_current(&rtp->tasks_gp_seq)), in show_rcu_tasks_generic_gp_kthread()
744 data_race(rtp->n_ipis_fails), data_race(rtp->n_ipis), in show_rcu_tasks_generic_gp_kthread()
745 ".k"[!!data_race(rtp->kthread_ptr)], in show_rcu_tasks_generic_gp_kthread()
1983 data_race(n_trc_holdouts), in show_rcu_tasks_trace_gp_kthread()
1984 data_race(n_heavy_reader_ofl_updates), in show_rcu_tasks_trace_gp_kthread()
1985 data_race(n_heavy_reader_updates), in show_rcu_tasks_trace_gp_kthread()
[all …]
H A Dtree_exp.h655 "D."[!!data_race(rdp->cpu_no_qs.b.exp)]); in synchronize_rcu_expedited_wait()
660 data_race(rnp_root->expmask), in synchronize_rcu_expedited_wait()
661 ".T"[!!data_race(rnp_root->exp_tasks)]); in synchronize_rcu_expedited_wait()
671 data_race(rnp->expmask), in synchronize_rcu_expedited_wait()
672 ".T"[!!data_race(rnp->exp_tasks)]); in synchronize_rcu_expedited_wait()
H A Dsrcutree.c1863 u0 = data_race(atomic_long_read(&sdp->srcu_unlock_count[!idx])); in srcu_torture_stats_print()
1864 u1 = data_race(atomic_long_read(&sdp->srcu_unlock_count[idx])); in srcu_torture_stats_print()
1872 l0 = data_race(atomic_long_read(&sdp->srcu_lock_count[!idx])); in srcu_torture_stats_print()
1873 l1 = data_race(atomic_long_read(&sdp->srcu_lock_count[idx])); in srcu_torture_stats_print()
/openbmc/linux/include/linux/
H A Dsrcutiny.h88 idx = ((data_race(READ_ONCE(ssp->srcu_idx)) + 1) & 0x2) >> 1; in srcu_torture_stats_print()
91 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])), in srcu_torture_stats_print()
92 data_race(READ_ONCE(ssp->srcu_lock_nesting[idx])), in srcu_torture_stats_print()
93 data_race(READ_ONCE(ssp->srcu_idx)), in srcu_torture_stats_print()
94 data_race(READ_ONCE(ssp->srcu_idx_max))); in srcu_torture_stats_print()
H A Dcompiler.h195 #define data_race(expr) \ macro
H A Dconsole.h260 return data_race(READ_ONCE(con->flags)); in console_srcu_read_flags()
/openbmc/linux/tools/memory-model/Documentation/
H A Daccess-marking.txt19 2. Data-race marking, for example, "data_race(a = b);"
31 WRITE_ONCE(a, b + data_race(c + d) + READ_ONCE(e));
58 Use of the data_race() Macro
93 data_race(READ_ONCE(a)).
138 instead of data_race().
226 write is marked with data_race() or WRITE_ONCE().
231 of these data_race() writes.
275 pr_info("Current value of foo: %d\n", data_race(foo));
371 if (!data_race(global_flag)) {
535 newold = data_race(foo); /* Checked by cmpxchg(). */
[all …]
/openbmc/linux/security/tomoyo/
H A Dutil.c1069 perm = data_race(container_of(ptr, struct tomoyo_path_acl, head)->perm); in tomoyo_domain_quota_is_ok()
1072 perm = data_race(container_of(ptr, struct tomoyo_path2_acl, head)->perm); in tomoyo_domain_quota_is_ok()
1075 perm = data_race(container_of(ptr, struct tomoyo_path_number_acl, head) in tomoyo_domain_quota_is_ok()
1079 perm = data_race(container_of(ptr, struct tomoyo_mkdev_acl, head)->perm); in tomoyo_domain_quota_is_ok()
1082 perm = data_race(container_of(ptr, struct tomoyo_inet_acl, head)->perm); in tomoyo_domain_quota_is_ok()
1085 perm = data_race(container_of(ptr, struct tomoyo_unix_acl, head)->perm); in tomoyo_domain_quota_is_ok()
/openbmc/linux/arch/powerpc/kernel/
H A Dinterrupt.c167 if (!data_race(warned)) { in check_return_regs_valid()
168 data_race(warned = true); in check_return_regs_valid()
/openbmc/linux/kernel/locking/
H A Dosq_lock.c161 if (data_race(prev->next) == node && in osq_lock()
H A Dlocktorture.c905 long max = 0, min = statp ? data_race(statp[0].n_lock_acquired) : 0; in __torture_print_stats()
910 if (data_race(statp[i].n_lock_fail)) in __torture_print_stats()
912 cur = data_race(statp[i].n_lock_acquired); in __torture_print_stats()
/openbmc/linux/fs/btrfs/
H A Dblock-rsv.h101 return data_race(rsv->full); in btrfs_block_rsv_full()
/openbmc/linux/mm/
H A Dpage_counter.c127 data_race(c->failcnt++); in page_counter_try_charge()
H A Dpage_io.c381 if (data_race(sis->flags & SWP_FS_OPS)) in __swap_writepage()
519 } else if (data_race(sis->flags & SWP_FS_OPS)) { in swap_readpage()
H A Dswap.c656 if (data_race(folio_batch_count(fbatch))) { in lru_add_drain_cpu()
796 data_race(folio_batch_count(&per_cpu(lru_rotate.fbatch, cpu))) || in cpu_needs_drain()
/openbmc/linux/lib/
H A Dgroup_cpus.c383 cpumask_copy(npresmsk, data_race(cpu_present_mask)); in group_cpus_evenly()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dwmi.c159 if (!data_race(priv->initialized)) { in ath9k_wmi_event_tasklet()
/openbmc/linux/kernel/irq/
H A Dirqdesc.c979 return data_race(desc->tot_count); in kstat_irqs()
982 sum += data_race(*per_cpu_ptr(desc->kstat_irqs, cpu)); in kstat_irqs()
H A Dproc.c493 any_count |= data_race(*per_cpu_ptr(desc->kstat_irqs, j)); in show_interrupts()
/openbmc/linux/mm/kfence/
H A Dcore.c1185 distance = addr - data_race(meta->addr + meta->size); in kfence_handle_page_fault()
1191 if (!to_report || distance > data_race(meta->addr) - addr) in kfence_handle_page_fault()
/openbmc/linux/kernel/cgroup/
H A Drstat.c42 if (data_race(cgroup_rstat_cpu(cgrp, cpu)->updated_next)) in cgroup_rstat_updated()
/openbmc/linux/net/9p/
H A Dtrans_fd.c843 data_race(ts->rd->f_flags |= O_NONBLOCK); in p9_fd_open()
849 data_race(ts->wr->f_flags |= O_NONBLOCK); in p9_fd_open()
/openbmc/linux/fs/jbd2/
H A Dtransaction.c348 if (!data_race(journal->j_running_transaction)) { in start_this_handle()
1495 if (data_race(jh->b_transaction != transaction && in jbd2_journal_dirty_metadata()
1504 if (data_race(jh->b_transaction == transaction && in jbd2_journal_dirty_metadata()
/openbmc/linux/kernel/time/
H A Dtimekeeping.c536 return (ktime_get_mono_fast_ns() + ktime_to_ns(data_race(tk->offs_boot))); in ktime_get_boot_fast_ns()
553 return (ktime_get_mono_fast_ns() + ktime_to_ns(data_race(tk->offs_tai))); in ktime_get_tai_fast_ns()
638 snapshot->boot = snapshot->mono + ktime_to_ns(data_race(tk->offs_boot)); in ktime_get_fast_timestamps()

123