Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/kernel/rcu/
A Dtree_stall.h575 data_race(rcu_state.gp_flags), in rcu_check_gp_kthread_expired_fqs_timer()
577 data_race(READ_ONCE(gpk->__state))); in rcu_check_gp_kthread_expired_fqs_timer()
833 if (data_race(READ_ONCE(rnp->qsmask))) { in rcu_check_boost_fail()
888 data_race(READ_ONCE(rcu_state.gp_state)), in show_rcu_gp_kthreads()
893 data_race(READ_ONCE(rcu_state.gp_max)), in show_rcu_gp_kthreads()
894 data_race(READ_ONCE(rcu_state.gp_flags))); in show_rcu_gp_kthreads()
897 !data_race(READ_ONCE(rnp->qsmask)) && !data_race(READ_ONCE(rnp->boost_tasks)) && in show_rcu_gp_kthreads()
898 !data_race(READ_ONCE(rnp->exp_tasks)) && !data_race(READ_ONCE(rnp->gp_tasks))) in show_rcu_gp_kthreads()
902 (long)data_race(READ_ONCE(rnp->gp_seq)), in show_rcu_gp_kthreads()
904 data_race(READ_ONCE(rnp->qsmask)), in show_rcu_gp_kthreads()
[all …]
A Dtasks.h267 …%s: Setting shift to %d and lim to %d.\n", __func__, data_race(rtp->percpu_enqueue_shift), data_ra… in cblist_init_generic()
630 if (!data_race(rcu_segcblist_empty(&rtpcp->cblist))) { in show_rcu_tasks_generic_gp_kthread()
637 tasks_gp_state_getname(rtp), data_race(rtp->gp_state), in show_rcu_tasks_generic_gp_kthread()
638 jiffies - data_race(rtp->gp_jiffies), in show_rcu_tasks_generic_gp_kthread()
639 data_race(rcu_seq_current(&rtp->tasks_gp_seq)), in show_rcu_tasks_generic_gp_kthread()
640 data_race(rtp->n_ipis_fails), data_race(rtp->n_ipis), in show_rcu_tasks_generic_gp_kthread()
641 ".k"[!!data_race(rtp->kthread_ptr)], in show_rcu_tasks_generic_gp_kthread()
1787 data_race(n_trc_holdouts), in show_rcu_tasks_trace_gp_kthread()
1788 data_race(n_heavy_reader_ofl_updates), in show_rcu_tasks_trace_gp_kthread()
1789 data_race(n_heavy_reader_updates), in show_rcu_tasks_trace_gp_kthread()
[all …]
A Dtree_exp.h650 data_race(rnp_root->expmask), in synchronize_rcu_expedited_wait()
651 ".T"[!!data_race(rnp_root->exp_tasks)]); in synchronize_rcu_expedited_wait()
661 data_race(rnp->expmask), in synchronize_rcu_expedited_wait()
662 ".T"[!!data_race(rnp->exp_tasks)]); in synchronize_rcu_expedited_wait()
A Dsrcutree.c1798 u0 = data_race(atomic_long_read(&sdp->srcu_unlock_count[!idx])); in srcu_torture_stats_print()
1799 u1 = data_race(atomic_long_read(&sdp->srcu_unlock_count[idx])); in srcu_torture_stats_print()
1807 l0 = data_race(atomic_long_read(&sdp->srcu_lock_count[!idx])); in srcu_torture_stats_print()
1808 l1 = data_race(atomic_long_read(&sdp->srcu_lock_count[idx])); in srcu_torture_stats_print()
/linux-6.3-rc2/include/linux/
A Dsrcutiny.h84 idx = ((data_race(READ_ONCE(ssp->srcu_idx)) + 1) & 0x2) >> 1; in srcu_torture_stats_print()
87 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])), in srcu_torture_stats_print()
88 data_race(READ_ONCE(ssp->srcu_lock_nesting[idx])), in srcu_torture_stats_print()
89 data_race(READ_ONCE(ssp->srcu_idx)), in srcu_torture_stats_print()
90 data_race(READ_ONCE(ssp->srcu_idx_max))); in srcu_torture_stats_print()
A Dcompiler.h196 #define data_race(expr) \ macro
A Dconsole.h257 return data_race(READ_ONCE(con->flags)); in console_srcu_read_flags()
/linux-6.3-rc2/tools/memory-model/Documentation/
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 …]
/linux-6.3-rc2/mm/
A Dfrontswap.c45 data_race(frontswap_loads++); in inc_frontswap_loads()
49 data_race(frontswap_succ_stores++); in inc_frontswap_succ_stores()
53 data_race(frontswap_failed_stores++); in inc_frontswap_failed_stores()
57 data_race(frontswap_invalidates++); in inc_frontswap_invalidates()
A Dpage_counter.c127 data_race(c->failcnt++); in page_counter_try_charge()
A Dpage_io.c382 if (data_race(sis->flags & SWP_FS_OPS)) in __swap_writepage()
521 } else if (data_race(sis->flags & SWP_FS_OPS)) { in swap_readpage()
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()
A Dvmstat.c1067 blocks = data_race(zone->free_area[order].nr_free); in fill_contig_page_info()
1470 seq_printf(m, "%6lu ", data_race(zone->free_area[order].nr_free)); in frag_show_print()
/linux-6.3-rc2/security/tomoyo/
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()
/linux-6.3-rc2/fs/btrfs/
A Dblock-rsv.h99 return data_race(rsv->full); in btrfs_block_rsv_full()
/linux-6.3-rc2/kernel/locking/
A Dosq_lock.c161 if (data_race(prev->next) == node && in osq_lock()
A Dlocktorture.c759 long max = 0, min = statp ? data_race(statp[0].n_lock_acquired) : 0; in __torture_print_stats()
764 if (data_race(statp[i].n_lock_fail)) in __torture_print_stats()
766 cur = data_race(statp[i].n_lock_acquired); in __torture_print_stats()
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dwmi.c173 if (!data_race(priv->tx.initialized)) in ath9k_wmi_event_tasklet()
/linux-6.3-rc2/kernel/irq/
A Dirqdesc.c956 return data_race(desc->tot_count); in kstat_irqs()
959 sum += data_race(*per_cpu_ptr(desc->kstat_irqs, cpu)); in kstat_irqs()
A Dproc.c493 any_count |= data_race(*per_cpu_ptr(desc->kstat_irqs, j)); in show_interrupts()
/linux-6.3-rc2/mm/kfence/
A Dcore.c1097 distance = addr - data_race(meta->addr + meta->size); in kfence_handle_page_fault()
1103 if (!to_report || distance > data_race(meta->addr) - addr) in kfence_handle_page_fault()
/linux-6.3-rc2/kernel/cgroup/
A Drstat.c42 if (data_race(cgroup_rstat_cpu(cgrp, cpu)->updated_next)) in cgroup_rstat_updated()
/linux-6.3-rc2/fs/jbd2/
A Dtransaction.c363 if (!data_race(journal->j_running_transaction)) { in start_this_handle()
1514 if (data_race(jh->b_transaction != transaction && in jbd2_journal_dirty_metadata()
1523 if (data_race(jh->b_transaction == transaction && in jbd2_journal_dirty_metadata()
/linux-6.3-rc2/kernel/time/
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()
/linux-6.3-rc2/kernel/
A Dscftorture.c160 invoked_count += data_race(per_cpu(scf_invoked_count, cpu)); in scf_torture_stats_print()

Completed in 64 milliseconds

12